summaryrefslogtreecommitdiff
path: root/3669/CH4/EX4.5
diff options
context:
space:
mode:
Diffstat (limited to '3669/CH4/EX4.5')
-rw-r--r--3669/CH4/EX4.5/5.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/3669/CH4/EX4.5/5.sce b/3669/CH4/EX4.5/5.sce
new file mode 100644
index 000000000..822e63ad6
--- /dev/null
+++ b/3669/CH4/EX4.5/5.sce
@@ -0,0 +1,9 @@
+
+//Variable declaration
+V=15*10**3; //voltage(V)
+
+//Calculation
+lamda=1.227/sqrt(V); //wavelength(nm)
+
+//Result
+printf('wavelength is %0.3f nm \n',(lamda)) \ No newline at end of file