Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
I need to find a vector v=(v_1, v_2,...) such that F(v_i) - p_i = 0 using the root function. Is there a simple way to do this? Thanks.
Solved! Go to Solution.
Its boring having to type what you show again so you always should attach your worksheet in future questions.
You can't use the root function by providing a range of v-values because you would have to assure that the function value at both ends have opposite signs. This would mean that at least on of those ends must be different for different values of p.
You may use a solve block (turned into a function) or the root command, but with a guess value:
Its boring having to type what you show again so you always should attach your worksheet in future questions.
You can't use the root function by providing a range of v-values because you would have to assure that the function value at both ends have opposite signs. This would mean that at least on of those ends must be different for different values of p.
You may use a solve block (turned into a function) or the root command, but with a guess value:
Here's the variant using a solve block: