Skip to main content
8-Gravel
Jul 20, 2022 4:11 PM UTC
Solved

Symbolic evaluation behaving weird

With the four equation evaluated symbolically I am getting results for 3 but the same is giving result as 0 for the last equation any idea?

LucMeekesAnswer
23-Emerald V
Jul 20, 2022 5:54 PM UTC

Nothing weird.

Did you intend to differentiate the same expression to four different variables?

Then look at these expressions.

LucMeekes_0-1658339588142.png

The first is different from the last three: it adds R.hcc to a quotient, instead of R.hch.

The 4th differential is to R.h, while R.h is not part of the expression, hence the result is 0.

 

Success!
Luc

3 replies

Werner_E
25-Diamond I
Jul 20, 2022 4:25 PM UTC

And why do you think thats wrong?

The equation is linear in the first three variables you differentiate to, but constant wrt the last one. So the results seem to be correct.

Translate
8-Gravel
Jul 20, 2022 4:29 PM UTC

The value for R.sf and R.h is one and same along with rest of equation one gives the value other is giving zero so it seems wrong 

Translate
LucMeekes23-Emerald VAnswer
23-Emerald V
Jul 20, 2022 5:54 PM UTC

Nothing weird.

Did you intend to differentiate the same expression to four different variables?

Then look at these expressions.

LucMeekes_0-1658339588142.png

The first is different from the last three: it adds R.hcc to a quotient, instead of R.hch.

The 4th differential is to R.h, while R.h is not part of the expression, hence the result is 0.

 

Success!
Luc

Translate