Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
hey, i need to write a function like this. please help
Please don't post the same question twice. It won't get you any more answers, and it can waste peoples time if you get replies in both threads.
Stick with this thread: https://community.ptc.com/t5/PTC-Mathcad/need-help-with-piecewise-function/td-p/16348#438141
