+ Reply to Thread
Results 1 to 9 of 9

How can I solve for unknown variables in quadratic equation using excel?

  1. #1
    Registered User
    Join Date
    03-22-2014
    Location
    London, England
    MS-Off Ver
    Excel 2013
    Posts
    12

    How can I solve for unknown variables in quadratic equation using excel?

    I am trying to solve for the quadratic equation in cell D40 with the unknown variable in cell D38 (where I gave an arbitrary number 10 here).

    This picture is shown below.

    I tried using solver add in software and the goal seek function in what-if analysis button but none of them worked to give out the desired two solutions.

    I would greatly appreciate if I could get help on resolving this problem.
    11.jpg
    Attached Images Attached Images
    Last edited by erickwy; 03-11-2015 at 01:08 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: How can I solve for unknown variables in quadratic equation using excel?

    Have you considered solving it algebraically and then using the quadratic formula?
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    03-22-2014
    Location
    London, England
    MS-Off Ver
    Excel 2013
    Posts
    12

    Re: How can I solve for unknown variables in quadratic equation using excel?

    I think you mean solving without using excel or so. But whatever it is, I need to use an automatic solver system to build a frame for generalization purpose.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: How can I solve for unknown variables in quadratic equation using excel?

    Algebra is as general as it gets.

    Row\Col
    C
    D
    E
    F
    35
    5.0011E-07
    -4.8900E-07
    36
    -4.8906E-07
    4.7790E-07
    37
    38
    D38: =(($D$35 + $E$36) + SQRT(($D$35 + $E$36)^2 - 4 * ($D$35*$E$36 - $E$35*$D$36))) / 2
    9.7816E-07
    0
    E38: =($D$35-D38)*($E$36-D38) - $E$35*$D$36
    39
    D39: =(($D$35 + $E$36) - SQRT(($D$35 + $E$36)^2 - 4 * ($D$35*$E$36 - $E$35*$D$36))) / 2
    -1.5107E-10
    0

  5. #5
    Registered User
    Join Date
    03-22-2014
    Location
    London, England
    MS-Off Ver
    Excel 2013
    Posts
    12

    Re: How can I solve for unknown variables in quadratic equation using excel?

    Thank you very much for your reply. Then may I ask how you got the formula for
    D38 and D39?
    Besides, one of the answer 9.7816E-07 is correct but the other answer -1.5107*10^(-10) seems incorrect
    which should be something like -1.87607*10^(-10).
    Thank you again and hope I could get some clues on these if possible.

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: How can I solve for unknown variables in quadratic equation using excel?

    Then may I ask how you got the formula for D38 and D39?
    I used algebra and the quadratic formula to solve for the two solutions for D38.

    one of the answer 9.7816E-07 is correct but the other answer -1.5107*10^(-10) seems incorrect
    Both answers are correct to the precision you posted; the formula returns zero for both values.

  7. #7
    Registered User
    Join Date
    03-22-2014
    Location
    London, England
    MS-Off Ver
    Excel 2013
    Posts
    12

    Re: How can I solve for unknown variables in quadratic equation using excel?

    Oh, I am sorry. So you mean you just used the quadratic solution form for getting the answer.

  8. #8
    Registered User
    Join Date
    03-22-2014
    Location
    London, England
    MS-Off Ver
    Excel 2013
    Posts
    12

    Re: How can I solve for unknown variables in quadratic equation using excel?

    Thanks. I was so prejudiced in this approach. It seems quite simple now. Thank you.

  9. #9
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: How can I solve for unknown variables in quadratic equation using excel?

    You're welcome.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to solve equation when i am got one unknown
    By sajmen in forum Excel General
    Replies: 2
    Last Post: 12-28-2014, 10:51 AM
  2. Numerical Solution to an equation with 2 unknown variables
    By Flipp147 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-15-2013, 03:35 PM
  3. solve quadratic equation system
    By Miguel in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-27-2005, 10:06 AM
  4. Replies: 2
    Last Post: 03-06-2005, 02:06 PM
  5. Replies: 5
    Last Post: 02-06-2005, 08:10 PM

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1