summaryrefslogtreecommitdiff
path: root/1016/CH1/EX1.1/ex1_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '1016/CH1/EX1.1/ex1_1.sce')
-rwxr-xr-x1016/CH1/EX1.1/ex1_1.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/1016/CH1/EX1.1/ex1_1.sce b/1016/CH1/EX1.1/ex1_1.sce
new file mode 100755
index 000000000..8a1de9983
--- /dev/null
+++ b/1016/CH1/EX1.1/ex1_1.sce
@@ -0,0 +1,17 @@
+clc;clear;
+//Example 1.1
+//Comparision of electrostatic force of replusion between two particles with the gravitational forces between them
+
+//given values
+q1=3.2*10^-19;
+q2=q1;//q1 and q2 are the values of charge on alpha-particle in C
+d=10^-13;//distance between two alpha-particles in m
+m1=6.68*10^-27;
+m2=m1;//m1 and m2 are masses of alpha-particles in kg
+G=6.67*10^-11;//Gravitational constant in N-(m^2)/(kg^2)
+
+//calculation
+F1=(9*10^9)*(q1*q2)/(d^2);//calculation of electrostatic force
+disp(F1,'The electrosatic force(in N) is');
+F2=G*(m1*m2)/(d^2);//calculation of electrostatic force
+disp(F2,'The gravitational force (in N) is') \ No newline at end of file