program to calculate and plot drag force for the various values of air velocity and drag coeff for different shapes.
Objective: %program to calculate drag force on a vehicle clear all close all clc %density (kg/m^3) d=.75 %frontal area (m^2) a=.8 %air velocity (m/s^2) v=[1:0.5:5] %drag coeff (unitless) cd=[.04 .09 0.42 0.47 .5] %variation of drag force for cd=.04 (N) fd=.5*d*a*v.^2*cd(1) figure(1) plot(v,fd,'color','c') xlabel('velocity') ylabel('drag…