Project

Flow over a bicycle

% A program to calculate the drag force on a bicycle

Clear all

Close all

clc

%Inputs

%Drag coefficient

c_d = 0.8

%Area m^2

A = 0.2

% Density kg/m^2

rho = 1.4

%Velocity

V = [1 2 3]

drag_force = rho*A*V.^2*c_d*0.5

plot (V, drag_force)

xlabel (\'Velocity)

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.