Solved

Here's what Luc is saying put into practice. You don't need a program, you can just have a vectorised function definition.
Welcome to the PTC Community
No account yet? Create an account
Please use your PTC eSupport account.
LoginEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.

