The community will undergo maintenance on October 16th at 10:00 PM PDT and will be unavailable for up to one hour.
That is the mistake //Mathcad 14
In the for-loop you did not wrote the number 1 but rather a lower case l (which Mathcad interprets as unit liter).
Once you correct this typo, your function works OK.
You may consider making the function independent on the current setting of ORIGIN:
or
In Russian texts
...переменная с именем 1 (эль)...