diff options
Diffstat (limited to '1026/CH10/EX10.2/Example10_2.sce')
-rwxr-xr-x | 1026/CH10/EX10.2/Example10_2.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/1026/CH10/EX10.2/Example10_2.sce b/1026/CH10/EX10.2/Example10_2.sce new file mode 100755 index 000000000..6260afb1a --- /dev/null +++ b/1026/CH10/EX10.2/Example10_2.sce @@ -0,0 +1,23 @@ +//chapter10,Example10_2,pg 271
+
+R=0.35
+
+n=1.38*10^7
+
+m=1.67*10^-27
+
+q=1.6*10^-19
+
+B=(2*%pi*n*m)/q
+
+E=((B^2)*(q^2)*(R^2))/(2*m)
+
+E=E/q
+
+printf("magnetic field induction\n")
+
+printf("B=%.2f wb/m2",B)
+
+printf("\nmaximum energy of proton\n")
+
+printf("E=%.2f ev",E)
\ No newline at end of file |