summaryrefslogtreecommitdiff
path: root/199/CH7/EX7.11/Example_7_11.sce
blob: 6c4a94815f3993d47e21b3cb761b1f2942bcf324 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Chapter7
// Page.No-279
// Example_7_11
// Phase angle
// Given
clear;clc;
f=1*10^3; // Input frequency in Hz
C=0.01*10^-6; 
R=15.9*10^3;
phi=-2*atand(2*%pi*f*C*R); // Phase angle
printf("\n Phase angle phi is = %.f deg \n",phi) // Result