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 --- 1871/CH7/EX7.12/Ch07Ex12.sce | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 1871/CH7/EX7.12/Ch07Ex12.sce (limited to '1871/CH7/EX7.12/Ch07Ex12.sce') diff --git a/1871/CH7/EX7.12/Ch07Ex12.sce b/1871/CH7/EX7.12/Ch07Ex12.sce new file mode 100755 index 000000000..094eef7b0 --- /dev/null +++ b/1871/CH7/EX7.12/Ch07Ex12.sce @@ -0,0 +1,11 @@ +// Scilab code Ex7.12: Pg:307 (2008) +clc;clear; +c = 3e+08; // Velocity of light, m/s +delta_m =0.1/100*1; // Mass lost in one kg of substance, kg +delta_E = delta_m*c^2; // Energy liberated by the fission of one kg of substance, joule +// Since 1kWh = 1000 watt*3600 sec = 3.6e+06 joule +delta_E = delta_m*c^2/3.6e+06; // Energy liberated by the fission of one kg of substance, kWh +printf("\nThe energy liberated by the fission of one kg of substance = %3.2e kWh", delta_E); + +// Result +// The energy liberated by the fission of one kg of substance = 2.50e+007 kWh \ No newline at end of file -- cgit