The pressure drop of air at standard condition flowing through a steel pipe is given by: Delta p = 0.03L/d^1.24 (V/1000)^1.84 where L is the length of the pipe in m, V is the velocity of air in m/min, and d is the diameter of the pipe in mm. Determine Delta p when L = 3000 m, d = 45 mm, and V = 1600 m/min. Write MATLAB code that will convert the velocity of an aircraft specified in miles per hour, into the corresponding velocity in meters per second. The conversion factors are: one mile = 5280 feet, and one foot = 0.3048 meters. Test your code for velocity of 570 miles/hour. What is the velocity value in meters/second? Write MATLAB code that will convert the velocity of an aircraft specified in miles per hour, into the corresponding velocity in meters per second. The conversion factors are: one mile = 5280 feet, and one foot = 0.3048 meters. Test your code for velocity of 570 miles/hour. What is the velocity value in meters/second? The torque T on a block brake is given by: T = 4fF_nr sin(theta/2)/theta + sin theta where theta is the contact angle in radians, is the coefficient of friction, is the radius of the drum, and is the normal force acting on the drum. Determine T when F = 250 N, f = 0.35, r = 0.4 m, and theta = 60 degree. A rectangular plate of sides of length and is loaded with an in-plane force in a direction parallel to the side of length. If the plate is simply supported on all four edges, then the value at which the rectangular plate buckles is determined from: N_alpha = (m/alpha + alpha/m)^2 where N_cr is the non-dimensional buckling coefficient, and a = a/b. On a single plot, obtain graphs of N_cr (on y-axis) versus alpha (on x-axis), for the following two cases: Case 1: m = 0.1, Case 2: m = 0.2. Use a range of alpha from 0.1 to 3.
close all
clear all
clc
% Problem No 26: Pressure drop in steel pipes
L=3000; %length of pipe, m
V=1600; %velocity of air m/min
d=45; %pipe diameter, mm
delp=(0.03*L/d^(1.24))*((V/1000)^(1.84)) % expression of pressure drop
% Problem No 27: Velocity units Conversion
n=input(\'enter the velocity\'); % in miles per hour
a=5280; % converts 1 mile to feet
b=0.3048; %conerts 1 foot to meters
c=3600; % hours to seconds
v=n*(a*b/c); %velocity in m/s
v
% Problem No 29: Torque on Block Brake
F=250; % force in newton
f=0.35; % coefficient of friction
r=0.4; % drum radius in m
td=60; % contact angle in degrees
tr=td*(pi/180); % contact angle in radians
T=(4*f*F*r*sind(td*0.5))/(tr+sind(td)); % Expression for torque
T
% Problem No 30: Loaded rectangular plate
m1=0.1;m2=0.2;
% for case 1
alpha=0.1:0.1:3;
for i=1:length(alpha)
A=m1/alpha(i);
B=alpha(i)/m1;
Ncr1(i)=(A+B).^2;
end
plot(alpha,Ncr1)
hold on
% for case 2
for i=1:length(alpha)
A=m2/alpha(i);
B=alpha(i)/m2;
Ncr2(i)=(A+B).^2;
end
plot(alpha,Ncr2,\'r\')
xlabel(\'alpha\')
ylabel(\'N_cr\')