summaryrefslogtreecommitdiff
path: root/2681/CH8/EX8.8/Ex8_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '2681/CH8/EX8.8/Ex8_8.sce')
-rwxr-xr-x2681/CH8/EX8.8/Ex8_8.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/2681/CH8/EX8.8/Ex8_8.sce b/2681/CH8/EX8.8/Ex8_8.sce
new file mode 100755
index 000000000..0c4ae3254
--- /dev/null
+++ b/2681/CH8/EX8.8/Ex8_8.sce
@@ -0,0 +1,16 @@
+//mouth diameter and the beamwidth of antenna
+//given
+clc
+Da=0.15//metre
+f=4d+9//hertz
+gp=500//
+v=3d+8//m/s
+lemda=v/f//metre
+Da=lemda*sqrt(gp/6.4)//diameter
+NNBW=140*(lemda/Da)//degree
+HPBW=70*(lemda/Da)//degree
+Da=round(Da*1000)/1000///rounding off decimals
+HPBW=round(HPBW*100)/100///rounding off decimals
+NNBW=round(NNBW*100)/100///rounding off decimals
+disp(NNBW,HPBW,Da,'the mouth diameter and the beamwidth of antenna in metre and degrees')//metre,degree
+