Solved
Could you give me a method to restrick vector's values?

I want "omega" to restrict 12.1rpm.
So I tried such as a upper picture.
But I got error. I can't understand why I got error.
could you help me?

I want "omega" to restrict 12.1rpm.
So I tried such as a upper picture.
But I got error. I can't understand why I got error.
could you help me?
You may use a small auxiliary function whch you then call vectorized:

No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.