Project

Drag force acting on same frontal area for various velocity and drag coefficient respectively

This project is about to establish the relation between of both drag coefficent (Cd) and Object velocity (m/s) to the drag force.

% claculation of Drag force
clear all
close all
clc
% inputs
rho=input('Enter the density of medium in which objects is moving(rho,kg/m^3)):');
A=input('Enter the frontal area of the object(A,m^2):');
%case 1: Drag force vs velocity
Cd1=input('Drag coefficient of the object(Cd1):');
v1=0:0.1:20;
Fd1=0.5*rho*A*Cd1*v1.^2;
%case 2: Drag force vs Drag coefficient
Cd2=0.01:.1:2.05;
v2=input('Enter velocity of the object(v2,m/s):');
Fd2=0.5*rho*A*Cd2*v2.^2;
hold on;
plot(v1,0.1*Fd1,'B', 'Linewidth', 1);
plot(10*Cd2,Fd2,'g', 'Linewidth', 1);
ylabel('Drag force (Fd,N)');
legend('0.1*Object Velocity(m/s^2) @ Cd=.8','10*Drag coefficient(Cd) @ v=2');
hold off;
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.