The PTC Community email address has changed to email@example.com. Learn more.
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:
In Russian texts
...переменная с именем 1 (эль)...