I have homework for
Programming for Engineering Applications and I need it ASAP. I will submit the exampel .
1
EGT 267 HW- 0
Name: ___________________ Score: __________________
Problem 1 (Our first lab):
Code Screenshot:
Results screenshot:
EGT267Programming for Engineering Applications Spring 2020
1
EGT 267 HW-1 (Due on February 20 in the class)
PROGRAMMIING ENGINEERING PROBLEMS
Problem 1: (Conversions) This problem involves converting a value in one unit to a value in
another unit. The program should prompt the user for a value in the specified units and then print
the converted value, along with the new units.
(1) Write a program to convert pounds to kilograms. (Recall that 1 kg = 2.205 lb). The pound
value you input/test is 159 lb.
Problem 2: (Areas and Volumes) This problem involves computing an area or a volume using
input from the user. The program should include a prompt to the user to enter the variables needed.
(1) Write a program to compute the area of a triangle with base b and height h. (Recall that
Aerea = ½* (b * h). ) The b and h values are 1.8 and 6.7 meters, respectively.
Problem 3: (Wind Tunnels) A wind tunnel is a test chamber built to generate different wind
speeds, or Mach numbers (which is the wind speed divided by the speed of sound). Accurate scale
models of aircraft can be mounted on force-measuring supports in the test chamber, and then
measurements of the forces on the model can be made at many different wind speeds and angles.
At the end of an extended wind tunnel test, many sets of data have been collected and can be used
to determine the coefficient of lift, drag, and other aerodynamic performance characteristics of the
new aircraft at its various operational speeds and positions. Data collected from a wind tunnel test
are listed in the following table:
EGT267 Programming for Engineering Applications Spring 2020
2
Assume that we would like to use linear interpolation to determine the coefficient of lift for
additional flight-path angles that are between -4 degrees and 21 degrees (Let’s estimate the
coefficient of lift @ 9 flight-path angle degrees). Write a program that allows the user to enter the
data for two points and a flight-path angle between those points. The program should then compute
the corresponding coefficient of lift.
Homework requirements:
please take two screenshots (one screen shot is for your code; the other is for the results), copy &
past them into your homework, and then submit a hard copy.