From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1172/CH2/EX2.9/Example2_9.sce | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 1172/CH2/EX2.9/Example2_9.sce (limited to '1172/CH2/EX2.9/Example2_9.sce') 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) -- cgit