Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Dear Valued friends,
I got the error message when wrote the equation. please help
If "a" has units of length then the two arguments you pass to the min function have different units.
As Richard already stated you are comparing quantities of different dimensions. The first argument of max() has the units Newton * secondss but the second hast unit Newton. This will not work.
Are you sure about your function Phi(a)? At the end you are taking the max of one single value which works, but does not make much sense. Which dimension should Phi(a) return? The way you wrote it it returne "time" because at the end you added minutes. Was this done on purpose? The expression for PhiP.n(a) would work if Phi(a) is dimensionless.
WE