Hello,

I am trying to approximate

I need to get a and b out of the square root to solve explicitly for them (it can be only an approximation).

Thanks.

Printable View

- May 13th 2008, 07:13 AMdonifanApproximating sqrt(a+b)
Hello,

I am trying to approximate

I need to get a and b out of the square root to solve explicitly for them (it can be only an approximation).

Thanks. - May 13th 2008, 07:30 AMCaptainBlack
- May 13th 2008, 07:52 AMdonifanbetter description
Thanks for the answer,

Here is a better description of the problem. I am trying to solve the non-linear system

where c1 and c2 are constants. The first equation is in fact a third order polynomia so it si easily solved. I need to be able to solve explicitly for y in the second equation. As this is is part of a big program a numerical solution is not an option since it will slow down the whole thing.

Thanks for any help. - May 13th 2008, 09:21 PMCaptainBlack
Look at the second equation:

square:

so as can be found from the first equation this is a cubic in and can be solved.

(as we had to square to get rid of the square root, we will have to check each of the solutions in the original equation to be sure it is not a spurious root introduced by the squaring operation)

RonL - May 14th 2008, 06:11 AMdonifanThanks
Thanks, your answer really helped.

Donifan