[LON-CAPA-users] Having an equation or a range as a response
korte at lite.msu.edu
Thu Jan 19 23:17:14 EST 2012
On Jan 19, 2012, at 9:51 PM, Gerd Kortemeyer wrote:
> On Jan 19, 2012, at 8:39 PM, Seema Ali wrote:
>> An example would be:
>> State the equation for the asymptote for the graph y=10^(x+7)+8.
>> Answer: [answer box]
> So that would be x=7 or y=8, correct?
Not sure anymore how I got to that x-solution, except that I just looked at the Google plot :-) In any case, I hope the sample code is useful, just eliminate the second solution.
For more complex equations, you need to wrap the MAXIMA-code into trigsimp(trigreduce(…)), so MAXIMA bothers simplifying the expression beyond the basics. When I have more time, I'll make a nice template for an "equation problem."
More information about the LON-CAPA-users