There are many ways to skin this particular cat. Here are a couple, ...
I'm sorry, but I have only Mathcad Prime 10, so the edited worksheet won't be of any use to you. Hopefully, the programs aren't too difficult to enter.
I must check where you define that exponential and f1, though. The max values and the first ones I've checked look suspiciously similar.
There are many ways to skin this particular cat. Here are a couple, ...
I'm sorry, but I have only Mathcad Prime 10, so the edited worksheet won't be of any use to you. Hopefully, the programs aren't too difficult to enter.
I must check where you define that exponential and f1, though. The max values and the first ones I've checked look suspiciously similar.