summaryrefslogtreecommitdiff
path: root/1109/CH6/EX6.17/6_17.sce
blob: 63602f4de9ad11e09e57abfb75c81ed8384a3ddb (plain)
1
2
3
4
5
6
7
8
9
clear;
clc;
ZR=300;s=9;d=0.1
r=d/2;
Zof=276*log10(s/r);
Zoq=sqrt(ZR*Zof);
do=(s*2)/10^(Zoq/276);
printf("Diameter of wire used = %f cm",fix(do*10)/10);