99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

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

代寫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++設計程序
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務+熱設計優(yōu)化
    急尋熱仿真分析?代做熱仿真服務+熱設計優(yōu)化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發(fā)動機性能
    挖掘機濾芯提升發(fā)動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現(xiàn)代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現(xiàn)代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
    合肥機場巴士1號線
    合肥機場巴士1號線
  • 短信驗證碼 豆包 幣安下載 AI生圖 目錄網

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

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

    99爱在线视频这里只有精品_窝窝午夜看片成人精品_日韩精品久久久毛片一区二区_亚洲一区二区久久

          欧美一区二区私人影院日本 | 欧美体内谢she精2性欧美| 亚洲人成精品久久久久| 在线午夜精品自拍| 国产欧美69| 欧美日韩精品中文字幕| 蜜臀99久久精品久久久久久软件| 一本色道久久综合亚洲精品婷婷| 国内精品视频在线播放| 亚洲高清不卡av| 中文精品99久久国产香蕉| 欧美激情国产精品| 久久精品一区| 欧美专区日韩视频| 亚洲影院在线| 亚洲国产精品一区二区www| 国产精品视频不卡| 欧美日韩国产色综合一二三四 | 国产精品日本欧美一区二区三区| 久久综合精品一区| 久久久久久999| 欧美在线播放高清精品| 中文高清一区| 久久久久久穴| 国内自拍视频一区二区三区| 国产精品综合不卡av| 欧美视频精品在线观看| 欧美日韩精品一区| 国产精品99一区| 亚洲电影免费在线观看| 伊人久久大香线| 久久影视精品| 欧美日韩一二区| 亚洲一二三区在线| 亚洲欧美另类在线观看| 午夜激情一区| 久久精品人人| 欧美福利在线| 国产精品人人爽人人做我的可爱| 国产精品美女久久| 国产有码一区二区| 亚洲日本成人| 亚洲一级高清| 久久久久久网| 国产一区二区三区久久悠悠色av | 亚洲视频欧美视频| 午夜视频久久久| 国产精品国码视频| 一区免费视频| 99在线精品视频| 国产欧美综合在线| 在线激情影院一区| 影音先锋中文字幕一区| 91久久精品久久国产性色也91 | 国产亚洲精品成人av久久ww| 国产精品人人做人人爽| 欧美精品七区| 欧美怡红院视频一区二区三区| 国产精品日日做人人爱| 欧美日韩在线观看一区二区三区 | 欧美日韩一区视频| 日韩小视频在线观看专区| 一本一本大道香蕉久在线精品| 91久久精品久久国产性色也91| 9l视频自拍蝌蚪9l视频成人| 久久综合网络一区二区| 国产精品高清免费在线观看| 国内精品视频久久| 亚洲欧美久久久久一区二区三区| 欧美jizz19性欧美| 国产亚洲精品久| 久久国产欧美精品| 国产精品福利在线观看| 亚洲国产欧美一区二区三区久久| 欧美国产免费| 在线亚洲一区观看| 欧美激情一区二区三区在线视频观看 | 国产精品99久久不卡二区| 久久久久久久国产| 亚洲破处大片| 欧美成人性生活| 经典三级久久| 久久久久网址| 国产一区二区0| 欧美在线观看视频一区二区三区| 欧美三级韩国三级日本三斤| 亚洲欧美中文日韩v在线观看| 国产一区视频在线观看免费| 欧美在线看片a免费观看| 一区二区三区自拍| 欧美日韩综合不卡| 一区二区欧美日韩| 久久久久久久尹人综合网亚洲| 欧美日韩亚洲视频一区| 亚洲理伦在线| 欧美激情在线观看| 午夜亚洲福利| 国产视频一区在线| 欧美一区二区三区免费大片| 亚洲国产欧洲综合997久久| 国产精品乱码| 欧美精品一区二区三区久久久竹菊 | 亚洲素人一区二区| 欧美一区日韩一区| 99伊人成综合| 一区免费在线| 国产欧美日韩激情| 欧美亚洲成人精品| 亚洲伦理自拍| 在线精品一区| 国产日韩精品一区二区三区在线| 西瓜成人精品人成网站| 99视频在线观看一区三区| 亚洲高清在线播放| 黄色欧美日韩| 国产一区二区三区久久 | 99人久久精品视频最新地址| 欧美精品自拍偷拍动漫精品| 9人人澡人人爽人人精品| 国产真实久久| 国产精品一区2区| 久久综合久色欧美综合狠狠| 亚洲欧美日韩系列| 亚洲一区二区在| 一区二区毛片| 在线一区欧美| 在线视频日本亚洲性| 日韩视频一区二区三区| 国产精品日韩久久久| 欧美午夜不卡影院在线观看完整版免费| 欧美电影在线| 亚洲欧美日韩视频二区| 狠狠色噜噜狠狠狠狠色吗综合| 欧美乱妇高清无乱码| 欧美a级片一区| 欧美成人精品h版在线观看| 欧美成人高清| 欧美日韩成人一区二区| 欧美三级网址| 国产精品日韩在线一区| 国产精品中文在线| 韩国av一区二区| 在线观看欧美亚洲| 亚洲日本中文字幕区| 国产亚洲欧美中文| 国产自产2019最新不卡| 狠狠爱综合网| 亚洲精品视频在线播放| 亚洲精品在线视频观看| 亚洲视频在线播放| 久久成人这里只有精品| 亚洲一区二区三区精品在线 | 中文在线一区| 午夜精品福利一区二区蜜股av| 欧美影院在线| 免费在线亚洲欧美| 欧美午夜久久| 永久免费视频成人| 国产亚洲成年网址在线观看| 国产精品成人v| 国产一区二区在线观看免费| 亚洲国产日韩美| 在线一区观看| 久久深夜福利免费观看| 欧美日韩视频在线观看一区二区三区| 国产精品视频免费一区| 国产一区二区三区黄视频| 亚洲人久久久| 久久成人免费| 欧美视频一区| 在线观看亚洲精品| 亚洲永久视频| 欧美大片在线观看一区| 国产乱码精品一区二区三区av| 国产欧美日韩精品专区| 久久久www成人免费精品| 久久黄金**| 在线不卡亚洲| 亚洲美女免费精品视频在线观看| 美女爽到呻吟久久久久| 欧美亚男人的天堂| 午夜精品福利视频| 狠狠色综合播放一区二区| 欧美在线黄色| 在线观看日韩精品| 欧美日韩免费区域视频在线观看| 一区二区不卡在线视频 午夜欧美不卡在 | 美女精品在线| 国产精品国产三级国产aⅴ入口| 亚洲第一主播视频| 国产亚洲va综合人人澡精品| 男人的天堂成人在线| 国产精品一区二区三区久久| 亚洲福利精品| 久久精品首页| 国外成人免费视频| 久久国产精品99国产精| 国产精自产拍久久久久久蜜| 亚洲午夜一区二区| 欧美视频在线观看一区|