# I'm trying to write the formula for the slider with calculated results

• tshanks
Asked on May 15, 2017 at 10:02 PM

slider #1- has a min of 50 which represents a distance and has a minimum charge of \$600, after 50' it goes \$54 dollars per foot. I set the max to 100.

slider #2- is a difficulty rating of 0-3. each choice comes with an \$200 incremental rise in price. 0=\$0, 1=\$200, 2=\$400, 3=\$600

Slider #3- is a price range of \$54 per foot, going up to 50'.

Slider #4- is a price range per foot as well form 0-50' with a multiplier of \$121.50

This is my calculation formula: (pow(600 + #1*54) + (#2*200) + (#3*54) +(#4*121.5)

When I submit I get the following: SyntaxError:Expected ')'

• Chriistian
Answered on May 16, 2017 at 01:39 AM

I'm not sure why you need to add the pow() syntax. When I removed this and left the formula which is (600 + #1*54) + (#2*200) + (#3*54) + (#4*121.5) and it works fine.

Please see the screencast below: However, if I misunderstand your question, please give us more details and let us know if you need further assistance.
Regards.