blob: 48ed2268c7277a8a71ae6d90095ff8db90b48611 (
plain)
1
2
3
4
5
6
7
8
9
10
|
//Example_a_7_11 page no:278
clc;
Zab=((%i*3)*(%i*-2))/((%i*3)-(%i*2));
In=((10/3*%i)+(5*%i/-2*%i));
Il=-(In*Zab)/(5-6*%i);
Ilmag=sqrt(real(Il)^2+imag(Il)^2);
Ilang=atand(imag(Il)/real(Il));
Ilang=Ilang-180;//converting the angle to negative hence value does not change
disp(Ilmag,"the magnitude of load current is (in A)");
disp(Ilang,"the angle of load current is (in degree)");
|