Community Tip - You can change your system assigned username to something more personal in your community settings. X
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 (эль)...