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