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 --- 135/CH12/EX12.1/EX1.sce | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 135/CH12/EX12.1/EX1.sce (limited to '135/CH12/EX12.1/EX1.sce') diff --git a/135/CH12/EX12.1/EX1.sce b/135/CH12/EX12.1/EX1.sce new file mode 100755 index 000000000..51ce94512 --- /dev/null +++ b/135/CH12/EX12.1/EX1.sce @@ -0,0 +1,23 @@ +// Example 12.1: (a) RD +// (b) Product RC +// (c) Reasonable value of R and C +clc, clear +fo=8e3; // in hertz +mu=59; +rd=10; // in kilo-ohms + +disp("Part (a)"); +RD=29*rd/(mu-29); // in kilo-ohms +disp(RD,"RD (kΩ​) ="); + +disp("Part (b)"); +RC=1/(2*%pi*fo*sqrt(6)); // in seconds +RC=RC*1e6; // in micro-seconds +disp(RC,"Product RC (µs) ="); + +disp("Part (c)"); +R=50; // in kilo-ohms +C=RC/R; // in nano-farad +C=C*1e3; // in pico-farad +disp(R,"Reasonable value of R (kΩ​) ="); +disp(C,"Reasonable value of C (pF) ="); \ No newline at end of file -- cgit