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 --- 215/CH9/EX9.4/Figure9_4.jpg | Bin 0 -> 37049 bytes 215/CH9/EX9.4/ex9_4.sce | 13 +++++++++++++ 2 files changed, 13 insertions(+) create mode 100755 215/CH9/EX9.4/Figure9_4.jpg create mode 100755 215/CH9/EX9.4/ex9_4.sce (limited to '215/CH9/EX9.4') diff --git a/215/CH9/EX9.4/Figure9_4.jpg b/215/CH9/EX9.4/Figure9_4.jpg new file mode 100755 index 000000000..f4fc8beba Binary files /dev/null and b/215/CH9/EX9.4/Figure9_4.jpg differ diff --git a/215/CH9/EX9.4/ex9_4.sce b/215/CH9/EX9.4/ex9_4.sce new file mode 100755 index 000000000..7b8316a0e --- /dev/null +++ b/215/CH9/EX9.4/ex9_4.sce @@ -0,0 +1,13 @@ +clc +//Example 9.4 +//Calculate settling time +t=0:0.1:5 +ic=2*exp(-t)-4*exp(-t) +plot(t,ic) +xtitle('ic vs t','t in s','ic in A') +//Let ts be the settling time +//From the graph the maximum value is|-2|=2A +//'ts' is the time when ic has decreased to 0.02A +//On solving for 'ts' +ts=-log(0.02/4) +printf("ts=%3.2f s\n",ts) -- cgit