Project

Calculation of the drag force on a bicycle

% A program to calculate the drag force on a bicycle
clear all
close all
clc


% Input
% Drag Coefficient

c_d = [ 0.045 0.1 0.295 1.14 1.28 ];

% Area m^2

A = 0.2

% Density

rho = 1.2

% velocity

v = [1:5];

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

figure(1)
plot(v,drag_force)
xlabel(\'velocity\')
ylabel(\'drag_force\')
grid on

figure(2)
plot(drag_force,c_d)
xlabel(\'drag_force\')
ylabel(\'drag_coefficient\')
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.