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/CH4/EX4.6/6.sce | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 896/CH4/EX4.6/6.sce (limited to '896/CH4/EX4.6/6.sce') diff --git a/896/CH4/EX4.6/6.sce b/896/CH4/EX4.6/6.sce new file mode 100755 index 000000000..6b1af4478 --- /dev/null +++ b/896/CH4/EX4.6/6.sce @@ -0,0 +1,12 @@ +clc +//Example 4.6 +//calculate the mass consumed in a nuclear reactor per unit time +//let D=d/dt +DQ=-13*10^8;//J/s +DW=7*10^8;//J/s +//Dm=(DQ-DW)/c^2 where c is velocity of light sice E=mc^2 +c=3*10^8;//m/s +c1=3;//velocity of light without power +pow=8//power of 10 in speed of light +Dm=(DW-DQ)/c/c1//kg/s +printf("the mass consumed in a nuclear reactor per unit time is %f * 10^(-%d) kg/s",Dm,pow); \ No newline at end of file -- cgit