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/CH4/EX4.2/pe4_2.sce | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 2075/CH4/EX4.2/pe4_2.sce (limited to '2075/CH4/EX4.2/pe4_2.sce') diff --git a/2075/CH4/EX4.2/pe4_2.sce b/2075/CH4/EX4.2/pe4_2.sce new file mode 100755 index 000000000..367d43adc --- /dev/null +++ b/2075/CH4/EX4.2/pe4_2.sce @@ -0,0 +1,20 @@ +//example 4.2 +clc; funcprot(0); +// Initialization of Variable +Vi=300; +P=35; +R=8; +pi=3.1428; +S=10000; +fh=20; +//calculation +Vl=(P*R)^.5; +Vp=Vl*2^.5; +Il=Vl/R; +f=S/(2*pi*Vp); +disp(f,"frequency of OPA548 in KHz") +Ao=Vl/Vi; +G=Ao*fh; +disp(G,"slew rate of OPA548 in Mhz") +printf('the OPA548 can be used') +clear() -- cgit