diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1172/CH2/EX2.9 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1172/CH2/EX2.9')
-rwxr-xr-x | 1172/CH2/EX2.9/2_9.txt | 5 | ||||
-rwxr-xr-x | 1172/CH2/EX2.9/Example2_9.sce | 11 |
2 files changed, 16 insertions, 0 deletions
diff --git a/1172/CH2/EX2.9/2_9.txt b/1172/CH2/EX2.9/2_9.txt new file mode 100755 index 000000000..cf41924cb --- /dev/null +++ b/1172/CH2/EX2.9/2_9.txt @@ -0,0 +1,5 @@ + # Problem 9 #
+ standard formula used
+ phi = sigma*A*cos(theta)/(2*epsilon_0)
+
+Flux through coil is 1.774911e+03 Nm^2/C.
diff --git a/1172/CH2/EX2.9/Example2_9.sce b/1172/CH2/EX2.9/Example2_9.sce new file mode 100755 index 000000000..e0784f89c --- /dev/null +++ b/1172/CH2/EX2.9/Example2_9.sce @@ -0,0 +1,11 @@ +clc
+// Given That
+sigma = 2e-6 // surface charge density in c/m^2 on XY plane
+theta = 60 // angle between normal and X axis on degree
+r = 10 // radius of circle in cm
+epsilon_0 = 8.85e-12 // permitivity of free space
+//Sample Problem 9 Page No. 84
+printf("\n # Problem 9 # \n ")
+printf("standard formula used \n phi = sigma*A*cos(theta)/(2*epsilon_0) \n\n")
+phi = sigma* %pi*(r*1e-2)^2 * cos (theta*%pi/180) / (2*epsilon_0) //calculation of Flux through coil
+ printf("Flux through coil is %e Nm^2/C. \n", phi)
|