diff options
Diffstat (limited to '24/CH29/EX29.5/Example29_5.sce')
-rwxr-xr-x | 24/CH29/EX29.5/Example29_5.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/24/CH29/EX29.5/Example29_5.sce b/24/CH29/EX29.5/Example29_5.sce new file mode 100755 index 000000000..7b4fd5524 --- /dev/null +++ b/24/CH29/EX29.5/Example29_5.sce @@ -0,0 +1,16 @@ +//Given that
+f = 12*10^6 //in Hz
+R = 53*10^-2 //in m
+q = 1.6*10^-19 //in C
+m = 3.34*10^-27 //in kg
+
+//Sample Problem 29-5a
+printf("**Sample Problem 29-5a**\n")
+B = 2*%pi*m*f/q
+printf("The magnitude of magnetic field should be %fT\n", B)
+
+//Sample Problem 29-5b
+printf("\n**Sample Problem 29-5b**\n")
+v = q*B*R/m
+K = 0.5*m*v^2
+printf("The kinetic energy of the deuteron will be %eJ", K)
\ No newline at end of file |