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 --- 2360/CH6/EX6.42/ex6_42.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 2360/CH6/EX6.42/ex6_42.sce (limited to '2360/CH6/EX6.42/ex6_42.sce') diff --git a/2360/CH6/EX6.42/ex6_42.sce b/2360/CH6/EX6.42/ex6_42.sce new file mode 100755 index 000000000..318cae2ee --- /dev/null +++ b/2360/CH6/EX6.42/ex6_42.sce @@ -0,0 +1,16 @@ +// Exa 6.42 +format('v',7);clc;clear;close; +// Given data +Q = 1;// in k ohm +Q = Q * 10^3;// in ohm +S = Q;// in ohm +P = 500;// in ohm +r = 100;// in ohm +C = 0.5;// in µF +C = C * 10^-6;// in F +//Using standard condition, Rx = (R2*R3)/R4; +Rx = (P*Q)/S;// in ohm +disp(Rx,"The value of Rx in Ω is"); +//Lx = ((C*R2)/R4) * ( (R3*r) + (R4*r) + (R3*R4) ); +Lx = ((C*P)/S) * ( (Q*r) + (S*r) + (Q*S) );// in H +disp(Lx,"The value of Lx in H is"); -- cgit