summaryrefslogtreecommitdiff
path: root/2258/CH6/EX6.3/6_3.sce
blob: aa6431c7ec2fa05be5d4581a85665397f4364a66 (plain)
1
2
3
4
5
6
7
8
clc();
clear;
// To calculate the dielectric constant of the material
N=3*10^28;   //atoms per m^3
alpha_e=10^-40;   //farad m^2
epsilon_0=8.854*10^-12;    //f/m
epsilon_r=1+(N*alpha_e/epsilon_0);
printf("dielectric constant of the material is %f",epsilon_r);