summaryrefslogtreecommitdiff
path: root/3769/CH7/EX7.12/Ex7_12.sce
blob: 2af081e16f0e471e87510471cac7e73ade9a13f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clear
//Given
V=220                         //V
P=60.0                            //W
P1=85                            //w

//Calculation
//
R=V**2/P
V1=sqrt(P1*R)

//Result
printf("\n Maximum voltage is %0.1f  V",V1)