This may not be the right forum (and if not could someone tell me how to move the topic, or admins move and tell me where) to ask this question and it all boils down to basic math that I know, but with a small twist.

So I wonder...

I will try to draw and explain below what I am after if I can draw it

I can hardcode the math for this if I need, but the one thing that I can

For example:

Ramp1 = 2 seconds of total

Ramp2 = 6 seconds of total

Do I still use the age-old formula? or do I change fractions so the ramp 2 is visually and mathematically longer than the original?

This is particularly hard for me to explain, so I hope you get what I meant from the description above?

So I wonder...

- What key word should I look for in the docs for what I am sure is built in already for some algebraic equations
- Some examples?

I will try to draw and explain below what I am after if I can draw it

Code:

___________________________ -| / | |\ | / | | \ |--- Height / | | \ | / | | \ | / | | \ -| | | | | | | | | |Ramp1-|--------Travel---------|Ramp2|----- | | | | | | |-------------- TOTAL -------------| Typically Trapazoid = (1/2 Ramp1) + Travel + (1/2 Ramp2) Formula = Ramp1 + Travel + Ramp2 where: Ramp1 = Time1 Travel = Time2 Ramp2 = Time2 so: Ramp 1 = 1/2 total ramp up and down Ramp 2 = 1/2 total ramp up and down Travel = what is left over

**NOT**remember (yeah been too long for basic math for me, so I thought I would ask), is if Ramp2 <> Ramp 1....is the formula still 1/2? or a ratio thereof?For example:

Ramp1 = 2 seconds of total

Ramp2 = 6 seconds of total

Do I still use the age-old formula? or do I change fractions so the ramp 2 is visually and mathematically longer than the original?

This is particularly hard for me to explain, so I hope you get what I meant from the description above?

## Comment