Drag force against a cyclist
% Drag force on a bicycle
close all
clear all
clc
% Input
% Density in kg/m^3
Rho = 1.2
% Area m^2
A = 0.1
% Velocity in m/s^2
V = [1:80];
% Drag cofficient
c=linspace(0,2.1,80);
Dragforce = 0.5*Rho*A*V.^2.*c;
figure(1)
plot(Dragforce,V);
xlabel(\'drag force\')
ylabel(\'Velocity\')
grid on
figure(2)
plot(Dragforce, c);
xlabel(\'drag force\')
ylabel(\'drag cofficient\')
grid on