summaryrefslogtreecommitdiff
path: root/1991/CH8/EX8.13/13.sce
blob: cddee33803fe1b1cb1bb4ff8d86af1c280c6cc8b (plain)
1
2
3
4
5
6
7
8
9
10
11
clc
clear
//input
d=6*10^-5
w=0.1
er=9.4 //relative permittivity of medium
c=1*10^-6 //capacitance
//calculation
l=c*d/(8.9*10^-12*er*w)//parallel plate capacitor formula
//output
printf("the length of wax paper is %3.3f m",l)