summaryrefslogtreecommitdiff
path: root/2234/CH4/EX4.10/ex4_10.sce
diff options
context:
space:
mode:
Diffstat (limited to '2234/CH4/EX4.10/ex4_10.sce')
-rwxr-xr-x2234/CH4/EX4.10/ex4_10.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/2234/CH4/EX4.10/ex4_10.sce b/2234/CH4/EX4.10/ex4_10.sce
new file mode 100755
index 000000000..dc6fb3470
--- /dev/null
+++ b/2234/CH4/EX4.10/ex4_10.sce
@@ -0,0 +1,8 @@
+clc;
+q1=(2*10^-8); //charge in coulomb
+q2=(-2*10^-8); //charge in coulomb
+q3=(3*10^-8); //charge in coulomb
+q4=(6*10^-8); //charge in coulomb
+s=1; //side in m
+V=(9*10^9)*(1/s)*(q1+q2+q3+q4); //calculating voltage
+disp(V,"Voltage in Volts = "); //displaying result \ No newline at end of file