summaryrefslogtreecommitdiff
path: root/1757/CH6/EX6.33/EX6_33.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1757/CH6/EX6.33/EX6_33.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1757/CH6/EX6.33/EX6_33.sce')
-rwxr-xr-x1757/CH6/EX6.33/EX6_33.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/1757/CH6/EX6.33/EX6_33.sce b/1757/CH6/EX6.33/EX6_33.sce
new file mode 100755
index 000000000..3393ca5a1
--- /dev/null
+++ b/1757/CH6/EX6.33/EX6_33.sce
@@ -0,0 +1,17 @@
+//Example6_33 // To calculate phase shift between two extremes
+clc;
+clear;
+close;
+C = 0.22*10^-6 ;
+R = 1*10^3 ;
+f = 1*10^3 ;
+
+// the cut off frequency of phase shifter
+fc = 1/(2*%pi*R*C) ;
+disp('the cut off frequency of phase shifter is = ' +string(fc)+ 'Hz');
+
+// the phase shift
+f = 1 ; // KHz
+fc = 7.23 ; // KHz
+PS = -2*atand(f/fc);
+disp('The phase shift is = '+string(PS)+ ' ');