diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /929/CH6/EX6.7.a/Example6_7_a.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '929/CH6/EX6.7.a/Example6_7_a.sce')
-rwxr-xr-x | 929/CH6/EX6.7.a/Example6_7_a.sce | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/929/CH6/EX6.7.a/Example6_7_a.sce b/929/CH6/EX6.7.a/Example6_7_a.sce new file mode 100755 index 000000000..9aef3664e --- /dev/null +++ b/929/CH6/EX6.7.a/Example6_7_a.sce @@ -0,0 +1,63 @@ +//Example 6.7(a)
+
+clear;
+
+clc;
+
+IA=19.6*10^(-6);
+
+Cc=30*10^(-12);
+
+SR=0.633*10^6;
+
+R1=3*10^3;
+
+R2=12*10^3;
+
+A0=-(R2/R1);
+
+b=R1/(R1+R2);
+
+a0=2*10^5;
+
+ft=1*10^6;
+
+ro=100;
+
+Vim=-0.5;
+
+tau=1/(2*%pi*b*ft);
+
+Vomcrit=SR*tau;
+
+Voinf=A0*Vim;
+
+V1=Voinf-Vomcrit;
+
+t=[0:2*10^(-8):7*10^(-6)];
+
+t1=V1/SR;
+
+t12=[0:2*10^(-8):tau]
+
+vo3=0;
+
+plot(t12,vo3);
+
+t11=[tau:2*10^(-8):t1+tau];
+
+vo1=SR*(t11-tau);
+
+t22=[t1+tau:2*10^(-8):7*10^(-6)];
+
+vo2=Voinf+((V1-Voinf)*exp(-(t22-t1-tau)/tau));
+
+plot(t11,vo1);
+
+plot(t22,vo2);
+
+xlabel("time(t)","fontsize", 6);
+
+ylabel("vo(t)","fontsize", 6);
+
+title("Step Response of the Circuit","fontsize", 8);
\ No newline at end of file |