diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3802/CH4/EX4.16 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3802/CH4/EX4.16')
-rw-r--r-- | 3802/CH4/EX4.16/Ex4_16.jpg | bin | 0 -> 15613 bytes | |||
-rw-r--r-- | 3802/CH4/EX4.16/Ex4_16.sce | 21 |
2 files changed, 21 insertions, 0 deletions
diff --git a/3802/CH4/EX4.16/Ex4_16.jpg b/3802/CH4/EX4.16/Ex4_16.jpg Binary files differnew file mode 100644 index 000000000..b3fc3652f --- /dev/null +++ b/3802/CH4/EX4.16/Ex4_16.jpg diff --git a/3802/CH4/EX4.16/Ex4_16.sce b/3802/CH4/EX4.16/Ex4_16.sce new file mode 100644 index 000000000..cbcb797ed --- /dev/null +++ b/3802/CH4/EX4.16/Ex4_16.sce @@ -0,0 +1,21 @@ +//Book Name:Fundamentals of Electrical Engineering
+//Author:Rajendra Prasad
+//Publisher: PHI Learning Private Limited
+//Edition:Third ,2014
+
+//Ex4_16.sce.
+
+clc;
+clear;
+q1=-2e-9;
+q2=3e-9;
+q3=2e-9;
+q4=1e-9;
+AB=1; //Given square side as 1 metre
+BC=1;
+epsilon_not=8.854e-12;
+AP=sqrt(AB^2+BC^2)/2; //formula derived from the figure
+Vp=(1/(4*%pi*epsilon_not*AP))*(q1+q2+q3+q4);
+printf("\n Potential at the centre of the square=%2.2f volt",Vp)
+
+//Answer vary due to roundoff error
|