diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /863/CH1/EX1.1 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '863/CH1/EX1.1')
-rw-r--r-- | 863/CH1/EX1.1/Ex1_1.sce | 22 | ||||
-rw-r--r-- | 863/CH1/EX1.1/Ex1_1.txt | 22 | ||||
-rw-r--r-- | 863/CH1/EX1.1/Result1_1.txt | 20 |
3 files changed, 64 insertions, 0 deletions
diff --git a/863/CH1/EX1.1/Ex1_1.sce b/863/CH1/EX1.1/Ex1_1.sce new file mode 100644 index 000000000..915d232c6 --- /dev/null +++ b/863/CH1/EX1.1/Ex1_1.sce @@ -0,0 +1,22 @@ +//Caption:Find (a)Pulse amplitude (b)PRF (c)PW (d)Duty cycle and (e)M/S ratio
+//Exa:1.1
+clc;
+clear;
+close;
+v=1//Vertical scale(Volt per division)
+h=0.1//Horizontal scale(Milli sec per division)
+pv=3.5//Amplitude of pulse in divisions
+t=6//Time in divisions
+pw=2.5//Width of pulse
+P=pv*v
+disp(P,'(a)Pulse Amplitude (in volts)=')
+T=t*h
+prf=(1/T)*1000
+disp(prf,'(b)PRF(in pps)=')
+p=pw*h
+disp(p,'(c)PW (in ms)=')
+sw=pv*h
+d=(p/T)*100
+disp(d,'(d)Duty cycle(in %)=')
+m=p/sw
+disp(m,'(e)M/S ratio=')
\ No newline at end of file diff --git a/863/CH1/EX1.1/Ex1_1.txt b/863/CH1/EX1.1/Ex1_1.txt new file mode 100644 index 000000000..915d232c6 --- /dev/null +++ b/863/CH1/EX1.1/Ex1_1.txt @@ -0,0 +1,22 @@ +//Caption:Find (a)Pulse amplitude (b)PRF (c)PW (d)Duty cycle and (e)M/S ratio
+//Exa:1.1
+clc;
+clear;
+close;
+v=1//Vertical scale(Volt per division)
+h=0.1//Horizontal scale(Milli sec per division)
+pv=3.5//Amplitude of pulse in divisions
+t=6//Time in divisions
+pw=2.5//Width of pulse
+P=pv*v
+disp(P,'(a)Pulse Amplitude (in volts)=')
+T=t*h
+prf=(1/T)*1000
+disp(prf,'(b)PRF(in pps)=')
+p=pw*h
+disp(p,'(c)PW (in ms)=')
+sw=pv*h
+d=(p/T)*100
+disp(d,'(d)Duty cycle(in %)=')
+m=p/sw
+disp(m,'(e)M/S ratio=')
\ No newline at end of file diff --git a/863/CH1/EX1.1/Result1_1.txt b/863/CH1/EX1.1/Result1_1.txt new file mode 100644 index 000000000..705e7006e --- /dev/null +++ b/863/CH1/EX1.1/Result1_1.txt @@ -0,0 +1,20 @@ +(a)Pulse Amplitude (in volts)=
+
+ 3.5
+
+ (b)PRF(in pps)=
+
+ 1666.6667
+
+ (c)PW (in ms)=
+
+ 0.25
+
+ (d)Duty cycle(in %)=
+
+ 41.666667
+
+ (e)M/S ratio=
+
+ 0.7142857
+
\ No newline at end of file |