summaryrefslogtreecommitdiff
path: root/2075/CH3/EX3.10/pe3_10.sce
blob: 1270de14a592530606318d92e04ab56af142330c (plain)
1
2
3
4
5
6
7
8
9
10
//example 3.10
clc; funcprot(0);
// Initialization of Variable
V=170;
R=51;
//calculation
I=V/R;
P=(V*I)/4;
disp(P,"power delivered in Watt:")
clear()