This is now #28415 https://trac.sagemath.org/ticket/28415
El lunes, 19 de agosto de 2019, 13:24:10 (UTC+2), mmarco escribió: > > I have been working a bit on some functions to help students do > integration by hands. Under the hood, they use sympy's integral_steps > function (see [1]), but I am not sure which is the right way to present it. > The options I am considering are: > > 1) Go full step-by-step integrations, in the spirit of sympygamma site > (or wolframalpha, if you have access to the pro version). In that case, I > guess returning a text (or html) stringwould be the sensible choice. > > 2) Just show a hint for the next step to the student, something like: > > sage: integration_hint(sin(x)*x, x) > Integrate by parts, with u=x, dv=sin(x)dx. So integral(sin(x)*x, x) = x* > cos(x)-integral(cos(x),x) > > In this case, maybe we should return a specific class where the student > can get the expression to follow the computation by hand. Also, we could > have different display methods for different envirments (mainly, command > line and jupyter notebook) > > So my questions are: > > - Which option do you think would be preferable? Show the full step by > step solution, or just give hints as they are asked for? > - In any case, which would be the right way to handle different > representations deppending on the environments? I assume that if we have a > specific class for this, it should have some __repr__, __latex__, and > __pretty_print__ > - Which would be the right place to put this code? I would say > sage.symbolic.integral, but some time ago someone mentioned the posibility > to create an education module, to put the different pieces of code that was > writen with for educational purposes. > > What do you think? > > > > > [1] https://docs.sympy.org/0.7.5/modules/integrals/integrals.htm > > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/870cb43f-a94e-4be7-aa60-60798903003d%40googlegroups.com.