mmaexercises2

mmaexercises2 - In terms of the unknown coefficients, write...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
© 2011 - Steven Tschantz Mathematica exercises part 2 Steven Tschantz 1/18/11 Exercises Complete the following exercises, save your results, and email your final version to tschantz@math.vanderbilt.edu ± 1. How many digits are there in the decimal form of the integer 100! (factorial)? You can easily calculate 100! but it would be tedious to count the digits. An n -digit integer x is an integer with 10 n - 1 £ x < 10 n . So the number of digits of x is related to common log (log base 10) of x . In Mathematica, Log is the natural log, but there is also a form that calculates log to other bases (look it up). ± 2. Apply the method of undetermined coefficients to find a parabola y=a*x^2+b*x+c through the points (0,1), (1,6), (3,4).
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: In terms of the unknown coefficients, write down the three equations defining when the parabola contains the three given points and solve for the coefficients. See the example in the posted notebook on Mathematica foundations. 3. Plot the parabola between x=0 and x=3. Look up the Plot command. You might also try to add the three points to the plot to illustrate that the parabola really does go through the points. 4. Determine the maximum point (the vertex) of this parabola. Use some calculus. The derivative of an expression can be calculated using the D function. 5. What is the area under the parabola and above the x-axis between x=0 and x=3? Look up the Integrate function....
View Full Document

Ask a homework question - tutors are online