80 Reputation

2 Badges

1 years, 158 days

MaplePrimes Activity

These are answers submitted by John2020

I attach a maple file.

Hope it solves your problem.



I saw your file. In such cases, you first must use "with(Physics)" (which you have also used in your file).

Then, it is sufficient to use the following code instead of your last code for your end:

>diff(L, diff(t(lambda), lambda))

I checked and got the correct answer (-(-r+2*m)*(diff(t(lambda), lambda))*(1/r)).

Good luck.

Page 1 of 1