dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: simple question (complicated answer) - please help

  1. #1
    Senior Member
    Join Date
    Sep 2001
    Location
    Top Shelf
    Posts
    757

    simple question (complicated answer) - please help

    please.. can someone solve my equasion for variable 'c'. Im dieing over this. Even if you cant, please offer some advice. thankyou

    im not particulary interested in the answer.. but how to get to it. i already know the answer and it can be found here by pasting in the equasion.

    PHP Code:

    ab
    -4ca-4cb+12c^2=
    thanko mucho
    This information is subject to change without notice and
    is provided "as is" with no warranty.

  2. #2
    Junior Member
    Join Date
    Jul 2002
    Posts
    25
    Unless you can see a way to just straight out factor this shiznick, I would use the quadratic formula. Which is what I did.

    Just for reminder, the quadratic formula is
    Code:
    for the equation ax^2 + bx + c = 0
    
        -b +/- sqrt( b^2 - 4ac)
    x = -----------------------
               2a
    
    I will be using the terms "a coefficent", "b coefficent", and
    "c coefficent" as general coefficents to the quadratic equation above.
    Okay, with that outta tha way.
    Code:
    12c^2 - 4cb - 4ca + ab = 0
    
    Start off by finding your "b coefficent".
    Rewrite your equation as
    
    12c^2 - 4(a+b)c + ab = 0
    Make sense? Reply if it doesn't. I will now continue.

    Refer to the above quatratic equation. Now we can say that the "a coefficent" is 12, the "b coefficent" is -4(a+b), and the "c coefficient" (not to be confused with the variable 'c' you're solving for) is ab. With that said, you can now setup the quadratic formula for your equation.
    Code:
        -[-4(a+b)] +/- sqrt( [-4(a+b)]^2 - 4*12*ab )
    c = ----------------------------------------------
                        2*12
    
    
        4(a+b) +/- sqrt( 16(a+b)^2 - 48ab )
    c = ----------------------------------------------
                        24
    
    
        4(a+b) +/- sqrt( 16[a^2+2ab+b^2] - 48ab )
    c = ----------------------------------------------
                        24
    
    
        4(a+b) +/- sqrt( 16a^2 + 32ab + 16b^2 - 48ab )
    c = ----------------------------------------------
                        24
    
    
        4(a+b) +/- sqrt( 16a^2 - 16ab + 16b^2 )
    c = ----------------------------------------------
                        24
    
    
        4(a+b) +/- sqrt( 16[a^2 - ab + b^2] )
    c = ----------------------------------------------
                        24
    
    
        4(a+b) +/- 4*sqrt( a^2 - ab + b^2 )
    c = ----------------------------------------------
                        24
    
    
        4
    c = -- { a + b +/- sqrt( a^2 - ab + b^2 ) }  Factor out 4/24
        24
    
    
        1
    c = -- { a + b +/- sqrt( a^2 - ab + b^2 ) }  Reduce. Answers.
        6
    Last edited by muckyMuckMan; 02-27-2003 at 03:43 AM.

  3. #3
    Senior Member
    Join Date
    Sep 2001
    Location
    Top Shelf
    Posts
    757
    ahhhh yessss!!

    I completely neglected the quadratic formula. I thought it couldnt be solved using the formula but now its so obvious that

    - 4cb - 4ca = - 4(a+b)c


    thanks for the reply, its very much appreciated
    This information is subject to change without notice and
    is provided "as is" with no warranty.

  4. #4
    Junior Member
    Join Date
    Jul 2002
    Posts
    25
    You're welcome.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center