summaryrefslogtreecommitdiff
path: root/803/CH7/EX7.1/ex7_1.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /803/CH7/EX7.1/ex7_1.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '803/CH7/EX7.1/ex7_1.sce')
-rw-r--r--803/CH7/EX7.1/ex7_1.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/803/CH7/EX7.1/ex7_1.sce b/803/CH7/EX7.1/ex7_1.sce
new file mode 100644
index 000000000..8ad0e68be
--- /dev/null
+++ b/803/CH7/EX7.1/ex7_1.sce
@@ -0,0 +1,21 @@
+clc
+D1=127;................................//Array aperture
+D2=67;
+D3=335;
+f1=3*(10^6);..//frequency at 3MHz
+f2=30*(10^6);..//frequency at 30MHz
+c=3*(10^8);
+lambda1=c/f1;
+lambda2=c/f2;
+R1=2*(D1^3) ./lambda1;
+R2=2*(D2^3) ./lambda1;
+R3=2*(D3^3) ./lambda1;
+R4=2*(D1^3) ./lambda2;
+R5=2*(D2^3) ./lambda2;
+R6=2*(D3^3) ./lambda2;
+disp("m",R1,"Range at 3MHz");
+disp("m",R2,"Range at 3MHz");
+disp("m",R3,"Range at 3MHz");
+disp("m",R4,"Range at 30MHz");
+disp("m",R5,"Range at 30MHz");
+disp("m",R6,"Range at 30MHz"); \ No newline at end of file