i need help with a complete source code for c++ program for newton raphson method .the program should have these attributes;one double data member,class,and also have a constructor to initialize the data member as it cannot be negative. The function should return the square root of the data member. The square root should be accurate to atleast four decimal places.
reverend818
0
Newbie Poster
Recommended Answers
Jump to PostWhat have you got so far?
Do you know the algorithm for the Newton-Raphson Method?
Have you written pseudo-code for this program?
Have you got any C++ code written?
Jump to PostStart by reading this
All 5 Replies
DavidB
44
Junior Poster
reverend818
0
Newbie Poster
ddanbe
2,724
Professional Procrastinator
Featured Poster
Schol-R-LEA
1,446
Commie Mutant Traitor
Featured Poster
mike_2000_17
2,669
21st Century Viking
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.