From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 863/CH1/EX1.1/Ex1_1.sce | 22 ++++++++++++++++++++++ 863/CH1/EX1.1/Ex1_1.txt | 22 ++++++++++++++++++++++ 863/CH1/EX1.1/Result1_1.txt | 20 ++++++++++++++++++++ 3 files changed, 64 insertions(+) create mode 100644 863/CH1/EX1.1/Ex1_1.sce create mode 100644 863/CH1/EX1.1/Ex1_1.txt create mode 100644 863/CH1/EX1.1/Result1_1.txt (limited to '863/CH1/EX1.1') 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 -- cgit