summaryrefslogtreecommitdiff
path: root/3537/CH1/EX1.26/Ex1_26.sce
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH1/EX1.26/Ex1_26.sce')
-rw-r--r--3537/CH1/EX1.26/Ex1_26.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/3537/CH1/EX1.26/Ex1_26.sce b/3537/CH1/EX1.26/Ex1_26.sce
new file mode 100644
index 000000000..267deed4c
--- /dev/null
+++ b/3537/CH1/EX1.26/Ex1_26.sce
@@ -0,0 +1,8 @@
+//Example 1_26
+clc();
+clear;
+//tofind the amplitude of the resultant wave
+pathdifference=1/4 //in terns of lamda
+phasedifference=(2*%pi)*pathdifference //In terms of lamda
+amplitude=2*cos(phasedifference/2) //in terms of a
+printf("Amplitude A=%.3f*a",amplitude)