summaryrefslogtreecommitdiff
path: root/1871/CH4/EX4.4/Ch04Ex4.sce
blob: 506a1b521709ebade1ea7de3545da955ba49ad23 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Scilab code Ex4.4 : Pg:140 (2008)
clc;clear;
I1 = 1.44;    // Intensity of first wave
I2 = 4.00;    // Intensity of second wave
I = 0.90;    // Intensity of resultant wave
// As I_delta = I1 + I2 + 2*sqrt(I1*I2)*cos(delta), solving for delta
delta = acosd((I-I1-I2)/(2*sqrt(I1*I2)));
printf("\nThe lowest phase difference between the waves at interfering point = %3d degree", delta);    

// Result 
// The lowest phase difference between the waves at interfering point = 161 degree