+ Reply to Thread
Results 1 to 16 of 16

math solution needed

  1. #1
    Registered User
    Join Date
    05-04-2017
    Location
    Paraguay
    MS-Off Ver
    2008
    Posts
    40

    math solution needed

    I hope there's someone here good at math. I generally am but this problem stumps me.
    The blue graph is the result of mutiplying the green and red graphs together. That gives me the correct beginning and end but I want the middle to dip down to correspond with where the green and red graphs cross. Any suggestions?
    BlairHP2.gif
    Last edited by 19jaguar75; 03-14-2018 at 09:55 PM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: math solution needed

    First, I believe your assumption is incorrect that the blue line has a dip in it. Why do you think that should be? When I construct two straight lines that look kind of like yours, the product is parabolic, with the max value right where the lines cross.

    Please attach your file so we can see the data.

    The paper clip icon does not work for attachments. Instead, under the text box where you type your reply click the Go Advanced button. On the next screen scroll down and click on Manage Attachments, which will show a pop-up window to Select and Upload a file. Then close the window.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    05-04-2017
    Location
    Paraguay
    MS-Off Ver
    2008
    Posts
    40

    Re: math solution needed

    here's the real horsepower graph which shows the double hump
    BlairHP1.gif

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

    Re: math solution needed

    If the blue graph must be the product (or a function of the product) of the red and green curves, then the only way to get the "double hump" is for the values of the red and green curves to give that shape. What are the values for the red and green curves? What is the relationship between the blue curve and the red and green curves? Can you change or edit the values of the red and green curves to give the desired shape?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  5. #5
    Registered User
    Join Date
    05-04-2017
    Location
    Paraguay
    MS-Off Ver
    2008
    Posts
    40

    Re: math solution needed

    Every horizontal line spacing is .5 going up (ie: .5, 1, 1.5, 2, etc)
    red x green x 1.5 = blue
    the best I've done so far is to get a 500 RPM flat spot at the top of the blue graph which is still far from getting it to dip down.
    Notice how the real horsepower graph dips down right about the same RPM on my graph where the red and green graphs cross.

  6. #6
    Registered User
    Join Date
    05-04-2017
    Location
    Paraguay
    MS-Off Ver
    2008
    Posts
    40

    Re: math solution needed

    I've tried multiplying, dividing, adding, subtracting, multiplying the square roots together, multiplying them squared together.
    I can't think of anything else.

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

    Re: math solution needed

    So, the blue curve is not strictly limited to red*green*1.5 -- you can use any combination of red and green to get blue that gives the right shape. Is that right?

    For a purely empirical approach, we can use our favorite tool -- polynomials. The desired shape of the purple curve will require at least a 4th order polynomial. I might start by fixing the location of the minima and maxima (the zeroes of the first derivative) and find a cubic expression for the first derivative (http://www.purplemath.com/modules/fromzero2.htm ). From the cubic first derivative, take an antiderivative to get the resulting quartic equation that should have the correct shape. Then work on what the red and green curves should look like to give the desired blue curve.

  8. #8
    Registered User
    Join Date
    05-04-2017
    Location
    Paraguay
    MS-Off Ver
    2008
    Posts
    40

    Re: math solution needed

    You lost me man.
    Can you show me the formula of your solution?

  9. #9
    Registered User
    Join Date
    05-04-2017
    Location
    Paraguay
    MS-Off Ver
    2008
    Posts
    40

    Re: math solution needed

    Keep in mind that the solution to my problem may be in how I am calculating for the green and red graphs.
    I've tried many different formulas without success so far but I am investigating incorporating something I didn't before.

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,756

    Re: math solution needed

    How can anyone help when you haven't told us the calculations that you are making that you now say might be wrong?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  11. #11
    Registered User
    Join Date
    05-04-2017
    Location
    Paraguay
    MS-Off Ver
    2008
    Posts
    40

    Re: math solution needed

    What I was asking (if you'd pay attention) was if it was possible to get the desired graph shape with the given red and green graphs.

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,756

    Re: math solution needed

    Please mind your tone. We are here to help and do so voluntarily. You will alienate helpers with your attitude if you are not careful.

    I was referring to this statement, which requires some extra explanation from you:

    Keep in mind that the solution to my problem may be in how I am calculating for the green and red graphs.
    We do not know how you are calculating these - you have not told us.
    Last edited by AliGW; 03-15-2018 at 03:22 AM.

  13. #13
    Registered User
    Join Date
    05-04-2017
    Location
    Paraguay
    MS-Off Ver
    2008
    Posts
    40

    Re: math solution needed

    I understand that but its annoying when "helpers" want to divert because they don't have an answer. People often do that when arguing instead of admiting they just lost the argument. I think the silence tells me that I've asked for the impossible and so I need to explore this new path which may have the answer.

  14. #14
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,756

    Re: math solution needed

    Nobody is trying to divert. We are asking for clarification from you so that we can help. There has been no silence - you have (had) two members engaging with your problem, but have failed to provide either the worksheet or the other information requested (posts #2 and #12). Yes, of course it is impossible for us to help without all the necessary data. This does not mean that members here are incapable of solving your problem, but you do need to do what they ask of you if you want their help. It's up to you, really.

  15. #15
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: math solution needed

    Quote Originally Posted by 19jaguar75 View Post
    I've tried multiplying, dividing, adding, subtracting, multiplying the square roots together, multiplying them squared together.
    I can't think of anything else.
    This is not a math problem or an Excel problem, it's an engineering problem. You started by saying you want to multiply two functions together to get a third with a dip in the middle. Now it seems you are saying, "What operation can I perform on these two functions to get the third function that I want?" Am I understanding your question correctly?

    To do this, we can't simply play with the numbers until we get what we expect. We need to understand the mechanical engineering principles behind your data. (IANAME)

    If, instead, you don't know that relationship and are trying to derive it, then at a minimum we need a complete set of your data, not just images of graphs. That would include the compression, intake, and power data. Even then, it would be a mathematical retrofit based on a single case, and there is no guarantee that the same relationship could be applied to another set of data. There could be other variables that need to be considered that are not evident here. (It's conceivable that two engines could have the same compression and intake curves but different power curves.)

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

    Re: math solution needed

    I did not carry through to a final solution, so I cannot show you my final equation. I started with (as illustrated in the algebra tutorial I linked to):

    1) dy/dx=-1*(x-10500)*(x-11250)*(x-12000) I picked these "roots" from the purple curve you drew on the chart. It should be easy to see that dy/dx=0 whenever x=10500 or x=11250 or x=12000. The -1 multiplier I think is necessary so that the final quartic will be concave down rather than concave up. Recall from your calculus classes that the points where dy/dx=0 are the maxima/minima of y=f(x)
    2) Multiply that out to get dy/dx=ax^3+bx^2+cx+d
    3) "Solve" the differential equation by getting an antiderivative for dy/dx. If you have forgotten how to take antiderivatives of polynomials: http://www-math.mit.edu/~djk/calculu...section01.html you should end up with something of the form y=Ax^4+Bx^3+Cx^2+Dx+E. You will probably need to arbitrarily choose a value for E.
    4) Try to figure out what kind of equations for the red and green curves can be combined to give the quartic obtained in (3).

    All of that assumes that polynomials are the best model -- which may or may not be true. We often use polynomials when we don't know any better just because they are flexible and easy to work with. I could also see trying trig functions (perhaps a Fourier regression) or who knows what else. Ultimately, this comes back to what 6stringjazzer is saying -- sometimes one needs to get at the engineering side of this and really understand the functions that should be used and how they should be combined.

+ 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. Vlookup Solution Needed
    By sjpras in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-27-2015, 05:58 AM
  2. Speed adjusted by weight for flight
    By ugsquish in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-04-2013, 10:39 PM
  3. [SOLVED] Explanation and/or solution needed
    By bunjijumper in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-27-2011, 06:45 AM
  4. Excel Solution needed
    By prasanna200 in forum Excel General
    Replies: 2
    Last Post: 05-02-2009, 08:11 AM
  5. math wizard needed.
    By kevindmorgan in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-17-2006, 05:36 PM
  6. Replies: 3
    Last Post: 02-16-2006, 07:00 AM
  7. Nested If/Then Math Expert Needed
    By Steven in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-05-2005, 06:06 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