summaryrefslogtreecommitdiff
path: root/3753/CH3/EX3.7/Ex3_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3753/CH3/EX3.7/Ex3_7.sce')
-rw-r--r--3753/CH3/EX3.7/Ex3_7.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3753/CH3/EX3.7/Ex3_7.sce b/3753/CH3/EX3.7/Ex3_7.sce
new file mode 100644
index 000000000..4482d379e
--- /dev/null
+++ b/3753/CH3/EX3.7/Ex3_7.sce
@@ -0,0 +1,14 @@
+//Example number 3.7, Page number 3.34
+
+clc;clear;close
+
+// Variable declaration
+e=1.6*10**-19 // eV
+V=1*10 // in m^3
+h=6.625*10**-34
+
+// Calculations
+v=(2*e*V**-3)/h // Hz
+
+// Result
+printf("Frequency of generated microwaves = %.2e Hz",v)