From baa2f97c8adc9d186c74fffad0354c28167fd84c Mon Sep 17 00:00:00 2001 From: kanny-coder <72183800+kanny-coder@users.noreply.github.com> Date: Thu, 1 Oct 2020 10:53:19 +0530 Subject: [PATCH] Update MathFunction.java --- .../chapter1/MathFunction.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/A Concise and Practical Introduction to Programming Algorithms/chapter1/MathFunction.java b/A Concise and Practical Introduction to Programming Algorithms/chapter1/MathFunction.java index 74a2fda2..689ee2ed 100644 --- a/A Concise and Practical Introduction to Programming Algorithms/chapter1/MathFunction.java +++ b/A Concise and Practical Introduction to Programming Algorithms/chapter1/MathFunction.java @@ -13,7 +13,7 @@ public static void main(String[] args) { double x = Math.E; double fx = Math.log(x); - System.out.print("Is this precisely 1 or is there numerical errors? "); + System.out.print("Is this precisely 1 or are there numerical errors? "); System.out.println(fx); @@ -23,4 +23,4 @@ public static void main(String[] args) { System.out.print("What about this trigonometric equality (should be 1) ?"); System.out.println(fx); } -} \ No newline at end of file +}