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 --- 746/CH1/EX1.01/1_01.sce | 7 +++++++ 746/CH1/EX1.02/1_02.sce | 13 +++++++++++++ 2 files changed, 20 insertions(+) create mode 100755 746/CH1/EX1.01/1_01.sce create mode 100755 746/CH1/EX1.02/1_02.sce (limited to '746/CH1') 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) -- cgit