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 --- 911/CH8/EX8.1.a/ex_8_1_a.pdf | Bin 0 -> 128613 bytes 911/CH8/EX8.1.a/ex_8_1_a.sce | 58 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 911/CH8/EX8.1.a/ex_8_1_a.pdf create mode 100644 911/CH8/EX8.1.a/ex_8_1_a.sce (limited to '911/CH8/EX8.1.a') diff --git a/911/CH8/EX8.1.a/ex_8_1_a.pdf b/911/CH8/EX8.1.a/ex_8_1_a.pdf new file mode 100644 index 000000000..aa542995f Binary files /dev/null and b/911/CH8/EX8.1.a/ex_8_1_a.pdf differ diff --git a/911/CH8/EX8.1.a/ex_8_1_a.sce b/911/CH8/EX8.1.a/ex_8_1_a.sce new file mode 100644 index 000000000..e0eecdad9 --- /dev/null +++ b/911/CH8/EX8.1.a/ex_8_1_a.sce @@ -0,0 +1,58 @@ +//example 8.1 (a)// +clear +//clears the screen// +clc +//clears the variable// +close +//R =input('Enter the value of the resistance R in Kohms : ')// +//C =input('Enter the value of the Capacitance C in micro farads : ' ) ; +sp =input ('Enter the spacing between two input pulses in microseconds: ' ); +R =14.5; +//taking give values// +C =0.01; +t= 693* R*C; +//calculting time constant// +tt=t*10; +p =1; +len =sp*60 -1; +q =1; +for j=1: len +//plotin the graphs// +lo = sp *10; +f= modulo (j,lo); +if f ==0 then +inpu (j)=1; +else +inpu (j)=0; +end +inpu (1) =1; +o(j)=2; +end +while q