summaryrefslogtreecommitdiff
path: root/3768/CH7/EX7.5/Ex7_5.sce
blob: dd6f1b5de7de6bc99be7a7cbadd726ec49cce176 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//Example number 7.5, Page number 147

clc;clear;
close;

//Variable declaration
A=650*10**-4;      //area(m**2)
epsilon0=8.85*10**-12;    
d=4*10**-2;     //seperation(m)
Q=2*10**-10;    //charge(C)
epsilonr=3.5;   //dielectric constant
//Calculation
C=A*epsilon0/d;    
V=Q/C;    //voltage(V)
//Result
printf("voltage is %.1f V",V)