Project

flow over bicycle

introduction:

this projects compute the drag force action on a cycle and its relation with velocity and drag coefficient

%drag force vs velocity
clear all 
close all
clc
%drag forcce on a cyclist
%inputs
rho=1.2754;%density kg/m^3
a=0.2;%frontal area m^2
v=[1:85];% velocity m/s
cd=0.5;% coeff of drag
drag_force=0.5*rho*a*v.^2*cd;
plot(v,drag_force,'color','r')
ylabel('drag_force')
xlabel('velocity')


%drag force vs drag coefficient
%drag forcce on a cyclist
clear all 
close all
clc
%inputs
rho=1.2754;%density kg/m^3
a=0.2;%frontal area m^2
v=85;% velocity km/hr
cd=linspace(0.045,1.25,10);% coeff of drag
drag_force=0.5*rho*a*v^2.*cd
plot(cd,drag_force,'color','r')
ylabel('drag_force')
xlabel('drag_coeff')

this is the output for the velocity vs drag force

plot .where velocity is an array and cd is an constant

this is the output for the dragcoeff vs drag force plot .for different values of dragcoff the corresponding values of drag force are plotted

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.