summaryrefslogtreecommitdiff
path: root/3769/CH6/EX6.20/Ex6_20.sce
blob: 3b6968e397d38fa2db2739f67456a3240d79a62b (plain)
1
2
3
4
5
6
7
8
9
10
11
clear
//Given
a=6
b=2

//Calculation
R1=a/((b*b)-1)
R2=b*R1

//Result
printf("\n Resistance R1 is %0.3f ohm \nR2 is %0.3f Ohm",R1,R2)