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 /2096/CH1/EX1.40/ex_1_40.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 '2096/CH1/EX1.40/ex_1_40.sce')
-rwxr-xr-x | 2096/CH1/EX1.40/ex_1_40.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/2096/CH1/EX1.40/ex_1_40.sce b/2096/CH1/EX1.40/ex_1_40.sce new file mode 100755 index 000000000..e16de9ecd --- /dev/null +++ b/2096/CH1/EX1.40/ex_1_40.sce @@ -0,0 +1,14 @@ +//Example 1.40://output amlitude,output frequency and phase lag +clc; +clear; +f=0.6;//frequency in hertz +w=2*%pi*f;//frequency in rad/s +t=1;// +I1=sin(w*t);//current +r= ((8/((%i*w)^2+(4*%i*w)+20)));//ratio of out put current to input current +rm=sqrt(0.724^2+1.885^2);//magnitude +rp=atand(1.885/0.724);//pahse lag +Mo= 1/rm;//magnitude of output +disp(w,"output frequency in rad/s") +disp(Mo,"magnitude of amplitude is") +disp(rp,"pahse lag in degree is") |