Question: In JAVA please: The drag force on a car is given by FD = 1/2 pv^2 ACD where is the density of air (1.23 kg
In JAVA please: The drag force on a car is given by FD = 1/2 pv^2 ACD where is the density of air (1.23 kg m3), v is the velocity in units of m s, A is the projected area of the car (2.5 m2 ), and CD is the drag coefficient (0.2). The amount of power in watts required to overcome such drag force is P = FDv, and the equivalent horsepower required is Hp = P 746. Write a program that accepts a cars velocity and computes the power in watts and in horsepower needed to over- come the resulting drag force. Note: 1 mph = 0.447 m s.
Science P5s.33 The drag force on a car is given by where p is the density of air (1.23 kg/m),vis the velocity in units of m/s, A is the projected area of the car (2.5 m2), and Cp is the drag coefficient (0.2). The amount of power in watts required to overcome such drag force is P F, and the equivalent horsepower required is Hp-P/746. Write a program that accepts a can vedecisy drd compower i wats and in horsepower needed to over- come the resulting drag force. Note: 1 mph 0.447 m/s
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
