summaryrefslogtreecommitdiff
path: root/273/CH15/EX15.13
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /273/CH15/EX15.13
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '273/CH15/EX15.13')
-rwxr-xr-x273/CH15/EX15.13/ex15_13.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/273/CH15/EX15.13/ex15_13.sce b/273/CH15/EX15.13/ex15_13.sce
new file mode 100755
index 000000000..7deb80020
--- /dev/null
+++ b/273/CH15/EX15.13/ex15_13.sce
@@ -0,0 +1,18 @@
+clc;clear;
+//Example 15.13
+//calculation of power output
+
+//given values
+M=235;//atomic mass of Uranium in kg
+e=5/100;//reactor efficiency
+m=25/1000;//amount of uranium consumed per day in kg
+E=200*10^6*1.6*10^-19;//energy released per fission
+t=8.64*10^4;//day in seconds
+NA=6.02*10^26;//avogadros number
+
+//calculation
+n=NA*m/M;//no of nuclei in 25g
+E1=n*E;//energy produced by n nuclei
+E2=E1*e;//energy converted to power
+P=E2/t;//power output in Watt
+disp(P/10^6,'power output in MW is'); \ No newline at end of file