summaryrefslogtreecommitdiff
path: root/2459/CH19/EX19.1/Ex19_1.sce
blob: 592a83af69f30c93548669ad8f1ca158cb4896b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
//chapter19
//example19.1
//page416

// the figure in book is for reference only as equations for Ec and Es are already explained in the theory in the book. 

printf("Ec=(Vmax+Vmin)/2 \n")
printf("Es=(Vmax-Vmin)/2 \n")
printf("But, Es=m*Ec \n")
printf("So (Vmax-Vmin)/2 = m*(Vmax+Vmin)/2 \n")
printf("thus, m = (Vmax-Vmin)/(Vmax+Vmin) \n")