diff options
Diffstat (limited to '165/CH15/EX15.9')
-rw-r--r-- | 165/CH15/EX15.9/ex15_9.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/165/CH15/EX15.9/ex15_9.sce b/165/CH15/EX15.9/ex15_9.sce new file mode 100644 index 000000000..577bbb79a --- /dev/null +++ b/165/CH15/EX15.9/ex15_9.sce @@ -0,0 +1,9 @@ +//Example 15.9
+clc;
+
+C=0.01*10^-6; //in farads
+R=15*10^3; //in ohms
+f=2500; //in Hz
+x=2*%pi*f*C*R;
+phi=2*atan(x);
+printf('\nPhase angle phi = -%d deg\n',phi*180/%pi)
\ No newline at end of file |