summaryrefslogtreecommitdiff
path: root/3369/CH12/EX12.2/Ex12_2.sce
blob: 4cc866adf9b172d3059f8068462069e888b20efb (plain)
1
2
3
4
5
6
7
8
9
10
11
//Chapter 12, Exmaple 2, page 404
//Calculate optimum value of r
clear
clc
//Based on equation 12.17
V1 = 100 // kV
V2 = 55 // kV
r = V1*sqrt(2)/V2
printf("\n Radius = %f cm ",r)

// Answers may vary due to round off error