日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

代寫INT2067、代做Python編程語言
代寫INT2067、代做Python編程語言

時間:2025-02-13  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



Assignment 1
INT2067/INT5051 Introduction to Programming and Problem Solving
2024-2025 Semester 2
Due Date: February 23, 2025 (Sunday)
1 Introduction
In this assignment, you are required to write a program that calculates different 
quantities related to a projectile motion. The calculation could be useful in simulation 
and computer games.
2 Functional Requirements (70%)
Your program should do the following:
1. [10%] Print a welcome message when the program starts.
2. [10%] Ask the following inputs from the user according to the sequence given 
below:
a) Initial speed in meter per second; and
b) Angle of projection in degree;
The above two inputs can be real numbers.
3. [10%] Calculate and print the time of flight in seconds (see Section 4).
4. [10%] Calculate and print the range of motion in meters (see Section 4).
5. [20%] Calculate the horizontal displacement 𝑥 and vertical displacement 𝑦 in 
meters for six different time points in the motion. Suppose T is the time of 
flight. The time points are 0, T/5, T/3, T/2, 3T/4, and 𝑇. The values should 
be given in a table format.
6. [10%] Round the values in the output for steps 3 and 4 to four decimal digits 
and those for step 5 to two decimal digits properly. You should also align the 
columns to left, center, and right like a table, respectively.
3 Program Design and User Interface (30%)
The following will also be considered when your assignment is graded.
• [10%] The variable names should be sensible and the code should be tidy.
• [10%] You should break down your program into code blocks with comments.
• [10%] The output should be neat and the required information should be 
shown clearly. The text in the output should be correct and contain no spelling 
mistakes.
4 Projectile Motion Calculation
Consider a projectile motion with initial speed u and angle of projection θ. Let g 
denote the standard gravity and assume g = 9.81 m/s2
.
• The time of flight 𝑇 is given by Equation (1):
𝑇 =
2 × 𝑢 × sin 𝜃
𝑔
• At time 𝑡 within the time of flight, the horizontal and vertical displacements, 
𝑥 and 𝑦, are given by Equation (2) and (3):
𝑥 = 𝑢 × 𝑡 × cos 𝜃
𝑦 = 𝑢 × 𝑡 × sin 𝜃 −
1
2
𝑔 × 𝑡
2
• The range of motion 𝑟 can be given by computing the horizontal displacement 
when time equals time of flight, that is, by setting 𝑡 = 𝑇 in Equation (2).
The above equations should allow you to compute all the required quantities in this 
assignment. However, if you want more explanation, you may refer to this page1
.
5 Hints
To compute sin θ and cos θ, you may use the Python functions math.sin and 
math.cos for trigonometric functions. However, those functions require an angle in 
radians as parameter, so you will need to use the function math.radians to convert 
an angle in degrees to one in radians.
Refer to the documentation for the Python math module2
for more information about 
the above Python math functions.
6 Submission Requirements
Your Python file should be named as assignment1.py. Submit only the Python file 
assignment1.py through Moodle. Failure to submit the file properly will result in 
a penalty of 5 to 20 marks.
1 https://www.coursehero.com/study-guides/boundless-physics/projectile-motion/
2 https://docs.python.org/3/library/math.html
See Moodle for the exact time of the deadline for submission. Late submission is 
usually not accepted. You should submit earlier to avoid possibly high traffic around 
the deadline.
7 Plagiarism Policy
The assignment should be done only by yourself. Every line of code should be written 
by you. The use of any artificial intelligence (AI) tools is NOT allowed in this 
assignment. Discussions on the assignment should be kept at a high-level only. You 
are suggested to refer your classmates to the relevant notes or lab exercises if you 
want to help them.
You need to put down a declaration for having not used AI tools as comment at the 
beginning of your program file. For example, your declaration may look like this:
# Declaration: this code is my own individual and original work without AI assistant.
If you have used AI tools or consulted the assignment with anyone, you should 
provide an acknowledgment as comment at the beginning of your program file. Give 
the names of all classmates that you have turned to. For example, your 
acknowledgement may look like:
# Acknowledgement: I have asked Thomas, Gordon, and Emily for help.
# Acknowledgement: I have used AI tools (such as ChatGPT, gpt4o via POE, etc.) in 
working on this assignment.
If plagiarism is found, both the copier and originator will get zero mark for the 
assignment. Repeat offenders may result in a deduction of the course grade.
8 Sample Input & Output
Welcome to projectile motion calculator!
Enter initial speed (m/s): 5↵
Enter angle of projection (degree): 42↵
Time of flight is 0.6821 seconds.
Range of flight is 2.5345 meters.
Time (s) x (m) y (m)
0.00 0.00 0.00
0.14 0.51 0.37
0.23 0.84 0.51
0.34 1.27 0.57
0.51 1.90 0.43
0.68 2.53 0.00

請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp




 

