summaryrefslogtreecommitdiff
path: root/3828/CH9/EX9.1/Ex9_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3828/CH9/EX9.1/Ex9_1.sce')
-rw-r--r--3828/CH9/EX9.1/Ex9_1.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3828/CH9/EX9.1/Ex9_1.sce b/3828/CH9/EX9.1/Ex9_1.sce
new file mode 100644
index 000000000..98df92303
--- /dev/null
+++ b/3828/CH9/EX9.1/Ex9_1.sce
@@ -0,0 +1,16 @@
+//Chapter 9 : Electromagnetic Theory
+
+clear;
+
+//Variable declaration
+P=60 //Power
+r=2 //distance from source
+epsilon0=8.85*10**-12
+C=3*10**2
+
+//Calculations
+E0=sqrt((P*2)/(4*%pi*r**2*C*epsilon0))/1000
+
+//Result
+mprintf("Amplitude of field E= %.0f V/m",E0)
+