mmaexercises2soln

# mmaexercises2soln - 2011 - Steven Tschantz Mathematica...

This preview shows pages 1–2. Sign up to view the full content.

© 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 [email protected] ± 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). In[1]:= Floor @ Log @ 10, 100 ! DD + 1 Out[1]= 158 100! has 158 digits In[2]:= Length @ IntegerDigits @ 100 ! DD Out[2]= 158 ± 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). 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

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

## This document was uploaded on 10/28/2011 for the course MATH 256 at Vanderbilt.

### Page1 / 3

mmaexercises2soln - 2011 - Steven Tschantz Mathematica...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online