+ Reply to Thread
Results 1 to 9 of 9

Problem with solving LN equation

  1. #1
    Registered User
    Join Date
    11-24-2012
    Location
    Croatia
    MS-Off Ver
    Excel 2007
    Posts
    10

    Problem with solving LN equation

    \1

    How to solve that equation and write answer on field C7? If i change other fields i want to C7 changes, it gives me DIV/0 error, solver also gives me 0, but the answer is 8.8 or 180
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by Hrki87; 11-24-2012 at 08:27 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,945

    Re: Problem with solving LN equation

    not every1 can open .png files, myself included. It would be far better if you could upload a sample of your file, showing what you have, and an example of your expected outcome. Thanks
    To Attach a File:

    1. Click on Go Advanced
    2. In the frame Attach Files you will see the button Manage Attachments
    3. Click the button.
    4. A new window will open titled Manage Attachments - Excel Forum.
    5. Click the Browse... button to locate your file for uploading.
    6. This will open a new window File Upload.
    7. Once you have located the file to upload click the Open button. This window will close.
    8. You are now back in the Manage Attachments - Excel Forum window.
    9. Click the Upload button and wait until the file has uploaded.
    10. Close the window and then click Submit.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    11-24-2012
    Location
    Croatia
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Problem with solving LN equation

    @FDibbins thanks for detailed instructions. I upload .jpg and .xls file

    I want solution for (C6/2*C3)*SQRT(1+(LN(C4/C7)/PI())^2)-140 equation, all fields are known except C7

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,945

    Re: Problem with solving LN equation

    looking at you're file (and the formula above), unless you enter a value in C7, you will always get a div/0 error, because thats exactly what's happening....

    .......LN(C4/C7).........
    .......LN(C4/0).........

  5. #5
    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: Problem with solving LN equation

    I think your formula has an error (meaning it's not the correct formula).

    What is the problem you're trying to solve -- something about acoustic resonance?
    Last edited by shg; 11-24-2012 at 08:46 PM.
    Entia non sunt multiplicanda sine necessitate

  6. #6
    Registered User
    Join Date
    11-24-2012
    Location
    Croatia
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Problem with solving LN equation

    hmm, here is known parameters and formula i need to solve d

    ln_excell.jpg

    i use solver for that problem without a success

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

    Re: Problem with solving LN equation

    A couple of thoughts
    1) You have to put a value of some kind in for d. Solve defaults to the newton raphson method, which requires an initial guess for d. A blank cell is assumed to be 0, which gives an error, and Solver can't do anything with an error value.
    2) If I manually put 8.8 in for d, I don't get anything near 0. Further testing suggests that there are no (real) zeros for the equation as entered. I'm beginning to suspect an error in the formula.
    3) If I algebraically solve the equation in the latest picture for d (+ and - sqrts), I get 8.9 and 180 for the roots. further evidence that the entered formula contains an error. Whether solved numerically or algebraically, we should get the same roots
    4) A careful look at the formula indicates that you have misentered the parentheses. you have c/2*f (=c*f/2) when the equation calls for c/2/f (=c/(2*f)). No wonder you are having trouble, you were multiplying when you should have been dividing. Entering complex formulas (with lots of parentheses and lots of terms/operations) is always going to be a challenge, and I don't know that there is any magical solution for the problem. We just have to practice and develop skills for entering these kind of formulas accurately, because Excel is just not smart enough to tell when we've made this kind of mistake in a formula.
    Last edited by MrShorty; 11-25-2012 at 11:42 AM.

  8. #8
    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: Problem with solving LN equation

    With some algebra, you can solve this in closed form:

    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    11-24-2012
    Location
    Croatia
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Problem with solving LN equation

    Thanks for your replays i solve equation

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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