O'Reilly logo

A Physicist's Guide to Mathematica, 2nd Edition by Patrick T. Tam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required