summaryrefslogtreecommitdiff
path: root/2231/CH2/EX2.9/Ex_2_9.sce
blob: e61a751c3cdc68bdc50ac1d591e9a57cad93d22f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//Example 2_9
clc;
clear;close;

//Given data: 
V=230;//V
f=50;//Hz
R=5;//ohm
L=8*10^-3;//H
E=50;//V
alfa=40;//degree

//Solution :
//Vdc=2*sqrt(2)*V*cosd(alfa)/%pi=E+Io*R
Io=(2*sqrt(2)*V*cosd(alfa)/%pi-E)/R;//A
disp(Io,"Average value of load current in A");