Project

Drag Force against a Cyclist

a) Matlab Program to Calculate Drag force for different velocities and plot graph Dragforce vs Velocity.

% Calculate Drag force on a bicycle
clear all;
close all;
clc;

%Inputs
%Coeff. of Drag
c_d=0.75;
%Frontal Area m^2
A=1;
%Density of Medium kg/m^3
rho=1.2;
%Velocity m/s
v=[1:25];

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

plot(v,drag_force);
xlabel(\'Velocity\');
ylabel(\'DragForce\');

b) Drag Force as a function of Drag Coefficient.

From website of Drag coefficient for different shapes was documented as follows:

The Frontal Area of all the shapes was the same.

Flat Plate:1.28, Prism:1.14, Bullet:0.295, Sphere:0.7, Airfoil:0.045.

To calculate drag forces for all the shapes.Consider velocity as 10m/s.

% Calculate Drag force for different shapes
clear all;
close all;
clc;

%Inputs
%Coeff. of Drag for different shapes
c_d=[0.045 0.07 0.295 1.14 1.28];
%Frontal Area m^2
A=1;
%Density of Medium kg/m^3
rho=1.2;
%Velocity m/s
v=10;

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

plot(c_d,drag_force);
xlabel(\'DragCofficient\');
ylabel(\'DragForce\');

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.