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 --- 46/CH12/EX12.1/Example12_1.sce | 13 +++++++++++++ 46/CH12/EX12.2/Example12_2.sce | 8 ++++++++ 2 files changed, 21 insertions(+) create mode 100755 46/CH12/EX12.1/Example12_1.sce create mode 100755 46/CH12/EX12.2/Example12_2.sce (limited to '46/CH12') diff --git a/46/CH12/EX12.1/Example12_1.sce b/46/CH12/EX12.1/Example12_1.sce new file mode 100755 index 000000000..e71b2cc9f --- /dev/null +++ b/46/CH12/EX12.1/Example12_1.sce @@ -0,0 +1,13 @@ +//Example 12.1 +clc +syms Gc G1 G2 G3 H1 H2 R U1; +G=Gc*G1*G2*G3*H1*H2; +g=Gc*G1*G2*G3/(1+G); +disp(g,'C/R=') +g1=G2*G3/(1+G); +disp(g1,'C/U1=') +g2=G3*H1*H2/(1+G); +disp(g2,'B/U2=') +C1=g*R; +C2=g1*U1; +disp(C1+C2,'C=') diff --git a/46/CH12/EX12.2/Example12_2.sce b/46/CH12/EX12.2/Example12_2.sce new file mode 100755 index 000000000..0b0f8d3ac --- /dev/null +++ b/46/CH12/EX12.2/Example12_2.sce @@ -0,0 +1,8 @@ +//Example 12.2 +clc +syms Gc1 Gc2 G1 G2 G3 H1 H2; +Ga=Gc2*G1/.H2 +Gb=G2*G3 +g=Gc1*Ga*Gb/.H1; +g=simple(g); +disp(g,'C/R=') \ No newline at end of file -- cgit