one way of finding the square root of a certain number N is by using newtons method repetedly untill the absolute value 2 successive new guess is less than 10 raise to power -6

Recommended Answers

All 4 Replies

Do you have a question?

What is the square root of N?

read a list of arithmetic expressions from given file and update it with solution. Supported operators are +, -, /, *

Example output:
  Enter filename: expression.lst
Successfully updated 'expression.lst' with result.

where, 'expression.lst' contains:
10 + 15 = ?
47.6 / ? = 4.76
? - 2 = 8
And after executing the program the updated 'expression.lst' should be:
10 + 15 = 25
47.6 / 10 = 4.76
10 - 2 = 8

read a list of arithmetic expressions from given file...

zaheen: post separately and show some work.

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.