summaryrefslogtreecommitdiff
path: root/2863/CH4/EX4.11/ex4_11.sce
diff options
context:
space:
mode:
Diffstat (limited to '2863/CH4/EX4.11/ex4_11.sce')
-rwxr-xr-x2863/CH4/EX4.11/ex4_11.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/2863/CH4/EX4.11/ex4_11.sce b/2863/CH4/EX4.11/ex4_11.sce
new file mode 100755
index 000000000..28816a0df
--- /dev/null
+++ b/2863/CH4/EX4.11/ex4_11.sce
@@ -0,0 +1,10 @@
+//chapter 4
+//Hansen-Woodyard end fire array
+printf("\n");
+n=10;
+d=0.25;
+L=n*d;
+D=1.789*4*L;
+Ddb=10*log10(D);
+printf("the directivity is %g",D);
+printf("\nthe directivity in db is %gdb",Ddb);