Project

To plot drag force and drag co-efficient

%a program to calculate drag force
clear all
close all
clc

% inputs
% Drag Co-Efficient
C_d=0.8

% Area m^2
A=[0.1]
% Density kg/m^3
rho=1.2

% Velocity m/s
v=[1:50]

drag_force=rho*A* v.^2*C_d*0.5
figure(1)
plot(v,drag_force),xlabel(\'Velocity\'), ylabel(\'Drag force\'), title(\'velocity v/s drag force\'),
grid on,

To plot drag force and drag co-efficient:

clear all
close all
clc
% program to plot drag force as a function of drag coeffiecient
%inputs
%drag coefficient
C_d = [ 0.5 0.2 0.6 0.8 0.4 1.1 1.15 0.04 0.09];
%frontal area m^2
A = 1
% density kg/m^3
rho = 1
% velocity m^3/s
V =60
drag_force = rho*A*V.^2*C_d*0.5
plot(C_d ,drag_force)
xlabel(\'drag coefficient\')
ylabel(\'drag force\')
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.