summaryrefslogtreecommitdiff
path: root/1616/CH3/EX3.12/ex3_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '1616/CH3/EX3.12/ex3_12.sce')
-rw-r--r--1616/CH3/EX3.12/ex3_12.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/1616/CH3/EX3.12/ex3_12.sce b/1616/CH3/EX3.12/ex3_12.sce
new file mode 100644
index 000000000..b5f7fc815
--- /dev/null
+++ b/1616/CH3/EX3.12/ex3_12.sce
@@ -0,0 +1,10 @@
+//ex3.12 find the electric field and its direction just above the surface.
+
+theta=60; //degree
+Et1=10*cosd(theta);
+En1=5*sind(theta);
+Et2=Et1;
+En2=4*En1;
+E2=sqrt(Et2^2+En2^2);
+angle=atand(En2/Et2);
+disp('the electric field is = '+string(E2)+' V/m','angle above the surface is = '+string(angle)+' degree'); \ No newline at end of file