please help me to write a code which includes a function for calculating the squareroot of a number without using the predefined functions in the function header............

Recommended Answers

All 4 Replies

Daniel honestly - you can think of a way to code up a loop and zero in on a square root of a number - I know you can.

Member Avatar for Wizidd

**Daniel does your application require you to handle variables where the numeric values could be negative? As in the square root of -9. This would enter the realm of imaginary numbers as found in actuarial math. .

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.