Stack and integrate

Stack and integrate

by Thierry Talbert -
Number of replies: 3

Hi

I'm using line by line reasoning and got the following problem. I would like to evaluate first the expression and after the result given by y students. But when i put all the information in "Question variables" all the expressions (like diff and integral) are evaluated. Found a solution for diff, to put before functions the character '. It's work for diff but not for int. int is always evaluated. Any idea of the problem ?

You have below what i put in "Question Variables"

eq: v_chmoy= 'int(v_ch, t, 0, T)/T
eq2:v_chmoy = 'int(V_E, t, 0, alpha*T)/T
sol:int(V_E, t, 0, alpha*T)/T
ta:[eq, eq2, v_chmoy = eq]

Regards Thierry

Average of ratings: -
In reply to Thierry Talbert

Re: Stack and integrate

by Stephan Bach -

Hi, 

I don't know why the leading quote mark doesn't work in your case, but setting simp to false at the beginning of the question variables should do it as a workaround. You could later use selective simplification with ev(...,simp) if you need it.

Stephan

In reply to Stephan Bach

Re: Stack and integrate

by Thierry Talbert -
Thanks a lot.
It works perfectly now.

Do you think it could be a configuration problem with maxima ?

Thierry
In reply to Thierry Talbert

Re: Stack and integrate

by Stephan Bach -

Hi,

it looks like it has to do with this specific integral, because normally the leading quote mark does suppress the evaluation of integrals too.

Stephan.