Project

program to calculate the drag force of a cyclist

1.

% program to calculate the drag force of a cyclist

%input

% drag coefficient

c_d = 0.1 ;

% Area

A = 0.2;

% density

rho = 1.5;

% velocity

V = [1:25];

d_f = 0.5 * rho * V.^2 * A * c_d ;

plot (V,d_f);

xlabel(\'V\');

ylabel(\'drag\');

2.

% program to calculate the drag force of a cyclist

%input

% drag coefficient

c_d = [0.1:25] ;

% Area

A = 0.2;

% density

rho = 1.5;

% velocity

V = [50];

d_f = 0.5 * rho * V.^2 * A * c_d ;

plot (c_d,d_f);

xlabel(\'coeff-drag\');

ylabel(\'drag\');

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.