1 years, 84 days

## Differentiate differential equation by f...

Maple

Hi Maple friends,

I want to use Maple to solve a motion equation problem by using Lagrange 2 method. For that I for example have to calculate the derivative of the lagrange function by one of the generalized coordinates.

So let L for example be: L = diff(q1(t), t) + 2*diff(q2(t), t) + 3*q1(t)        // I`m sorry the insert Maple Math doesn`t work for me...

I now want to calculate diff(L,q1(t)) which leads to the error Message: "Error, invalid input: diff received q1(t), which is not valid for its 2nd argument".

The correct answer to this should be: diff(L, q1(t)) = 3

I`ve now tried a few different differentiate commands but none of them seems to work...

Would be great if someone could give me a hint or the right code.

## Extract values from list...

Maple

Hi Maple friends,

Im new to Maple and Im struggeling with a problem.

I have the numbers of a bode plot (abs and phase) and I want to fit it in an equivalent circuit.

My problem is: I firstly want to calculate the real and imaginary part of the measured impedance of the bode plot (This works so far after a few hours of trying) and then I want wo calculate the values for each equivalent circuit component. For that I need the values of the impedance calculation to further process them.

The problem is: The impedance calculation returns the values as a list (I think). So Im wondering how can I get the values out of the list? My code so far is attached below.