Advertisement
Guest User

Untitled

a guest
Apr 27th, 2015
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. (*f[k] denotes the partial derivative of u[k] with respect to x*)
  2. (*g[1] denotes the partial derivative of u[1] with respect to t*)
  3. f[1] = u[2];
  4. f[2] = g[1];
  5.  
  6. trans = {u[1] -> w[1, 1], u[2] -> w[1, 1] w[1, 2]};
  7.  
  8. (*Denote y[1,1] as the partial derivative of w[1,1] with respect to x*)
  9. z[1, 1] = f[1] /. trans
  10.  
  11. (*Denote y[1,2] as the partial derivative of w[1,2] with respect to x*)
  12. (*Denote z[1,1] as the partial derivative of w[1,1] with respect to t*)
  13. z[1, 2] = Factor[(u[2]^2 - u[1] g[1])/u[2]^2 /. trans] /. g[1]->g[1,1]
  14.  
  15. D[u[1][x, t], x] = u[2][x, t];
  16.  
  17. Set::write: Tag D in !(*SubscriptBox[([PartialD]), (x)]((u[1])[x, t])) is Protected. >>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement