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 /2582/CH3/EX3.21 | |
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 '2582/CH3/EX3.21')
-rwxr-xr-x | 2582/CH3/EX3.21/Ex3_21.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/2582/CH3/EX3.21/Ex3_21.sce b/2582/CH3/EX3.21/Ex3_21.sce new file mode 100755 index 000000000..76f51ad08 --- /dev/null +++ b/2582/CH3/EX3.21/Ex3_21.sce @@ -0,0 +1,16 @@ +//Ex 3.21
+clc;clear;close;
+format('v',6);
+omega1=0.1;//rad/s
+omega2=1;//rad/s
+omega3=10;//rad/s
+T1=1/sqrt(1+omega1^6);//Transfer function
+T2=1/sqrt(1+omega2^6);//Transfer function
+T3=1/sqrt(1+omega3^6);//Transfer function
+fi1=-atand((2*omega1-omega1^3)/real(1-2*omega1^2));//degree
+fi2=-atand((2*omega2-omega2^3)/real(1-2*omega2^2));//degree
+fi3=-atand((2*omega3-omega3^3)/real(1-2*omega3^2));//degree
+disp(fi1,T1,"Value of T & fi for 0.1 rad/s: ");
+disp(fi2-180,T2,"Value of T & fi for 1 rad/s: ");
+disp(fi3,T3,"Value of T & fi for 10 rad/s: ");
+
|