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