diff options
Diffstat (limited to '42/CH4/EX4.13/sadiku_4_13.sce')
-rwxr-xr-x | 42/CH4/EX4.13/sadiku_4_13.sce | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/42/CH4/EX4.13/sadiku_4_13.sce b/42/CH4/EX4.13/sadiku_4_13.sce new file mode 100755 index 000000000..221a35756 --- /dev/null +++ b/42/CH4/EX4.13/sadiku_4_13.sce @@ -0,0 +1,6 @@ +clear;
+clc;
+p1=-5*10^-9, p2=9*10^-9;
+r1=2,r2=-3,e=10^-9/(36*%pi);
+V=(1/(4*%pi*e))*((p1*abs(r1)/r1^3)+(p2*abs(r2)/r2^3));
+disp(V);
\ No newline at end of file |