summaryrefslogtreecommitdiff
path: root/3648/CH21/EX21.1
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH21/EX21.1')
-rw-r--r--3648/CH21/EX21.1/Ex21_1.sce8
-rw-r--r--3648/CH21/EX21.1/Ex21_1.txt1
2 files changed, 9 insertions, 0 deletions
diff --git a/3648/CH21/EX21.1/Ex21_1.sce b/3648/CH21/EX21.1/Ex21_1.sce
new file mode 100644
index 000000000..333ba6609
--- /dev/null
+++ b/3648/CH21/EX21.1/Ex21_1.sce
@@ -0,0 +1,8 @@
+//Example 21_1
+clc();
+clear;
+//To find the wavelength of the electromagnetic wave
+v=3*10^8 //Units in meters/sec
+f=1.02*10^6 //Units in Hz
+lamda=v/f //Units in Meters
+printf("The Wavelength of the Electromagnetic wave is lamda=%d meters",lamda)
diff --git a/3648/CH21/EX21.1/Ex21_1.txt b/3648/CH21/EX21.1/Ex21_1.txt
new file mode 100644
index 000000000..6ed704004
--- /dev/null
+++ b/3648/CH21/EX21.1/Ex21_1.txt
@@ -0,0 +1 @@
+The Wavelength of the Electromagnetic wave is lamda=294 meters \ No newline at end of file