Project

Drag force

% Calculating drag force

clear all
close all
clc

% Density of air kg/m^3
rho = 1.2

% Area m^2
area = [0.4 0.8 1.2 1.5 2]

% Velocity m/s
vel = [1:5]

% Coefficient of Drag
c_d = [1 0.2 0.7 0.3 0.9]

drag_force = rho*area.*vel.*vel.*c_d*0.5

plot(vel,drag_force)

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.