summaryrefslogtreecommitdiff
path: root/2345/CH4/EX4.7/Ex4_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '2345/CH4/EX4.7/Ex4_7.sce')
-rwxr-xr-x2345/CH4/EX4.7/Ex4_7.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/2345/CH4/EX4.7/Ex4_7.sce b/2345/CH4/EX4.7/Ex4_7.sce
new file mode 100755
index 000000000..fbba474bd
--- /dev/null
+++ b/2345/CH4/EX4.7/Ex4_7.sce
@@ -0,0 +1,11 @@
+//Finding charge
+//Example 4.7(pg 114)
+clc
+clear
+//q1=q2=q
+pi=3.14;
+d=0.2;// in meters
+K=9*10^9;// here K=1/4*pi*Eo*Er constant
+F=9.81*10^-1;// in newtons or 10^-1 kgm
+q=sqrt((F*(d^2))/K)
+printf('Thus charge is %e in coulomb',q)