Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

math question - curves

Featured Replies

I am trying to work out a formula for a curve, but am completely lost on how to get the equation.

x = 10 (time)

y = distance

y has to move to zero, and the curve is steep at the begging.

I have attached a jpg of the curve.

curve.jpg

Rivet -

While it's not clear what you're trying to accomplish, there are many formulas to give you something like what you're showing.

Try (for x>0) y=1/x.

Cheers.

  • Author

Charlie,

Thanks for the reply. I have attached a FMP file which might help.

I am trying to plot numbers from start to zero through

a number of step that will represent a curve.

I would like

curve.zip

y = 200/x for all x > 0

y will never touch 0, but will get infinitely closer.

Rivet,

Unfortunately I don't have version 7 and the trial has expired so wasn't able to look at your attachment. But your curve could be generated using a displaced parabola. Consider the equation:

y = ( ( x - n ) ^ 2 ) / n

Where the ^ symbol represents 'to the power of' and

n is the number of steps.

So for n=10 the (x,y) pairs are:

(0 , 10) , (1 , 8.1) , (2 , 6.4) , ... , (8 , 0.4) , (9 , 0.1) , (10 , 0).

Cheers,

John.

  • Author

Thanks guys, I am almost there... now can I have it so the 'y' starts at 200 and curves to 0 in ten steps?

Rivet,

Change the parabola to:

y = ( ( x - n ) ^ 2 ) * a

where a is the factor of n^2 that gives the sarting value of y. So for n=10 (10 steps), at x=0 (the starting value of x), set a = 2 to make y = 200. I had assumed, god knows why, that you wanted the y (for x=0) to be the same as x (for y=0). Anyway, adjust the value of a accordingly to give whatever starting value for y you like.

Cheers,

John.

  • Author

John, That did it... many thanks.

Sorry I dropped out of the thread - preoccupied. I'm glad to see that Math Club is alive and well on FMForums!

  • Author

How about a reverse of the formula? Curve from 0 - n

  • 3 weeks later...

Rivet,

The reverse of your formula takes a little longer to work out ... eh eh ... no, I just dropped out of the forums for a while, as well.

To start y at zero, remove the displacement term to put the min value of the parabola back on the origin:

y = ( x ^ 2 ) * a

where a is the same as in the previous formula.

Cheers,

John.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.