summaryrefslogtreecommitdiff
path: root/863/CH1/EX1.1/Ex1_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '863/CH1/EX1.1/Ex1_1.sce')
-rw-r--r--863/CH1/EX1.1/Ex1_1.sce22
1 files changed, 22 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