Results 1 to 3 of 3

Math Help - Help me to get rid a square root in my program ?

  1. #1
    Newbie
    Joined
    Aug 2010
    Posts
    2

    Question Help me to get rid a square root in my program ?

    i need to make my program go a bit faster.

    c=sqr (x) <-- the square root that i don't like

    p= ( a + b + c ) / 2

    IF p * ( p - a ) * ( p - b ) * ( p - c ) > ( R * c / 2 ) ^2 then do something..


    I want to compare x directly without finding the square root,

    What is the above ?
    its Heron's formula to find the height of the triangle.The only thing is that i only need to compare the height with the circle's radius R to find out if the circle obscures a vector.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Newbie
    Joined
    Aug 2010
    Posts
    2
    solved.

    -a^4 - b^4 - c^4 + 2a^2b^2 + 2a^2c^2 + 2b^2c^2 > 4*F^2*c^2
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Member grgrsanjay's Avatar
    Joined
    May 2010
    From
    chennai,tamil nadu
    Posts
    143
    Thanks
    1
    you mean this -a^2 - b^4 - c^4 + 2a^2 b^2 + 2b^2 c^2 >4F^2 c^2




    how you got this??
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Square root inside square root equation
    Posted in the Algebra Forum
    Replies: 3
    Last Post: October 10th 2011, 05:17 PM
  2. square root + cube root of a number
    Posted in the Algebra Forum
    Replies: 2
    Last Post: December 5th 2010, 11:35 AM
  3. Replies: 12
    Last Post: November 22nd 2008, 01:41 PM
  4. Simplifying Square Root w/in square root
    Posted in the Algebra Forum
    Replies: 5
    Last Post: September 7th 2006, 09:01 AM
  5. Replies: 2
    Last Post: April 29th 2006, 02:13 AM

/mathhelpforum @mathhelpforum