Project

Program to Calculate Drag Force

% Program to Calculate Drag Force against a Cyclist

clear all
close all
clc

% Drag=0.5*rho*v^2*A*Cd

% Density of air
rho = 1.225

%Drag Coefficient; Flat Plate=1.28,Prism=1.14,Bullet=0.295,Sphere=0.07,Airfoil=0.045
CD = linspace(0.045,1.28,10)%Lowest and Highest value of CD of Various Objects with 10 Intervals

% Frontal Area
A = 0.1

% Velocity
V = [15]; %Typical Bicycle Velocity

% Drag
Drag = 0.5*rho*V.^2*A*CD

plot(Drag, CD)
xlabel('Drag')
ylabel('CD')
title('Drag Vs CD')

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.