summaryrefslogtreecommitdiff
path: root/1061/CH10/EX10.1/Ex10_1.sce
blob: 009b132d5de5701d438bc359787e00b55fbffb85 (plain)
1
2
3
4
5
6
7
8
9
10
11
//Ex:10.1
clc;
clear;
close;
r=30.8*10^-12;// electro optice coefficient in m/V
L=3*10^-2;// length in m
y=1.3*10^-6;// wavelength in m
n=2.1;
d=30*10^-6;// distance between the electrodes in m
V=(y*d)/((n)^3*r*L);// voltage required to have a pi radian phase change in volt
printf("The voltage required to have a pi radian phase change  =%f volt", V);