From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2075/CH1/EX1.11/pe1_11.sce | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 2075/CH1/EX1.11/pe1_11.sce (limited to '2075/CH1/EX1.11/pe1_11.sce') diff --git a/2075/CH1/EX1.11/pe1_11.sce b/2075/CH1/EX1.11/pe1_11.sce new file mode 100755 index 000000000..5ed79f285 --- /dev/null +++ b/2075/CH1/EX1.11/pe1_11.sce @@ -0,0 +1,18 @@ +//exapple 1.11 +clc; funcprot(0); +// Initialization of Variable +Vin=4.5; +R1=1100; +R2=10000; +G1=3.4//gain 1 +G2=120//gain 2 +//calculation +Ir=Vin/R1; +disp(Ir*1000,"output current in mA:") +Vo=Ir*(R1+R2); +disp(Vo,"output voltage in V:") +Vuo1=Vo/G1; +disp(Vuo1,"gain output voltage 1 in V:") +Vuo2=Vo/G2; +disp(Vuo2,"gain output voltage 2 in V:") +clear() -- cgit