summaryrefslogtreecommitdiff
path: root/3769/CH9/EX9.7/Ex9_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH9/EX9.7/Ex9_7.sce')
-rw-r--r--3769/CH9/EX9.7/Ex9_7.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3769/CH9/EX9.7/Ex9_7.sce b/3769/CH9/EX9.7/Ex9_7.sce
new file mode 100644
index 000000000..18f0f0a8e
--- /dev/null
+++ b/3769/CH9/EX9.7/Ex9_7.sce
@@ -0,0 +1,15 @@
+clear
+//Given
+M=5*10**6 //ev
+e=1.6*10**-19
+m=1.6*10**-27
+B=1.5
+q=1.6*10**-19
+
+//Calculation
+//
+v=sqrt((2*M*e)/m)
+F=q*v*B*sin(90*3.14/180.0)
+
+//Result
+printf("\n Magnitude of the force is %0.2f *10**-12 N",F*10**12)