Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
I have two simple definite integrals and I want to find the angle (common to both integrals) where their results will be equal. I've done it by guessing, and now want to solve it automatically - but I'm having trouble with Find.
Solved! Go to Solution.
To use a solve block with "find" you have to provide a guess value.
But the main problem is the way you define your functions f and g. The way you do they are independent from the argument tau because tau is the variable of integration. Furthermore these definitions already use your guessed value for deltac, so any value of tau would return the result 1.337 for both integrals.
You seem to be looking for the limit deltac in both integrals so you have to make this the argument of your functions and this is the variable you have to provide a guess value and use in "Find":
You could also use the "root" function to get your solution.
Either by providing a range (0.1, pi)
or by providing a guess value
Here you can't apply additional constraints like 0.1<delta<pi
To use a solve block with "find" you have to provide a guess value.
But the main problem is the way you define your functions f and g. The way you do they are independent from the argument tau because tau is the variable of integration. Furthermore these definitions already use your guessed value for deltac, so any value of tau would return the result 1.337 for both integrals.
You seem to be looking for the limit deltac in both integrals so you have to make this the argument of your functions and this is the variable you have to provide a guess value and use in "Find":
You could also use the "root" function to get your solution.
Either by providing a range (0.1, pi)
or by providing a guess value
Here you can't apply additional constraints like 0.1<delta<pi