Westonci.ca connects you with experts who provide insightful answers to your questions. Join us today and start learning! Ask your questions and receive precise answers from experienced professionals across different disciplines. Join our platform to connect with experts ready to provide precise answers to your questions in different areas.

You are driving your race car on a straight and level track at a steady speed of 5 m/s. As you cross the starting line at x = 0 you floor it. A constant force F is applied to the car (by the wheels) and you accelerate to a constant terminal or final velocity VTerm. During this motion, the car is subjected only to the engine force and the drag force from the air flowing past the car. where: FD The drag coefficient for this car is defined as Cp= pV2A/2 Fis the drag force on the car p is the air density V is the speed of the car ⢠A is the frontal area of the car . The motion of this car is governed by Newton's second law F = ma, where m is the mass of the car and a is its acceleration in the x- direction. In this problem, you can assume that Cp is constant. Applying Newton's second law with the two applied forces - the constant wheel force F and the opposing drag force Fp - results in the equation F â Fp = ma, which governs the car's motion. As the velocity increases, the drag force on the car increases, and the velocity eventually approaches a maximum value called the terminal velocity, Vterm- Write a script to compute the following variables: VTerm = terminal velocity . tTerm = time when velocity first exceeds 99% of VTerm ⢠XTerm = x-position when velocity first exceeds 99% of VTerm Follow the steps below to compute these values. The parameters F,m, A, p, and Cp have already been defined for you in the solution template. 1. Use the physical parameters to compute the terminal velocity of the car using the formula above and store the result in the variable VTerm. Note that the car's acceleration is zero when it reaches the terminal velocity. 2. Use ode45 to compute the position and velocity of the car from t = 0, when the car crosses the starting line, until t = 100, when the velocity should approximately equal the terminal velocity. Create a vector t which goes from 0 to 100 with step=1. 3. Determine the time, tTerm, and the corresponding position, xTerm, when the car first exceeds 99% of the terminal velocity. Suggestion: code has been provided in the solution template to print your results. You can remove the comment (%) in case you want to re- use the code. Suggestion: code has been provided in the solution template to print your results. 1 % Define the problem parameters. 2 F = 4000.0; % force on car, [N] 3 m = 1300.0; % mass of car, [kg] 4 A = 3.0; % frontal area, [m^2] 5 Cd = 0.6; % drag coefficient, [-] 6 rho = 1.23; % air density, [kg/m^3]

Sagot :