calculation of drag force and plotting graphs b/w drag force and velocity
% inputs
C_d = 0.8;
rho = 1.225;
V = [1:5];
A = 2;
% drag force calculation
drag_force = C_d*0.5*rho*V.^2*A;
%ploting graph between drag force and velocity
plot(V,drag_force)
% inputs
C_d = 0.8;
rho = 1.225;
V = [1:5];
A = 2;
% drag force calculation
drag_force = C_d*0.5*rho*V.^2*A;
%ploting graph between drag force and velocity
plot(V,drag_force)