Skip to content

Commit bf8458b

Browse files
committed
Update "cancellation of significant digits" example
1 parent 26213ad commit bf8458b

File tree

1 file changed

+3
-2
lines changed
  • NumericalCalculation/BasicWithCSharp/CancellationOfSignificantDigits

1 file changed

+3
-2
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1+
f(x) = x^2 - 1000x + c = 0
12
normal: x_1= 999.99900000, x_2= 0.00100708
2-
x_2 -> -0.00707901
3+
f(x_2) -> -0.00707901
34
cared : x_1= 999.99900000, x_2= 0.00100000
4-
x_2 -> 0.00000006
5+
f(x_2) -> 0.00000006

0 commit comments

Comments
 (0)