hi im a newbie,can u give me an example of math problems using c language...preferably calculus using else-if statement,or a looping satement..thank u very much..godbless(",)

Recommended Answers

All 2 Replies

Find the zero of the function

x^2 - 5 = 0

, that is, find what value for x, will cause this function

x^2 - 5

to equal zero.
A good approach will use calculus and for loops.

Note by finding the zero of the function x^2 - 5, you have found the sqrt(5).

Hint : newton raphson method.

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.