%Inputs gamma = 1.4 %state variables p1= 101325 t1 = 500 t3 = 2300 % Engine geometric parameters bore = 01.; stroke = 0.1 ; cond_rod = 0.15 ; cr = 12; %Calculating the swept volume and the clearance volume v_swept = (pi/4)*bore^2*stroke; v Read more

#### Projects by ankur sonowal

###
Air Cycle

ankur sonowal
·
2018-08-21 08:55:32

###
Flow over Biycycle

ankur sonowal
·
2018-08-19 07:20:10

#Flow over bicycle %Inputs %Drag coefficient c_d=0.8 %Area m^2 A = 0.1 %Density kg/m^3 rho=1.2 %Velocity v=[1:50] drag_force = rho*A*v.^2*c_d*0.5 plot(v, drag_force) xlabel(velcoity) ylabel(Dragforce) grid on Read more

###
Forward kinematics of a 2R robotic arm

ankur sonowal
·
2018-07-28 16:12:42

l1=1; l2=0.5; theta1 = linspace(0,90,40); theta2 = linspace(0,90,40); for i = 1:length(theta1) THETA1 = theta1(i); for j = 1:length(theta2) THETA2 = theta2(j); x0 = 0; y0 = 0; x1 = l1*cosd(THETA1); y1 = l1*sind(THETA1); x2 Read more

###
Row and Coloumn Vector in MATLAB

ankur sonowal
·
2018-07-06 16:19:48

A = linspace(3,5,6) size(A) Read more