Group Abstract Group Abstract

Message Boards Message Boards

1
|
36 Views
|
2 Replies
|
1 Total Like
View groups...
Share
Share this post:

WolframAlpha, step-by-step returns Missing

Posted 1 day ago

Please note that as of very recently, this no longer works:

WolframAlpha["integral (E^(cos x))((cos x)^2)(sin x) dx",
    {{"IndefiniteIntegral", 2}, "Content"},
    PodStates -> {"IndefiniteIntegral__Step-by-step solution"}]

as it pruduces: Missing["NotAvailable"].

After hours of searching, I stumbled on a solution/workaround.

First note that the middle line:

{{"podid",subpodid},"property"}

is ostensibly not necessary (I will return it later), so one can invoke:

WolframAlpha["integral (E^(cos x))((cos x)^2)(sin x) dx",
    PodStates -> {"IndefiniteIntegral__Step-by-step solution"}]

This provides the step-by-step solution, however all of the pods are now there. In addition, one would need to click on "Show all steps" for all of them to appear. Sometimes the button is "Show step-by-step solution," and then another button for showing all steps.

Apparently, due to these extra buttons, WRI added (did I miss the memo?) an undocumented PodState of "IndefiniteIntegral__Show all steps" (or for other podids: "Result__Show all steps", etc.). This solves the "button" problem, however all of the pods are still present.

So we return the {{"podid",subpodid},"property"} line, however we do not want only the subpodid of 2, but rather all of them. Putting this all together, and wrapping it in a Column[] in order to space things out a bit vertically, we have:

Column[
    WolframAlpha[
        "integral (E^(cos x))((cos x)^2)(sin x) dx",
        {{"IndefiniteIntegral", All}, "Content"},
        PodStates -> {
            "IndefiniteIntegral__Step-by-step solution",
            "IndefiniteIntegral__Show all steps"
        }
    ][[All, 2]],
    Left,
    2
]
POSTED BY: Aaron Naiman
2 Replies

Could you please send this note directly to Wolfram|Alpha team via info@wolframalpha.com or

http://www.wolframalpha.com/contact.html ?

Thank you so much.

POSTED BY: Ahmed Elbanna
Posted 1 hour ago

Done. And regards from another certified instructor, in our neck of the woods. :-)

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