I have used Mathcad for many years, and am now trying to convert my worksheets to SMath.
I have the following that works in Mathcad:

This is my attempt to recreate this command in SMath:

Obviously, I've got something that isn't done right. I would appreciate any assistance in understanding how this is supposed to work. Thank you.