Group Abstract Group Abstract

Message Boards Message Boards

Create a Step-by-step equation solver API?

Posted 8 years ago
POSTED BY: Arthur Guiot
4 Replies

or you can get the Plaintext version:

jnk = WolframAlpha["x^2==x+1","PodPlaintext",IncludePods->{"Solution"},PodStates->{"Solution__Step-by-step solution"}]

and construct your own JSON from that

POSTED BY: Neil Singer

Arthur,

This will give you the step-by-step from Alpha as a graphic:

jnk = WolframAlpha["x^2==x+1",IncludePods->{"Solution"},PodStates->{"Solution__Step-by-step solution"}]

or you can get the XML and parse it:

jnk = WolframAlpha["x^2==x+1","XML",IncludePods->{"Solution"},PodStates->{"Solution__Step-by-step solution"}]

I figured this out by doing this:

WolframAlpha["x^2==x+1","PodStates"]

Which gave me:

{Solution->{Solution..Approximate forms,Solution..Step-by-step solution}}

(note the two dots (..) are actually two underscores that don't appear properly on the forum)

So I had to Include the Solution pod and ask for the step-by-step PodState

I hope this helps

POSTED BY: Neil Singer
Posted 8 years ago

Then, how should I proceed?

POSTED BY: Arthur Guiot

Why not using Wolfram|Alpha API directly? https://products.wolframalpha.com/api

POSTED BY: Kapio Letto
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard