4
$\begingroup$

I would like to reproduce the table format on the right side of the included image (Wolfram|Alpha) in Mathematica (left side). How best to do this?

enter image description here

I copied the Mathematica code from wolfram|alpha but the results look better in wolfram|alpha.

$\endgroup$

3 Answers 3

5
$\begingroup$
Table[{n, D[Exp[s^a], {s, n}]}, {n, 1, 5}]

% // TableForm
$\endgroup$
3
$\begingroup$
Table[{n, D[Exp[s^a], {s, n}]}, {n, 1, 5}] // 
  Prepend[{n, "\[PartialD]^n \[ExponentialE]^s^a / \[PartialD]s^n"}] //
  Grid[#, Frame -> All, ItemStyle -> {{Bold}, {Bold, Black}}, 
   Background -> {{1 -> LightYellow}, {LightYellow}}] &

enter image description here

$\endgroup$
3
$\begingroup$
Table[
   {n, D[Exp[s^a], {s, n}] // FullSimplify // TraditionalForm},
   {n, 1, 5}] //
  Prepend[#, Style[#, 16] & /@ 
     TraditionalForm /@
      {n, Inactive[D][Exp[s^a], {s, n}]}] & //
  Grid[#, Frame -> All, Alignment -> Left] &

enter image description here

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.