summaryrefslogtreecommitdiff
path: root/3769/CH6/EX6.16/Ex6_16.sce
blob: 24d7f364b355de09de2deaf0a33bba69b71a70e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clear
//Given
a=0.4
b=0.6
lab=10

//Calculation
K=a/b
Vab=K*lab

//Result
printf("\n (i) Potentila gradient along AB is %0.2f  V/m",K)
printf("\n (ii) P.D between point A and B is %0.2f  V",Vab)