diff options
Diffstat (limited to 'Numerical_Methods_by_E_Balaguruswamy/CH3/EX3.10/Ex3_10.R')
-rw-r--r-- | Numerical_Methods_by_E_Balaguruswamy/CH3/EX3.10/Ex3_10.R | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Numerical_Methods_by_E_Balaguruswamy/CH3/EX3.10/Ex3_10.R b/Numerical_Methods_by_E_Balaguruswamy/CH3/EX3.10/Ex3_10.R new file mode 100644 index 00000000..c8973134 --- /dev/null +++ b/Numerical_Methods_by_E_Balaguruswamy/CH3/EX3.10/Ex3_10.R @@ -0,0 +1,12 @@ +# Example 10 Chapter 3 Page no.: 52
+# Floating point notation
+
+x <- 0.00596
+y <- 65.7452
+z <- -486.8
+
+cat(x,"is expressed as 0.596*10^(-2)")
+
+cat(y,"is expressed as 0.657452*10^(2)")
+
+cat(z,"is expressed as -0.4868*10^(3)")
\ No newline at end of file |