summaryrefslogtreecommitdiff
path: root/2528/CH1/EX1.14/Ex1_14.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2528/CH1/EX1.14/Ex1_14.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 '2528/CH1/EX1.14/Ex1_14.sce')
-rwxr-xr-x2528/CH1/EX1.14/Ex1_14.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2528/CH1/EX1.14/Ex1_14.sce b/2528/CH1/EX1.14/Ex1_14.sce
new file mode 100755
index 000000000..8f89a7af7
--- /dev/null
+++ b/2528/CH1/EX1.14/Ex1_14.sce
@@ -0,0 +1,15 @@
+// Chapter 1
+//Phase response
+//page 14
+//Example no 1-14
+//Given
+clc;
+fc=120; // in Hz
+fc1=1200; // in Hz
+fc2=12; // in Hz
+w1=atan(fc/fc2);
+printf("\n W1 = %.1f degrees one decade below fc\n ",w1*180/%pi);// Result
+w2=atan(fc/fc1);
+printf("\n W2 = %.2f degrees one decade below fc\n",w2*180/%pi);// Result
+
+