summaryrefslogtreecommitdiff
path: root/3769/CH24/EX24.3/Ex24_3.sce
blob: 45f2ea9cc88ce3d80f945248a1e4b24ccd87a24a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clear
//Given
Z=79
m=9*10**9
e=1.6*10**-19
r=4.0*10**-14

//Calculation
K=(m*2*Z*e**2)/(r*1.6*10**-13)

//Result
printf("\n Energy is %0.2f  Mev",K)