Message Boards Message Boards

0
|
4433 Views
|
3 Replies
|
0 Total Likes
View groups...
Share
Share this post:

A way to display calculation steps in Mathematica 12.3 ?

Posted 2 years ago

Hello dear Mathematica community, I did not know in which group I should put the question but I hope here I am halfway right.

Is there a command or another way in Mathematica 12.3 to display the calculation steps behind the calculations of a thing?

That would be great to control certain tasks that may even still be calculated by hand and learn with it.

With kind regards Christian

POSTED BY: Chris Bart
3 Replies
Posted 2 years ago

Thanks for the quick answers.
The intermediate results are also very good, but the direction of Gianluca's answer is more what I want. I would like to see like Wolfram|Alpha's step by step solution how to get the result.

Or in other words, is it possible to display the calculation path as if you would calculate it on paper, so that someone else can follow the calculation?

POSTED BY: Chris Bart

I do not know what you mean exactly. You could show intermediate results (and therefore the progress of a calcualtion) like this

ShowStatus[status_] := 
 LinkWrite[$ParentLink, SetNotebookStatusLine[FrontEnd`EvaluationNotebook[], 
   ToString[status]]]

Then for example

Do[
 If[Mod[i, 30] == 0, ShowStatus[i]],
 {i, 1, 150000}]

Look at the status line low left of your notebook

POSTED BY: Hans Dolhaine

You can call Wolfram|Alpha from inside Mathematica, and that can show steps for some functions.

POSTED BY: Gianluca Gorni
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