summaryrefslogtreecommitdiff
path: root/2528/CH1/EX1.14/Ex1_14.sce
blob: 8f89a7af703c682df4281bcf6526994bd2ef1a1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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