Physics time! Where the aircraft will be?
For our upcoming liquid galaxy project related to the space and also for the past project Airmashup we need some calculations.
Code a script that calculates the final position of an aircraft with given values of initial position (see below) inputed as parameters over a given time i.e. : For an aircraft flying at t=0 being at lat=34.8 and lon=20.1 with a heading of 30ยบ and a height of 8000 m and horizontal velocity = 300 m/s and vertical velocity = 4m/s, where will this plane be in 30 seconds?
The script should be able to read:
x coordinate (meters) y coordinate (meters) heading (degrees) height (meters) horizontal velocity (meters/second) vertical velocity (meters/second) time (seconds)
Consider the reference axis as x positive when zero degrees of heading and negative when 180, and y positive when 90 degrees of heading and negative when 270. Height axis (z) is positive from the ground up. Print as output the final values of position of x, y, and height.
OBSERVATIONS: Do not consider accelerations! PYTHON RECOMMENDED
Task delivery Publish a ZIP file with the script file in the selected task of your Google Code-in dashboard, and send it too to lgcodein@gmail.com for mentor review and approval.