diff options
Diffstat (limited to '746/CH1')
-rwxr-xr-x | 746/CH1/EX1.01/1_01.sce | 7 | ||||
-rwxr-xr-x | 746/CH1/EX1.02/1_02.sce | 13 |
2 files changed, 20 insertions, 0 deletions
diff --git a/746/CH1/EX1.01/1_01.sce b/746/CH1/EX1.01/1_01.sce new file mode 100755 index 000000000..576606142 --- /dev/null +++ b/746/CH1/EX1.01/1_01.sce @@ -0,0 +1,7 @@ +//Heat addition//
+filename=pathname+filesep()+'1.01-data.sci'
+exec(filename)
+//Heat added during the process(in kJ):
+Q12=m*cp*(T2-T1)
+printf("\n\nRESULTS\n\n")
+printf("\n\nHeat added during the process: %f kJ\n\n",Q12/1000)
diff --git a/746/CH1/EX1.02/1_02.sce b/746/CH1/EX1.02/1_02.sce new file mode 100755 index 000000000..5a88f0378 --- /dev/null +++ b/746/CH1/EX1.02/1_02.sce @@ -0,0 +1,13 @@ +//speed and actual speed//
+pathname=get_absolute_file_path('1.02.sce')
+filename=pathname+filesep()+'1.02-data.sci'
+exec(filename)
+//Speed at which the ball hits the ground(in m/sec):
+V=sqrt(m*g/k*(1-%e^(2*k/m*(-y0))))
+//Terminal speed(in m/sec):
+Vt=sqrt(m*g/k)
+//Ratio of actual speed to the terminal speed:
+r=V/Vt;
+printf("\n\nRESULTS\n\n")
+printf("\n\nSpeed at which the ball hits he ground: %f m/sec\n\n",V)
+printf("\n\nRatio of actual speed to the terminal speed: %f\n\n",r)
|