summaryrefslogtreecommitdiff
path: root/863/CH1/EX1.2/Ex1_2.txt
diff options
context:
space:
mode:
Diffstat (limited to '863/CH1/EX1.2/Ex1_2.txt')
-rw-r--r--863/CH1/EX1.2/Ex1_2.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/863/CH1/EX1.2/Ex1_2.txt b/863/CH1/EX1.2/Ex1_2.txt
new file mode 100644
index 000000000..63aade3d0
--- /dev/null
+++ b/863/CH1/EX1.2/Ex1_2.txt
@@ -0,0 +1,24 @@
+//Caption:Determine (a)Pulse amplitude,tilt,rise time,fall time,PW,PRF,mark to space ratio,and duty cycle (b)tilt
+//Ex1.2
+clc;
+clear;
+close;
+vs=100//Vertical scale(in mv/divisions)
+hs=100//Horizontal scale(in micro sec/division)
+e1=380//first peak of waveform(in mv)
+e2=350//second peak of waveform(in mv)
+E=(e1+e2)/2
+t=(e1-e2)*100/E
+tr=0.3*hs
+tf=0.4*hs
+T=5*hs
+prf=10^6/T
+pw=2.2*hs
+sw=2.8*hs
+ms=pw/sw
+dc=(pw*100)/T
+disp(dc,ms,pw,prf,tf,tr,t,E,'(a)Pulse Amplitude(in mv),tilt(in %),rise time(in micro sec),fall time(in micro sec),PW(in micro sec),PRF(in pps),M/s ratio,Duty cycle(in %)=')
+eb=0.5*vs
+ee=2.25*vs
+tb=eb*100/ee
+disp(tb,'(b)Tilt(in %)=') \ No newline at end of file