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 --- 1301/CH5/EX5.10/ex5_10.sce | 6 ++++++ 1301/CH5/EX5.11/ex5_11.sce | 5 +++++ 1301/CH5/EX5.12/ex5_12.sce | 5 +++++ 1301/CH5/EX5.13/ex5_13.sce | 7 +++++++ 1301/CH5/EX5.14/ex5_14.sce | 7 +++++++ 1301/CH5/EX5.15/ex5_15.sce | 5 +++++ 1301/CH5/EX5.16/ex5_16.sce | 6 ++++++ 1301/CH5/EX5.17/ex5_17.sce | 7 +++++++ 1301/CH5/EX5.18/ex5_18.sce | 13 +++++++++++++ 1301/CH5/EX5.19/ex5_19.sce | 7 +++++++ 1301/CH5/EX5.2/ex5_2.sce | 5 +++++ 1301/CH5/EX5.20/ex5_20.sce | 6 ++++++ 1301/CH5/EX5.3/ex5_3.sce | 6 ++++++ 1301/CH5/EX5.4/ex5_4.sce | 7 +++++++ 1301/CH5/EX5.5/ex5_5.sce | 5 +++++ 1301/CH5/EX5.7/ex5_7.sce | 6 ++++++ 1301/CH5/EX5.8/ex5_8.sce | 10 ++++++++++ 1301/CH5/EX5.9/ex5_9.sce | 7 +++++++ 18 files changed, 120 insertions(+) create mode 100755 1301/CH5/EX5.10/ex5_10.sce create mode 100755 1301/CH5/EX5.11/ex5_11.sce create mode 100755 1301/CH5/EX5.12/ex5_12.sce create mode 100755 1301/CH5/EX5.13/ex5_13.sce create mode 100755 1301/CH5/EX5.14/ex5_14.sce create mode 100755 1301/CH5/EX5.15/ex5_15.sce create mode 100755 1301/CH5/EX5.16/ex5_16.sce create mode 100755 1301/CH5/EX5.17/ex5_17.sce create mode 100755 1301/CH5/EX5.18/ex5_18.sce create mode 100755 1301/CH5/EX5.19/ex5_19.sce create mode 100755 1301/CH5/EX5.2/ex5_2.sce create mode 100755 1301/CH5/EX5.20/ex5_20.sce create mode 100755 1301/CH5/EX5.3/ex5_3.sce create mode 100755 1301/CH5/EX5.4/ex5_4.sce create mode 100755 1301/CH5/EX5.5/ex5_5.sce create mode 100755 1301/CH5/EX5.7/ex5_7.sce create mode 100755 1301/CH5/EX5.8/ex5_8.sce create mode 100755 1301/CH5/EX5.9/ex5_9.sce (limited to '1301/CH5') diff --git a/1301/CH5/EX5.10/ex5_10.sce b/1301/CH5/EX5.10/ex5_10.sce new file mode 100755 index 000000000..174311335 --- /dev/null +++ b/1301/CH5/EX5.10/ex5_10.sce @@ -0,0 +1,6 @@ +clc; +p=1; //power output in hp +p=1*746 //power output in Watt using 1hp = 746Watt +F=300; //Force in Newton +v=p/F; //calculating v in m/sec using P=F*v +disp(v,"Velocity in m/sec = "); //displaying velocity in m/sec \ No newline at end of file diff --git a/1301/CH5/EX5.11/ex5_11.sce b/1301/CH5/EX5.11/ex5_11.sce new file mode 100755 index 000000000..cb1c1753c --- /dev/null +++ b/1301/CH5/EX5.11/ex5_11.sce @@ -0,0 +1,5 @@ +clc; +m=1000; //mass in kg +v=20; //velocity in m/sec +KE=(m*v*v)/2; //calculating kinetic energy using KE=1/2*(m*v*v) +disp(KE,"Kinetic Energy in Joule = "); //displaying kinetic energy in Joule. \ No newline at end of file diff --git a/1301/CH5/EX5.12/ex5_12.sce b/1301/CH5/EX5.12/ex5_12.sce new file mode 100755 index 000000000..3a055ffc4 --- /dev/null +++ b/1301/CH5/EX5.12/ex5_12.sce @@ -0,0 +1,5 @@ +clc; +m=1; //mass in kg +KE=1; //Knetic Energy in Joule +v=sqrt((2*KE)/m); //calculating velocity in m/sec using KE=1/2(m*v*v) +disp(v,"Velocity in m/sec = "); //displaying velocity in m/sec \ No newline at end of file diff --git a/1301/CH5/EX5.13/ex5_13.sce b/1301/CH5/EX5.13/ex5_13.sce new file mode 100755 index 000000000..cb4d0cd8a --- /dev/null +++ b/1301/CH5/EX5.13/ex5_13.sce @@ -0,0 +1,7 @@ +clc; +v=15; //velocity in ft/sec +w=128; //weight in lb +g=32; //g in ft/sec square +m=w/g; //calculating m in slugs +KE=(1/2)*(m*v*v); //calculating KE in ft.lb +disp(KE,"Kinetic Energy in ft.lb = "); //displaying result \ No newline at end of file diff --git a/1301/CH5/EX5.14/ex5_14.sce b/1301/CH5/EX5.14/ex5_14.sce new file mode 100755 index 000000000..f2e562041 --- /dev/null +++ b/1301/CH5/EX5.14/ex5_14.sce @@ -0,0 +1,7 @@ +clc; +w=2500; //weight in lb +v=40; //velocity in mi/hr +m=w/g; //calculating mass in slugs +v=40*1.47; //converting velocity in ft/sec +KE=(1/2)*(m*v*v); //calculating Kinetic energy in ft.lb +disp(KE,"Kinetic Energy in ft.lb = "); //displaying result \ No newline at end of file diff --git a/1301/CH5/EX5.15/ex5_15.sce b/1301/CH5/EX5.15/ex5_15.sce new file mode 100755 index 000000000..c241fd5b9 --- /dev/null +++ b/1301/CH5/EX5.15/ex5_15.sce @@ -0,0 +1,5 @@ +clc; +h=7-3; //height above ground in ft +g=32; //g in ft/sec square +v=sqrt(2*g*h); //calculating velocity in ft/sec since PE=KE +disp(v,"Velocity in ft/sec = "); //displaying result \ No newline at end of file diff --git a/1301/CH5/EX5.16/ex5_16.sce b/1301/CH5/EX5.16/ex5_16.sce new file mode 100755 index 000000000..a27d1461c --- /dev/null +++ b/1301/CH5/EX5.16/ex5_16.sce @@ -0,0 +1,6 @@ +clc; +v=20; //velocity in m/sec +g=9.8; //g in m/sec square +h=200; //height in m +diff=(v*v)/(2*9.8*200); //calculating Final KE/Initial PE +disp((1-diff)*100,"Percent of initial PE lost = "); //displaying result \ No newline at end of file diff --git a/1301/CH5/EX5.17/ex5_17.sce b/1301/CH5/EX5.17/ex5_17.sce new file mode 100755 index 000000000..8a8a66bdb --- /dev/null +++ b/1301/CH5/EX5.17/ex5_17.sce @@ -0,0 +1,7 @@ +clc; +w=3; //weight in lb +v=15; //velocity in ft/sec +g=32; //g in ft/sec square +s=(1/24); //s in ft +F=(w*v*v)/(2*g*s); //calculating force exerted in lb +disp(F,"Force exerted in lb = "); //displaying result \ No newline at end of file diff --git a/1301/CH5/EX5.18/ex5_18.sce b/1301/CH5/EX5.18/ex5_18.sce new file mode 100755 index 000000000..661825706 --- /dev/null +++ b/1301/CH5/EX5.18/ex5_18.sce @@ -0,0 +1,13 @@ +clc; +g=9.8; //g in m/sec square +h=2; //height in m +F=100; //force in Newton +s=15; //s in m +v=2; //velocity in m/sec +m=30; //mass in 30 kg +W=F*s; //calculating work in Joule +delKE=(1/2)*(m*v*v); //calculating change in KE in Joule +delPE=m*g*h; //calculating change in PE in Joule +Wf=W-delKE-delPE; //calculating work in Joule +Ff=Wf/s; //calculating frictional force in Newton +disp(Ff,"Frictional Force in Newton = "); //displaying result \ No newline at end of file diff --git a/1301/CH5/EX5.19/ex5_19.sce b/1301/CH5/EX5.19/ex5_19.sce new file mode 100755 index 000000000..0261886cb --- /dev/null +++ b/1301/CH5/EX5.19/ex5_19.sce @@ -0,0 +1,7 @@ +clc; +t=1; //time in sec +m=4*10^9; //m in kg +c=3*10^8; //velocity of light in m/sec +E=m*c*c; //calculating Energy in Joule using Einstein's equation: E=m*c*c +P=E/t; //calculating Power output in Watt +disp(P,"Power Output in Watt = "); //displaying result \ No newline at end of file diff --git a/1301/CH5/EX5.2/ex5_2.sce b/1301/CH5/EX5.2/ex5_2.sce new file mode 100755 index 000000000..f03dc93df --- /dev/null +++ b/1301/CH5/EX5.2/ex5_2.sce @@ -0,0 +1,5 @@ +clc; +F=60; //force in lb +s=10; //distance inft +W=F*s; //calculating weight +disp(W,"Weight in ft.lb = "); //displaying result \ No newline at end of file diff --git a/1301/CH5/EX5.20/ex5_20.sce b/1301/CH5/EX5.20/ex5_20.sce new file mode 100755 index 000000000..691351143 --- /dev/null +++ b/1301/CH5/EX5.20/ex5_20.sce @@ -0,0 +1,6 @@ +clc; +P=10^8; //power in Watt +t=60*60*24; //t in seconds for 1 day +E=P*t; //calculating energy in Joule using E=P*t +m=E/(c*c); //calculating m in kg using Einstein's equation:E=m*c*c +disp(m,"Mass in kg = "); //displaying result \ No newline at end of file diff --git a/1301/CH5/EX5.3/ex5_3.sce b/1301/CH5/EX5.3/ex5_3.sce new file mode 100755 index 000000000..112ee0c47 --- /dev/null +++ b/1301/CH5/EX5.3/ex5_3.sce @@ -0,0 +1,6 @@ +clc; +F=2000; //force in lb +s=80; //distance inft +W=F*s; //calculating weight +disp(W,"Weight in ft.lb = "); //displaying result +disp(W,"Potential Energy in ft.lb = "); //displaying result \ No newline at end of file diff --git a/1301/CH5/EX5.4/ex5_4.sce b/1301/CH5/EX5.4/ex5_4.sce new file mode 100755 index 000000000..d33b5365c --- /dev/null +++ b/1301/CH5/EX5.4/ex5_4.sce @@ -0,0 +1,7 @@ +clc; +g=9.8; //gravitational constant in m/sec square +h=1.5; //height in m +m=2; //mass in kg +W=m*g*h; //calculating weight +disp(W,"Weight in Joule = "); //displaying result +disp(W,"Potential Energy in Joule = "); //displaying result \ No newline at end of file diff --git a/1301/CH5/EX5.5/ex5_5.sce b/1301/CH5/EX5.5/ex5_5.sce new file mode 100755 index 000000000..05c40eb3e --- /dev/null +++ b/1301/CH5/EX5.5/ex5_5.sce @@ -0,0 +1,5 @@ +clc; +g=9.8; //gravitational constant in m/sec square +m=2; //mass in kg +W=m*g; //calculating weight +disp(W,"Weight in Newton = "); //displaying result diff --git a/1301/CH5/EX5.7/ex5_7.sce b/1301/CH5/EX5.7/ex5_7.sce new file mode 100755 index 000000000..3e1a2c791 --- /dev/null +++ b/1301/CH5/EX5.7/ex5_7.sce @@ -0,0 +1,6 @@ +clc; +F=150; //F in lb +s=10; //distance in ft +t=5; //time in sec +P=(F*s)/t; //Power in ft.lb/sec +disp(P/550,"Power in hp = "); //displaying power in hp \ No newline at end of file diff --git a/1301/CH5/EX5.8/ex5_8.sce b/1301/CH5/EX5.8/ex5_8.sce new file mode 100755 index 000000000..65dae7922 --- /dev/null +++ b/1301/CH5/EX5.8/ex5_8.sce @@ -0,0 +1,10 @@ +clc; +s=80; //height in m +p=20; //power of hoist in hp +m=500; //weight in kg +g=9.8; //gravitational constant in m/sec square +e=0.8; //efficiency = 80 percent +F=m*g; //Force in Newton +P=e*p*746; //calculating power in watt +t=(F*s)/P; //calculating time required +disp(t,"Time required in sec = "); //displaying time required. \ No newline at end of file diff --git a/1301/CH5/EX5.9/ex5_9.sce b/1301/CH5/EX5.9/ex5_9.sce new file mode 100755 index 000000000..47ebe80c7 --- /dev/null +++ b/1301/CH5/EX5.9/ex5_9.sce @@ -0,0 +1,7 @@ +clc; +v=10; //velocity in min/hr +p=80; //power required in hp +v=v*1.47; //converting v to ft/sec +P=p*550; //converting P to ft.lb/sec +F=P/v; //calculating resistive force required +disp(F,"Resistive force required in lb = "); //displaying resistive force required. \ No newline at end of file -- cgit