Project

Drag Force

%drag force
clear all
close all
clc
%inputs
%drag force and drag coefficient
rho=1.5;
v=30;
a=0.3;
c_d=(0.1:0.2:0.3);
%calculation
F_D=c_d*a*rho*0.5*v.^2;
%plotting
plot(c_d,F_D);
xlabel('drag coefficient');
ylabel('dragforce');
grid;
%drag force
clear all
close all
clc
%inputs
%drag force and velocity
rho=1.5;
v=[1:50];
a=0.3;
c_d=0.1;
%calculation
F_D=c_d*a*rho*0.5*v.^2;
%plotting
plot(v,F_D);
xlabel('velocity');
ylabel('dragforce');
grid;
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.