Project

Week 1 - Flow over Bicycle

%Program to calculate the drag force of the bicyclist
close all
clear all
clc

%Inputs
%Drag coefficient

c_d = linspace(0,5,50);

%Area m^2
A = 10.0;

%Density kg/m^3
rho = 1.105;

%Velocity
v = 1:50;

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

figure(1)
plot(v, d_f)
xlabel('Velocity')
ylabel('Drag Force')
grid on

figure(2)
plot(c_d, d_f)
xlabel('coefficent of drag force')
ylabel('Drag Force')
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.