summaryrefslogtreecommitdiff
path: root/1427/CH35/EX35.1/35_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '1427/CH35/EX35.1/35_1.sce')
-rw-r--r--1427/CH35/EX35.1/35_1.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/1427/CH35/EX35.1/35_1.sce b/1427/CH35/EX35.1/35_1.sce
new file mode 100644
index 000000000..5f05aed7f
--- /dev/null
+++ b/1427/CH35/EX35.1/35_1.sce
@@ -0,0 +1,7 @@
+//ques-35.1
+//Calculating frequency of radiations
+clc
+w=500;//wavelength (in nm)
+c=2.996*10^10;//speed of light (in cm/s)
+f=c/(w*10^-7);
+printf("The frequency of the radiations is %.0f*10^14 Hz.",f*10^-14);