summaryrefslogtreecommitdiff
path: root/3769/CH25/EX25.30/Ex25_30.sce
blob: 68d72d384aca7c5184b1cf14bdf39b1bc397c717 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clear
//Given
m=6.023*10**26
a=235.0
t=30                          //Days
E=200*10**6*1.6*10**-19

//Calculation
N=(2/a)*m
A=N/(t*24*60.0*60.0)
P=E*A

//Result
printf("\n Power output is %0.1f  Mev",P*10**-6)