summaryrefslogtreecommitdiff
path: root/2681/CH8/EX8.10
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2681/CH8/EX8.10
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2681/CH8/EX8.10')
-rwxr-xr-x2681/CH8/EX8.10/Ex8_10.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2681/CH8/EX8.10/Ex8_10.sce b/2681/CH8/EX8.10/Ex8_10.sce
new file mode 100755
index 000000000..5eebf9431
--- /dev/null
+++ b/2681/CH8/EX8.10/Ex8_10.sce
@@ -0,0 +1,13 @@
+//half power radiation pattern and beamwidth between first null
+//given
+clc
+Da=5//metre
+f=10d+9//hertz
+v=3d+8//m/s
+lemda=v/f//metre
+NNBW=140*(lemda/Da)//degree
+HPBW=70*(lemda/Da)//degree
+gp=6.4*(Da/lemda)^2//gain pattern
+gp_decibles=10*log10(gp)//changing to db
+gp_decibles=round(gp_decibles*1000)/1000///rounding off decimals
+disp(NNBW,HPBW,gp_decibles,'the half power beamwidth and beamwidth between first null and the gain pattern in degrees and decibles')//degree,db