Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! 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 (эль)...
