summaryrefslogtreecommitdiff
path: root/2234/CH4/EX4.8
diff options
context:
space:
mode:
Diffstat (limited to '2234/CH4/EX4.8')
-rwxr-xr-x2234/CH4/EX4.8/ex4_8.sce6
1 files changed, 6 insertions, 0 deletions
diff --git a/2234/CH4/EX4.8/ex4_8.sce b/2234/CH4/EX4.8/ex4_8.sce
new file mode 100755
index 000000000..2058f3019
--- /dev/null
+++ b/2234/CH4/EX4.8/ex4_8.sce
@@ -0,0 +1,6 @@
+clc;
+eo=(8.854*10^-12); //constant
+E=2; //magnitude of electric field in N/C
+r=0.5; //r in m
+q=E*4*(%pi)*(eo)*(r^2); //calculating charge
+disp(q,"Charge in Coulomb = "); //displaying result \ No newline at end of file