I have tried using subs but it is not working for what I am trying to do.
I have
r2 := (n_x^2+n_y^2-1);
and I want this expression:
E:=hbar*Pi/(2*M*A)*(n_x^2/L+n_y^2/L);
to put r2 in so I can solve for r2 (using maple). Does anyone know what the command is to do this? I cannot seem to articulate what I want well enough to bring it up in the help search!
(n_x^2/L+n_y^2/L)is equal to(r2+1)/L. Hence, you can setE:=hbar*Pi/(2*M*A)*(r2+1)/L;and solve whatever you want with that. – Mar 06 '13 at 03:25solve([hbar*Pi/(2*M*A)*(n_x^2/L+n_y^2/L)=42, r2=(n_x^2+n_y^2-1)], [r2, A, M]);– Mar 06 '13 at 03:26