掃一掃在手機打開當前頁
  • 上一篇:ECM3446代做、代寫Python/C++編程
  • 下一篇:代寫GC- 4100、代做Java/c++設計程序
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    有限元分析 CAE仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
  • 短信驗證碼 豆包 幣安下載 目錄網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

      <em id="rw4ev"></em>

        <tr id="rw4ev"></tr>

        <nav id="rw4ev"></nav>
        <strike id="rw4ev"><pre id="rw4ev"></pre></strike>
        亚洲蜜桃精久久久久久久| 亚洲视频在线二区| 在线播放日韩专区| 国产一区在线观看视频| 国产精品videosex极品| 久久精品国产v日韩v亚洲| 欧美伊人久久久久久久久影院| 亚洲激情av在线| 狠狠综合久久| 亚洲一卡二卡三卡四卡五卡| 久久躁日日躁aaaaxxxx| 久久久久久高潮国产精品视| 国产精品丝袜91| 亚洲一区视频在线| 国产亚洲午夜高清国产拍精品| 亚洲午夜羞羞片| 久久国产精品免费一区| 激情综合视频| 狠狠狠色丁香婷婷综合激情| 亚洲黄色成人久久久| 1769国内精品视频在线播放| 欧美 日韩 国产在线| 午夜一区二区三区不卡视频| 国产精品久久久久久久久婷婷| 欧美日韩视频在线第一区| 久久精品电影| 国产亚洲一本大道中文在线| 蜜桃av一区| 亚洲欧美日韩一区二区三区在线观看| 欧美黄免费看| 亚洲精品偷拍| 夜夜爽夜夜爽精品视频| 欧美激情精品久久久久久蜜臀| 欧美影院精品一区| 激情成人在线视频| 久久久久久97三级| 久久资源av| 国产精品网站在线| 欧美日韩视频专区在线播放| 国内精品模特av私拍在线观看| 一区二区三区视频观看| 国产精品尤物福利片在线观看| 久久综合给合久久狠狠狠97色69| 国产日韩视频一区二区三区| 欧美日韩亚洲91| 在线观看亚洲专区| 欧美视频中文一区二区三区在线观看| 亚洲视频免费在线| 正在播放亚洲一区| 欧美成人精品福利| 欧美性事免费在线观看| 欧美色图天堂网| 一本大道久久a久久精品综合| 欧美精品在欧美一区二区少妇| 99亚洲精品| 欧美一区二区三区视频| 精品成人一区二区三区| 一本色道久久综合亚洲二区三区| 国内精品久久久久影院优| 国产精一区二区三区| 欧美顶级艳妇交换群宴| 韩国一区二区在线观看| 激情久久久久久久| 中文欧美字幕免费| 久久av一区二区三区| 亚洲欧美视频一区二区三区| 亚洲午夜视频在线观看| 国产精品久久久久久久久| 欧美日韩网址| 一本色道精品久久一区二区三区| 欧美韩国日本综合| 伊人狠狠色丁香综合尤物| 欧美日韩不卡在线| 在线一区二区日韩| 欧美黄色一级视频| 欧美午夜电影在线观看| 久久久久国产一区二区三区| 亚洲欧美激情一区二区| 在线观看欧美一区| 欧美另类69精品久久久久9999| 亚洲国产日韩欧美在线图片| 久久人人爽人人爽爽久久| 在线日本欧美| 亚洲综合999| 欧美啪啪成人vr| 国产无一区二区| 国产精品99久久久久久有的能看| 日韩午夜电影av| 久久久久天天天天| 久久久91精品| 欧美成人在线影院| 暖暖成人免费视频| 国产美女精品视频免费观看| 国产精品久久久久久久浪潮网站| 久久综合五月天婷婷伊人| 亚洲天堂av图片| 亚洲欧洲日产国产综合网| 亚洲国产高清一区| 一二三四社区欧美黄| 欧美日本国产精品| 国产精品成人v| 亚洲第一二三四五区| 久久在线免费视频| 99国产精品久久久久久久久久| 午夜精品成人在线视频| 欧美日韩一视频区二区| 久久经典综合| 国外成人在线视频| 国内不卡一区二区三区| 久久综合伊人77777尤物| 久久中文精品| 久久综合亚州| 亚洲免费视频中文字幕| 欧美成人午夜剧场免费观看| 麻豆精品一区二区综合av| 国内成人精品2018免费看| 黄色成人在线| 可以看av的网站久久看| 国产一区视频在线看| 亚洲毛片在线免费观看| 日韩网站免费观看| 亚洲系列中文字幕| 亚洲人体1000| 亚洲国产mv| 在线成人黄色| 在线国产亚洲欧美| 欧美成人国产va精品日本一级| 免费在线日韩av| 久久精品女人天堂| 亚洲国产精品电影| 新67194成人永久网站| 女生裸体视频一区二区三区| 国产视频一区欧美| 国语自产偷拍精品视频偷| 久久久国产亚洲精品| 亚洲欧美中文日韩v在线观看| 欧美不卡视频一区| 亚洲国产成人一区| 欧美—级在线免费片| 亚洲欧美在线aaa| 欧美日本在线播放| 亚洲伊人第一页| 国产精品久久久久毛片软件| 在线观看成人网| 欧美日韩一级大片网址| 亚洲视频在线免费观看| 狠狠色噜噜狠狠色综合久| 欧美日韩国产电影| 久久人人九九| 国产欧美精品一区aⅴ影院| 一区二区欧美视频| 久久精品国内一区二区三区| 蜜桃久久av| 国产在线不卡| 国产精品一区=区| 国内精品国产成人| 这里只有精品视频在线| 亚洲三级影院| 国产精品久久久久久超碰| 国产精品免费福利| 揄拍成人国产精品视频| 另类春色校园亚洲| 日韩视频精品| 亚洲欧洲精品一区二区三区波多野1战4|