diff options
Diffstat (limited to '24/CH29/EX29.4')
-rwxr-xr-x | 24/CH29/EX29.4/Example29_4.sce | 17 | ||||
-rwxr-xr-x | 24/CH29/EX29.4/Example29_4_result.txt | 2 |
2 files changed, 19 insertions, 0 deletions
diff --git a/24/CH29/EX29.4/Example29_4.sce b/24/CH29/EX29.4/Example29_4.sce new file mode 100755 index 000000000..3bea29a04 --- /dev/null +++ b/24/CH29/EX29.4/Example29_4.sce @@ -0,0 +1,17 @@ +exec('degree_rad.sci', -1)
+
+//Given that
+e = 1.6*10^-19
+K = 22.5*e //in J
+B = 4.55*10^-4 //in T
+theta = dtor(65.5)
+m = 9.11*10^-31 //in kg
+
+//Sample Problem 29-4
+printf("**Sample Problem 29-4**\n")
+q = e
+v = sqrt(2*K/m)
+r = m*v*sin(theta)/(q*B)
+T = 2*%pi*r/(v*sin(theta))
+p = v*cos(theta)*T
+printf("The pitch of the electron is equal to %fm", p)
\ No newline at end of file diff --git a/24/CH29/EX29.4/Example29_4_result.txt b/24/CH29/EX29.4/Example29_4_result.txt new file mode 100755 index 000000000..4fcef24e3 --- /dev/null +++ b/24/CH29/EX29.4/Example29_4_result.txt @@ -0,0 +1,2 @@ +**Sample Problem 29-4**
+The pitch of the electron is equal to 0.091664m
\ No newline at end of file |