Appendix D. Solutions to Problems

This appendix provides solutions to selected problems in Chapters 1, 2, 4, 5, and 6.

Section 1.7

3.

Factor[45 + 63 x + 32 x^2 + 16 x^3 + 3 x^4 + x^5]

7.

The letter J (red) in BesselJ[2, r, J] is an excess argument; both it and the comma to its left should be removed. The symbol pi (blue) is a global symbol that has no value assigned; it should be Pi, which is the Mathematica name for the constant π. BoxRatio (red) is an unrecognized option name; it should be BoxRatios. The first left curly bracket (purple) to the right of ViewPoint and the last right square bracket (purple) of the input are syntax errors; they should be removed. The correct input is

ParametricPlot3D[
 {r Cos[theta], r Sin[theta], BesselJ[2, r]Sin[2 ...

Get A Physicist's Guide to Mathematica, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.