diff options
Diffstat (limited to '3669/CH4/EX4.14/14.sce')
-rw-r--r-- | 3669/CH4/EX4.14/14.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/3669/CH4/EX4.14/14.sce b/3669/CH4/EX4.14/14.sce new file mode 100644 index 000000000..03a43e8c1 --- /dev/null +++ b/3669/CH4/EX4.14/14.sce @@ -0,0 +1,9 @@ +
+//Variable declaration
+V=1600; //voltage(V)
+
+//Calculation
+lamda=1.227/sqrt(V); //wavelength(nm)
+
+//Result
+printf('wavelength is %0.3f angstrom \n',(lamda*10))
\ No newline at end of file |