summaryrefslogtreecommitdiff
path: root/3850/CH30/EX30.1/Ex30_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3850/CH30/EX30.1/Ex30_1.sce')
-rw-r--r--3850/CH30/EX30.1/Ex30_1.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3850/CH30/EX30.1/Ex30_1.sce b/3850/CH30/EX30.1/Ex30_1.sce
new file mode 100644
index 000000000..2fb7a05cb
--- /dev/null
+++ b/3850/CH30/EX30.1/Ex30_1.sce
@@ -0,0 +1,18 @@
+
+//To Find the Flux of Electric Field through the surface bounded by the frame
+
+//Example 30.1
+
+clear;
+
+clc;
+
+delS=0.01;//Length of Edge of the Square frame in metres
+
+E=20;//Electric Field in V/m
+
+Theta=%pi/3;//Angle between Normal and Electric Field
+
+Flux=E*delS*cos(Theta);//Electric Flux through the Surface
+
+printf("Net flux of Electric Field=%f V/m",Flux);