how to evaluate a quoted expression?



> %o15 ['diff(f(s2),s2,1)=(6*('diff(c(s2),s2,1))*t2)/(2*f(s2)*H-t2*H)]
> 
> then I define
> f(s) := 1-s$
> c(s) := beta*s$
> 
> and would like to get maxima reevaluate the original expression, so I run
> ''%o15   <- 2 single quotes, but I've tried ev() as well
> but the derivatives (that are single quoted in %o15) are not evaluated.
> 
> How can I evaluate them as well?

Giving nouns as second argument in ev() causes noun forms to be evaluated:

(%i13) kill(all);
(%o0) done
(%i1) expr: ['diff(f(s2),s2,1)=(6*('diff(c(s2),s2,1))*t2)/(2*f(s2)*H-t2*H)];
(%o1) ['diff(f(s2),s2,1)=(6*('diff(c(s2),s2,1))*t2)/(2*f(s2)*H-t2*H)]
(%i2) f(s) := 1-s$
c(s) := beta*s$
(%i3)


(%i4) ev(expr);
(%o4) ['diff((1-s2),s2,1)=(6*('diff((beta*s2),s2,1))*t2)/(2*(1-s2)*H-t2*H)]


(%i5) ev(expr, nouns);
(%o5) [-1=(6*beta*t2)/(2*(1-s2)*H-t2*H)]