Page 2 of 2 FirstFirst 12
Results 16 to 23 of 23

Thread: Help Needed by Maths literate person

  1. #16
    Join Date
    19th November 2003 - 18:45
    Bike
    KTM 690 DUKE R
    Location
    Auckland - unavoidably...
    Posts
    6,422
    Quote Originally Posted by avgas
    punch it through MATLAB if i still remember how to use damn program.

    in a strong cockney accent * MATLAB its DEAD EASY* for all the AU enginners!

  2. #17
    Join Date
    13th April 2005 - 12:00
    Bike
    Enfield cr250r
    Location
    Tokyo
    Posts
    3,430
    Blog Entries
    4
    Quote Originally Posted by Jeremy
    As nice as the data plot is the raw data would be far more useful.
    I am on to that will post the raw data as soon as I get my hands on it ....

    The simpsons rule ,now that would give me the area easy enough

    ( something like ...hieght/3 { Yo +4Y1+Y2.......}=area

    Thats easy ,,,cool ...but I should be able to work backwards to find the equation ..

    Lets say for exaple I use simpsons rule and find the area ..is 16.7 whamajamas ..

    Using an old copied example I found

    Area = integral between 3 and 1 ( X^2 +4)dx
    = { X^3/3+4X}
    = (3^3/3+4 x 3)-( 1^3/3+4 x 1 )=16.7

    I am answering my own question here ,,,I can see it ..

    Anyway I will carry on ...so yes From the area I should be able to go back to the equation ,,,,,

    and with that equation I should then be able to add and subtract mutiply equations together ,,,

    Anyway I will post the data as soon as I get my mitts on it ,,,,,,,
    see how we go

    Stephen
    "Look, Madame, where we live, look how we live ... look at the life we have...The Republic has forgotten us."

  3. #18
    Join Date
    13th April 2005 - 12:00
    Bike
    Enfield cr250r
    Location
    Tokyo
    Posts
    3,430
    Blog Entries
    4
    Ok
    when the raw data turns up Ill post it ...till then ..try this see if I am in the ball park

    Take a parabola ...X^2 cutting the X axis at -2 and 2 and the Y axis at 4

    When Y = 0
    x = -2 and 2

    ( X-2) (X+2)
    = 4-X^2
    Intergrate between -2 and 2 to get the area I get 10 2/3

    checked with simpsons Rule get the same ....which is cool ..and exactly what I wanted great ..

    Now the original graph as was pointed out was a sine function SOOOOOOO all I have to do is expand the above to include ,,,the sine function ????


    So like a plan??????


    Stephen

    BTW thanks for all the help
    Attached Files Attached Files
    Last edited by Brian d marge; 29th October 2005 at 22:21. Reason: raw data turned up
    "Look, Madame, where we live, look how we live ... look at the life we have...The Republic has forgotten us."

  4. #19
    Join Date
    21st November 2004 - 23:26
    Bike
    various
    Location
    South
    Posts
    317
    There are common integrals listed in the back of your logarithm tables which should see you right.
    Insert witticism.

  5. #20
    Join Date
    29th October 2003 - 21:14
    Bike
    1999 Suzuki SV650S
    Location
    Auckland, New Zealand
    Posts
    2,041
    I don't actually know the proper way to do this kinda stuff.

    But, from plotting the data in excel and messing around with sine equations, the closest I've got to an equation that gives a similar curve is:

    =0.316*SIN(RADIANS(A1-11))-0.316/2*SIN(RADIANS(A1-11))+0.158

    Take a look at the graph in the excel file. There is the original data curve, then the approximation based on the above equation. And I've plotted the difference between the two. If you could figure out an equation for the difference between the two and add it to the other approximation, you'd get the equation you wanted. 'course, that's just as hard or harder than finding the equation for the original data...

    Dunno if this helps or not.

    I don't think you'll have much luck with a polynomial equation or parabola. I think it has to be based on trig functions like sine and cos etc.
    Attached Files Attached Files

  6. #21
    Join Date
    29th October 2003 - 21:14
    Bike
    1999 Suzuki SV650S
    Location
    Auckland, New Zealand
    Posts
    2,041
    Actually, the trick might be combining a parabola plus a sinewave.

    I spent some time with excel again, the parabola+sinewave curve matches more closelly than the previous sinewave only.
    Maybe with some more fiddling with the figures, you could get it an even closer match.
    Or maybe there's some other easier way to do it...
    Attached Files Attached Files

  7. #22
    Join Date
    1st October 2004 - 09:26
    Bike
    Honda Hornet 900
    Location
    Auckland
    Posts
    301
    I suppose the proper way of getting the equation of a curve is to use Fourier analysis, but I've always preferred Bezier curves. I've used them quite a lot for curve editing functions in GUIs, but they're also a simple way of defining a curve.
    Remember to never split an infinitive. The passive voice should never be used. Do not put statements in the negative form. Proofread carefully to see if you words out. And don't start a sentence with a conjugation. (William Safire)

  8. #23
    Join Date
    29th September 2003 - 20:48
    Bike
    2008 DRZ400E & 1983 CB152T
    Location
    Alexandra
    Posts
    4,158
    Nah just fit a 6 order poly line of best fit to teh line in excel, gets a pretty damn close fit then. That gives a formula of y = 1E-10x6 - 2E-08x5 + 2E-06x4 - 0.0001x3 + 0.0025x2 - 0.0095x + 0.0082

    Then you integrate it and fine the finite integral from the lower to the upper limit (what were they again?). Not too hard to do. I'll do it later if you want.

Thread Information

Users Browsing this Thread

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

Posting Permissions

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