If the goal is plotting and tables of values, there are resonable numerical solutions using "root" or "Find"available. The reason for those "artefacts" we see when using root for a values greater than 2*W/3 are due to the fact that root delivers real roots for selected single values where it should return a complex number, I guess. So I think the graph produced with the sollve block is the correct one and function K1 should be rewritten to return NaN if a is greater than 2*W/3.
Another question. How can I add the errorhandling to K2 as I did it with K1. Do I have to define another function which is then asigned to K2?
- Using the "root" function

- Using a solve block with "Find"

Edited: Changed attached file, include modified solution with root (as decribed above) now
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.

