Ask Your Question
0

Is there any way we can use SageMath in the website as a Math Engine?

asked 2019-06-16 23:27:31 +0100

I want to develop a website where students can learn math online and solve the problems in the website. I also want to use ML and AI to generate the mathematical questions by itself. When the student sees the question, he/she tries to answer the question. Once answered, we can cross check the ans with SageMath. I want to use SageMath in my website as a backend.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-06-18 08:20:59 +0100

Emmanuel Charpentier gravatar image

That was the point of the old Sage notebook, now considered as unmaintainable.

Attempts are done to interface Sagemath and Jupyterlab, which would allow such multiple interactions. Search for that in the sage-devel archives. IIRC, this will be much easier with a Python3-based Sagemath.

You can also develop a dedicated Web server using Sagemath as a backend. The real difficulty is to choose between a "single-shot" service (i. e. any Sagemath use is self-contained) and a session-based service (i.e. queries at time t can use definitions and statements made at t'<t). in="" the="" first="" case,="" you="" use="" sagemath="" almost="" as="" a="" library,="" in="" the="" second="" case,="" your="" application="" must="" maintain="" its="" sessions="" (or,="" equivalently,="" launch="" one="" sagemath="" session="" per="" user.<="" p="">

HTH,

edit flag offensive delete link more

Comments

The Web server software seems to have munched my answer irretrievably. Sorry...

Emmanuel Charpentier gravatar imageEmmanuel Charpentier ( 2019-06-18 19:37:35 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-06-16 23:27:31 +0100

Seen: 167 times

Last updated: Jun 18 '19