summaryrefslogtreecommitdiff
path: root/1985/CH10/EX10.3/Chapter10_example3.sce
blob: 2202fcd3072f1c4507eff166642728974e03c598 (plain)
1
2
3
4
5
6
7
8
9
10
11
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)