Message Boards Message Boards

GROUPS:

Integration steps in TeX from command line

Posted 1 year ago
813 Views
|
0 Replies
|
0 Total Likes
|

Hi, I am trying to get step by step integration output in a proper format from command line.

I can get it in plaintext with:

WolframAlpha["int x*exp(2*x)", {{"IndefiniteIntegral", 2}, "Plaintext"},
    PodStates -> {"IndefiniteIntegral__Step-by-step solution"}]

but I want it in a more proper format like LaTeX. Calling the command

ExportString[
    WolframAlpha["int x*exp(2*x)", {{"IndefiniteIntegral", 2}, "Plaintext"},
    PodStates -> {"IndefiniteIntegral__Step-by-step solution"}],
    "TeX"]

does not make sense. Also changing ""Plaintext" term with "Cell" or "Content" does not work.

If i want only the result, the command

ExportString[
    WolframAlpha["int x*exp(2*x)", {{"IndefiniteIntegral", 1}, "Cell"}],
    "TEX"]

works well.

How can I adapt this for integration steps?

Thanks.

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

Group Abstract Group Abstract