### Taking derivative of a solution

Hi, is there a way to take a derivative of a solution of equations?

For example,

```
var('p, alpha, beta, q, A, B, J, K')
h=solve([p==alpha+2*beta*q, A-B*p==J*q, p*q-K-alpha*q-beta*q^2==0],p,q,J)
```

in the solution expressions for `p,q,J`

, can I take a partial derivative of each with respect to `A`

by adding some kind of an expression? Also, is there a effective way to simplify the results that I get for `p,q,J`

?