+ Reply to Thread
Results 1 to 4 of 4

Using 2 equations to solve a value

  1. #1
    Registered User
    Join Date
    02-26-2014
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    9

    Using 2 equations to solve a value

    Hi. Can some one please help me with this problem (see attached).
    I have 2 equations to solve K, that use 4 inputs (A,B,D,H). A,B and D are known. H is unknown. How do i solve for H in excel? I believe a macro is required?
    Many thanks
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,819

    Re: Using 2 equations to solve a value

    So you have two equations:

    K = (H*A)/(B-H)

    and

    K = H*D

    The solution occurs when K = K, i.e.:

    (H*A)/(B-H) = H*D

    You need to rearrange this equation to get it in the form H = something. Simple algebra will get you to:

    H = B - A/D

    For the values given, H = 1.667 and K = 5

    No need for a macro (or even for Excel !!)

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    02-26-2014
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Using 2 equations to solve a value

    Thanks Pete.
    The example above is a very simplified version of a series of problems i need to solve. I was hoping to use excel to solve it so i can aply it to these.

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,869

    Re: Using 2 equations to solve a value

    I find that, before I can work out the computer/Excel algorithm for something like this, I first need to understand the math. Even if your actual problem is more complex than the example given, can we still assume that it is a system of "linear" equations? Or do you actually have a system of non-linear equations? The example you gave was a system of 2 equations and 2 unknowns, is this representative of your actual problem or do you have more equations in more unkowns?

    Assuming a system of linear equations, this tutorial should help you remember the techniques used to solve systems of linear equations. http://www.purplemath.com/modules/systlin1.htm

    If they are non-linear, she also has a tutorial for those: http://www.purplemath.com/modules/syseqgen.htm

    More complex systems of equations will require numerical methods (usually using the Solver utility that comes with Excel).

    If the example you gave is representative of the type of problem you have, then the algebraic technique Pete_UK suggested should be sufficient, and is not difficult to program into Excel. If the example you gave is not representative of your problem, we will probably have to have a good example to make specific suggestions towards developing an algorithm.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ 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. Replies: 2
    Last Post: 02-08-2014, 01:49 PM
  2. Solve for variables using multiple equations
    By yashgupta25 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-08-2012, 06:17 AM
  3. How to Solve System of Linear Equations (Without Solver)?
    By ExpatYankee in forum Excel General
    Replies: 2
    Last Post: 11-08-2011, 05:38 AM
  4. Replies: 2
    Last Post: 10-10-2011, 09:42 AM
  5. [SOLVED] how do I use the solver to solve polynomial equations?
    By Cameron PE in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-20-2006, 05:25 PM

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