summaryrefslogtreecommitdiff
path: root/3710/CH8/EX8.9/Ex8_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '3710/CH8/EX8.9/Ex8_9.sce')
-rw-r--r--3710/CH8/EX8.9/Ex8_9.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3710/CH8/EX8.9/Ex8_9.sce b/3710/CH8/EX8.9/Ex8_9.sce
new file mode 100644
index 000000000..bf84d1960
--- /dev/null
+++ b/3710/CH8/EX8.9/Ex8_9.sce
@@ -0,0 +1,12 @@
+//Example 8.9, Page Number 387
+//The Function fpround(dependency) is used to round a floating point number x to n decimal places
+clc;
+
+V=2
+
+//From equation 8.29a
+w=0.65+(1.619*(V**(-1.5)))+(2.879*(V**-6))
+w=fpround(w,3)
+mprintf("The Mode Field Irradiance Diameter is:%.3f",w)
+
+//The answer provided in the textbook is wrong