class_notes8

class_notes8 - Engineering 3 Class 8 Today example using...

This preview shows pages 1–4. Sign up to view the full content.

Engineering 3 – Class 8 Today: • example using functions • switch statement • introduction to arrays Note: Brendon’s office hours: Today from 11-12 pm, Rm. 1117

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
When visiting Canada, it is quite likely that they would like to convert the (normally cold) temperature from Celsius to Fahrenheit. Modify the program from yesterday to perform a conversion from Celsius to Fahrenheit. Temperature Conversion 32 9 5 + = C F T T
During a test flight of a new plane, the pilot has the throttle set so the engines provide 40 000 N of propulsive force. At this setting the plane has a speed of 180 m/s. The throttle is then set to 60 000N, and the plane accelerates. As it does, aerodynamic drag increases, until the plane reaches a new speed where the drag and propulsive forces are equal. The equations used to estimate velocity and acceleration from the time the throttle is changed are: 2 2 3 000062 . 0 3 ) ( 3566 . 181 75795 . 0 00488 . 0 00001 . 0 ) ( v t a t t t t v = + + = Write a program that uses these equations to find the new cruising speed of

This preview has intentionally blurred sections. Sign up to view the full version.

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

{[ snackBarMessage ]}

Page1 / 8

class_notes8 - Engineering 3 Class 8 Today example using...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online