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 --- 1529/CH10/EX10.20/10_20.sce | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 1529/CH10/EX10.20/10_20.sce (limited to '1529/CH10/EX10.20') diff --git a/1529/CH10/EX10.20/10_20.sce b/1529/CH10/EX10.20/10_20.sce new file mode 100755 index 000000000..2d6ba7e95 --- /dev/null +++ b/1529/CH10/EX10.20/10_20.sce @@ -0,0 +1,14 @@ +//Chapter 10, Problem 20, figure 10.35 +clc; +//resistance of coil +R1=400; +R2=400; +R3=5000; +//value of capacitance +C=7.5e-6; +//calculating the value of inductance +L=R1*R2*C; +//calculating the value unknown resistance +r=(R1*R2)/R3; +printf("Inductance = %f H\n\n\n",L); +printf("Resistance = %d ohm",r); -- cgit