日韩精品一区二区三区高清_久久国产热这里只有精品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++設計程序
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
    合肥機場巴士2號線
    合肥機場巴士2號線
    合肥機場巴士1號線
    合肥機場巴士1號線
  • 短信驗證碼 酒店vi設計 deepseek 幣安下載 AI生圖 AI寫作 aippt AI生成PPT 阿里商辦

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

    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>
        国产精品美女久久福利网站| 欧美.com| 亚洲成人资源| 美女福利精品视频| 亚洲天堂成人在线观看| 欧美精品免费视频| 久久综合久久久久88| 久久久久国产精品人| 国产视频在线一区二区| 亚洲第一视频网站| 久久激情一区| 在线不卡中文字幕播放| 欧美中文字幕第一页| 在线一区二区日韩| 欧美日韩系列| 久久久综合视频| 欧美大片专区| 欧美精品成人91久久久久久久| 欧美美女日韩| 亚洲网站在线播放| 欧美jizz19性欧美| 欧美日韩一本到| 亚洲欧美视频在线| 国产精品私人影院| 久久久久久久久久久久久女国产乱| 欧美大胆a视频| 欧美在线观看一区| 欧美成人一二三| 国产精品久久久久一区二区三区| 午夜亚洲福利在线老司机| 在线成人激情黄色| 激情五月综合色婷婷一区二区| 欧美日韩一区二区三| 欧美三级韩国三级日本三斤| 亚洲美女淫视频| 欧美视频一区二区三区| 国产在线国偷精品产拍免费yy| 欧美女同视频| 亚洲欧洲日产国产综合网| 亚洲精品一区二区在线观看| 韩国v欧美v日本v亚洲v| 欧美成年人在线观看| 99re热这里只有精品免费视频| 亚洲午夜免费视频| 国产精品成人免费| 欧美精品在线免费播放| 国内精品久久久| 国产女主播视频一区二区| 国产精品va在线播放我和闺蜜| 日韩亚洲一区在线播放| 欧美三区在线| 久久久精品动漫| 1000部精品久久久久久久久| 亚洲国产精品久久久久秋霞影院| 亚洲国产精品成人精品| 激情五月***国产精品| 欧美一区二区三区成人| 国产一区导航| 欧美乱大交xxxxx| 亚洲毛片一区| 国产精品久久久久9999高清| 亚洲国产裸拍裸体视频在线观看乱了中文| 亚洲欧洲综合另类在线| 久久另类ts人妖一区二区| 一本色道久久88精品综合| 亚洲高清三级视频| 亚洲激情成人| 国内精品模特av私拍在线观看| 在线亚洲成人| 国产一区二区三区av电影| 国产精品综合av一区二区国产馆| 久久精品一区| 久久久久9999亚洲精品| 国产精品午夜电影| 国产亚洲精品美女| 在线精品视频在线观看高清| 国产精品无码永久免费888| 欧美v国产在线一区二区三区| 欧美视频精品在线观看| 亚洲人成亚洲人成在线观看| 国产精品另类一区| 久久深夜福利免费观看| 最新日韩在线视频| 国产一区二区三区日韩欧美| 亚洲自拍偷拍福利| 欧美成人日韩| 久久av一区二区三区| 美女露胸一区二区三区| 国产精品第13页| 欧美va天堂va视频va在线| 欧美日韩不卡视频| 欧美日韩亚洲另类| 欧美视频三区在线播放| 亚洲最快最全在线视频| 久久精品国产亚洲一区二区三区| 久久在线视频在线| 国产日韩三区| av72成人在线| 久久成人这里只有精品| 韩国一区二区三区美女美女秀| 久久精品国产免费观看| 欧美成人精品在线播放| 亚洲综合精品自拍| 午夜精品久久久久久久久久久| 国产美女精品一区二区三区| 亚洲美女一区| 欧美一区二区三区四区视频| 国产日韩欧美电影在线观看| 99pao成人国产永久免费视频| 国产一区二区在线观看免费播放| 国产综合久久久久久鬼色| 精品成人一区二区三区四区| 欧美电影在线免费观看网站| 亚洲电影免费观看高清完整版在线观看| 91久久夜色精品国产九色| 久久人人爽国产| 欧美高清视频在线观看| 欧美日韩国内| 国产精品久久久久永久免费观看| 亚洲一区二区三区激情| 亚洲国产精品嫩草影院| 午夜精品久久久久99热蜜桃导演| 免费亚洲电影在线| 亚洲精品一区二区三区av| 欧美在线精品一区| 国一区二区在线观看| 国产亚洲欧美激情| 亚洲精品综合在线| 快she精品国产999| 国产亚洲一区在线播放| 国产人成一区二区三区影院| 99香蕉国产精品偷在线观看| 久久精品国产久精国产一老狼| 久久精品欧美日韩精品| 亚洲毛片视频| 国产日韩精品视频一区| 亚洲午夜在线观看视频在线| 国产精品ⅴa在线观看h| 欧美日韩一区二区在线观看视频| 亚洲丁香婷深爱综合| 欧美激情一区二区在线| 免费在线观看日韩欧美| 亚洲毛片在线看| 欧美一级片久久久久久久| 美女主播一区| 欧美剧在线观看| 国产精品女人网站| 一区二区三区精密机械公司| 日韩亚洲精品在线| 国产精品人成在线观看免费| 麻豆成人在线播放| 国产一区91精品张津瑜| 亚洲欧美日韩精品久久久久| 亚洲人成欧美中文字幕| 国内揄拍国内精品少妇国语| 久久躁狠狠躁夜夜爽| 国产精品国产三级国产专播精品人| 国模叶桐国产精品一区| 久久久99国产精品免费| 欧美激情中文不卡| 亚洲伦理久久| 国产欧美在线观看| 欧美激情一区二区三级高清视频| 久久激情视频免费观看|