Assignment 1 Outline

# Orgwikispacegun some small additional rocket course

This preview shows page 1. Sign up to view the full content.

This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: nits! Some conversion is required to get [m/s]. 5. Compute and print vhor, the horizontal velocity imparted by the cannon, using this solution to Equation (7): (11) = 6. Compute and print θ, the angle of inclination of the cannon, from the formula (12) = arctan 7. Compute and print t, the time spent in the cannon, from the solution to Equation (9): (13) = COMP 1012 Winter 2014 Assignment 1 Page 5 of 11 8. Compute and print a, the constant acceleration along a 2 km long cannon. From Equation (9), (14) = 9. Using the rule of thumb that a human body can tolerate 150 [m/s2] accelerations for brief periods, print out a statement, either “You can put a person in this capsule.” or “You cannot put a person in this capsule.” depending on the level of acceleration. Do not use an if statement. Sample Output: Match this as closely as possible (the Xs are hidden digits) SPACE CANNON CONSTANTS Conversion: 1 km = 1000 m Conversion: 1 day = 24 hours Conversion: 1 hour = 60 minutes Conversion: 1 minute = 60 seconds Conversion: 1 radian = 57.2XXX degrees Acceleration: human limit = 150 m/s^2 Gravitation: G = 6.6XXe- 11 Newton (m/kg)^2 Cannon: length = 2000 m Earth: radius at equator = 63XX.X km Earth: mass = 5.9XXXe+24 kg Orbit: height = 200 km Orbit: radius = 65XX.X km VELOCITY CALCULATIONS Velocity of equator: 1XXX [km/hr] 4XX [m/s] Vertical velocity: 1XXX [m/s] H...
View Full Document

## This note was uploaded on 02/07/2014 for the course COMP 1012 taught by Professor Terryandres during the Winter '14 term at Manitoba.

Ask a homework question - tutors are online