From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 896/CH1/EX1.1/1.sce | 13 +++++++++++++ 896/CH1/EX1.2/2.sce | 14 ++++++++++++++ 896/CH1/EX1.3/3.sce | 10 ++++++++++ 896/CH1/EX1.4/4.sce | 8 ++++++++ 896/CH1/EX1.5/5.sce | 7 +++++++ 896/CH1/EX1.6/6.sce | 9 +++++++++ 896/CH1/EX1.7/7.sce | 11 +++++++++++ 7 files changed, 72 insertions(+) create mode 100755 896/CH1/EX1.1/1.sce create mode 100755 896/CH1/EX1.2/2.sce create mode 100755 896/CH1/EX1.3/3.sce create mode 100755 896/CH1/EX1.4/4.sce create mode 100755 896/CH1/EX1.5/5.sce create mode 100755 896/CH1/EX1.6/6.sce create mode 100755 896/CH1/EX1.7/7.sce (limited to '896/CH1') diff --git a/896/CH1/EX1.1/1.sce b/896/CH1/EX1.1/1.sce new file mode 100755 index 000000000..f4b49adca --- /dev/null +++ b/896/CH1/EX1.1/1.sce @@ -0,0 +1,13 @@ +clc +//let the total mass of mud be 100lbm +m_total=100;//lbm +//70% by wt of mud is sand(SiO2)and remaining is water +m_sand=0.7*m_total;//lbm +m_water=0.3*m_total;//lbm +rho_sand=165;//lbm/ft^3 +rho_water=62.5;//lbm/ft^3 +//rho=mass/volume +rho_mud=m_total/((m_sand/rho_sand)+(m_water/rho_water)); +disp("The density of mud=") +disp(rho_mud) +disp("lbm/ft^3") \ No newline at end of file diff --git a/896/CH1/EX1.2/2.sce b/896/CH1/EX1.2/2.sce new file mode 100755 index 000000000..e1e4d95c0 --- /dev/null +++ b/896/CH1/EX1.2/2.sce @@ -0,0 +1,14 @@ +clc +//Example 1.2 +//Calculate the shear stress at the surface of the inner cylinder +D1=25.15//mm +D2=27.62//mm +dr=0.5*(D2-D1)//mm +f=10//rpm +Vo=(%pi)*D1*f/60//mm/s +//Let D denote d/dr +DV=Vo/dr//s^-1 +tow=0.005//Nm +L=92.37//mm +s=2*tow/D1^2/(%pi)/L*10^6//N/m^2 +printf("The stress at the surface of the inner cylinder is %f N/m^2",s); \ No newline at end of file diff --git a/896/CH1/EX1.3/3.sce b/896/CH1/EX1.3/3.sce new file mode 100755 index 000000000..0312b77c9 --- /dev/null +++ b/896/CH1/EX1.3/3.sce @@ -0,0 +1,10 @@ +clc +//problem on surface tension +l=0.10;//m (length of sliding part) +f=0.00589;//N (pull due to 0.6 gm of mass) +f_onefilm=f/2;//N +//surface tension=(force for one film)/(length) +sigma=f_onefilm/l; +disp("The surface tension of fluid is") +disp(sigma) +disp("N/m") \ No newline at end of file diff --git a/896/CH1/EX1.4/4.sce b/896/CH1/EX1.4/4.sce new file mode 100755 index 000000000..666c9ba51 --- /dev/null +++ b/896/CH1/EX1.4/4.sce @@ -0,0 +1,8 @@ +clc +//Example 1.4 +//Convert 327 miles/hr into ft/s +V=327//miles/hr +//1 mile = 5280 ft +//1 hour = 3600 sec +V1=V*(5280/3600)//ft/s +printf("327 miles/hr = %f ft/s",V1); \ No newline at end of file diff --git a/896/CH1/EX1.5/5.sce b/896/CH1/EX1.5/5.sce new file mode 100755 index 000000000..f6fb9e95a --- /dev/null +++ b/896/CH1/EX1.5/5.sce @@ -0,0 +1,7 @@ +clc +//Example 1,5 +//Convert 2.6 hours into seconds +t=2.6//hr +//1 hr = 3600 s +t1=2.6*3600//s +printf("2.6 hours = %f seconds",t1); \ No newline at end of file diff --git a/896/CH1/EX1.6/6.sce b/896/CH1/EX1.6/6.sce new file mode 100755 index 000000000..dedc99b68 --- /dev/null +++ b/896/CH1/EX1.6/6.sce @@ -0,0 +1,9 @@ +clc +//Example 1.6 +//Calculate the acceleration in ft/min^2 +m=10//lbm +F=3.5//lbf +//1 lbf.s^2 = 32.2 lbm.ft +//1 min = 60 sec +a=(F/m)*32.2*60^2//ft/min^2 +printf("The acceleration provided is %f ft/min^2",a); \ No newline at end of file diff --git a/896/CH1/EX1.7/7.sce b/896/CH1/EX1.7/7.sce new file mode 100755 index 000000000..b7d15a99c --- /dev/null +++ b/896/CH1/EX1.7/7.sce @@ -0,0 +1,11 @@ +clc +//Example 1.7 +//Calculate the wt of metallic aluminium deposited in an electrolytic cell +I=50000//Ampere or Coulumbs/sec +//1 hr = 3600 sec +I1=50000*3600//C/hr +//96500 C = 1 gm.eq +//1 mole of aluminium = 3 gm.eq +//1 mole of aluminium = 27 gm +m=I1*(1/96500)*(27/3)/1000//Kg/hr +printf("the wt of metallic aluminium deposited in an electrolytic cell is %f Kg/hr",m); \ No newline at end of file -- cgit