Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 497 Bytes

File metadata and controls

12 lines (8 loc) · 497 Bytes

newton.cpp - Finds root of function by using the Newton–Raphson method.

Currently configured to find the root of 4^X + 6^X - 9. To configure for other functions, see the two defines. Note that in addition to the main function, you need the derivative.

Only finds one root. This program was written to solve a FaceBook math problem, namely solve for x where 4^x +6^x = 9.

Microsoft Visual Studio 2022 Community Edition 64 Bit 17.10.5

Alex Sokolek, Version 1.0.0.1, Copyright (c) August 13, 2024