ı need write on matlab
In the following power system all values are given in per-unit. By any programming language, find the voltage of each bus and the total power loss, for tolerance ε<10-6.
a) Using Gauss-Seidel Method.
b) Using Newton-Raphson Method.
* Results of all iterations should be provided. There is no limit for reactive power of PV bus