diff options
Diffstat (limited to '1985/CH10/EX10.3')
-rwxr-xr-x | 1985/CH10/EX10.3/Chapter10_example3.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1985/CH10/EX10.3/Chapter10_example3.sce b/1985/CH10/EX10.3/Chapter10_example3.sce new file mode 100755 index 000000000..2202fcd30 --- /dev/null +++ b/1985/CH10/EX10.3/Chapter10_example3.sce @@ -0,0 +1,12 @@ +clc
+clear
+//Input data
+Ef=200//Energy released per fission in MeV
+Er=32*10^6//Energy produced by the reactor in W
+e=1.6*10^-19//Charge of electron in Coulumb
+
+//Calculations
+n=(Er/(Ef*10^6*e))/10^18//Number of U235 nuclei needed to produce an energy of 32*10^6 J/s *10^18
+
+//Output
+printf('%3.0f*10^18 U235 nuclei are needed to produce an energy of 32*10^6 J/s',n)
|