Question: "Error, invalid left hand side in assignment"

Hi!

I'm wondering how to substitute eval(diff(P(x, tau, p), p), p = 0) in the equation below with v[1](x, tau)

 

2*(D[2](v[0]))(0, tau)*(diff(eval(diff(P(x, tau, p), p), p = 0), x))/(1-v[0](0, tau))

 

I have tried the subs-function, but since I am doing this for over 30 equation and the expression I want to substitute into the equation is changing in every notation I hope there is an easier way.

Basically, I want to define eval(diff(P(x, tau, p), p), p = 0) in order to make it automatically change into v[1](x, tau)

 

When I used the assign-function, I got the error message: "Error, invalid left hand side in assignment"

Hope you can help me!

Sincerely, Mari

Please Wait...