cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Translate the entire conversation x

help with solve (MCAD 15)

relayman357
11-Garnet

help with solve (MCAD 15)

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.  

 

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:relayman357)

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":

Werner_E_0-1741628850506.png

 You could also use the "root" function to get your solution.

Either by providing a range (0.1, pi)

Werner_E_1-1741628968239.png

or by providing a guess value

Werner_E_2-1741628989179.png

Here you can't apply additional constraints like 0.1<delta<pi

 

View solution in original post

1 REPLY 1
Werner_E
25-Diamond I
(To:relayman357)

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":

Werner_E_0-1741628850506.png

 You could also use the "root" function to get your solution.

Either by providing a range (0.1, pi)

Werner_E_1-1741628968239.png

or by providing a guess value

Werner_E_2-1741628989179.png

Here you can't apply additional constraints like 0.1<delta<pi

 

Announcements

Top Tags