Project

TO CALCULATE DRAG FORCE WITH RESPECT TO CHANGING VELOCITY AND DRAG COEFFICIENT AND PLOTTING THE GRAPH ACCORDINGLY

%drag force calculation

clear all

close all

clc

%input

%drag coefficient

c_d=.8

%area m^2

A=.1

%density kg/m^3

rho=1.2

%velocity

v=[1:50]

drag_force=.5*rho*A*v.^2*c_d;

plot(v,drag_force);

xlabel('velocity');

ylabel('drag_force');

grid on

%drag force calculation

clear all

close all

clc

%input

%area m^2

A=.1

%density kg/m^3

rho=1.2

%velocity m/s^2

v=25

%DRAG COEFFICIENTS FOR FLAT PLAT,prism,BULLET,SPHERE,AIRFOIL

c=[1.28,1.14,.295,.7,.045]

drag_force=.5*rho*A*c.*v^2;

plot(c,drag_force);

xlabel('drag_coefficient')

ylabel('drag_force')

grid on

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.