Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Math 480 - Homework 4: Due 6pm on April 29, 2016
HOMEWORK TOTAL: 100 POINTS
GRADING GUIDELINES
For this homework assignment:- Take off 5 points if they did not use `show()` as in the directions.
- Grade points for each question based on output. Check if output is similar to this solution guide.
- If they typed the wrong function for a problem but their procedure looks correct, only take off points for having the wrong function.
- Award half credit to any part where they did not use Sage (ie. they solved by hand and typed the result in)
Problem 1 -- defining and evaluating a function:
Define in Sage .
Compute symbolically (exactly).
Compute numerically (so a decimal expansion).
Plot from to .
10 Points Total
2 points per part; 2 points for completion
Problem 2 -- finding zeros numerically:
Let
Draw a plot of on the interval .
Differentiate
Integrate
Find all the zeros of numerically.
10 Points Total
2 points for parts 1, 2, and 3. 4 points total for part 4 (2 points per root)
Problem 3 -- The Cauchy Distribution
Let
Plot and find the area under the curve of for the following values of and on the interval
Integrate from to using the dummy variable as in .
Plot the resulting function from 3 for .
10 Points Total
6 points for part 1 (1 for each plot, 1 for each value)
3 points for part 2
1 points for part 3
Problem 4 -- a function with no elementary antiderivative:
Let
Draw a plot of on the interval .
Differentiate
Integrate
10 Points Total
3 points per part, 1 point for completion
Problem 5: Limits
Compute
Use Sage to verify that strange and amazing fact .
10 Points Total
5 points per part
Problem 6: Taylor Series
Let
Find the 3rd degree taylor series, , of where
Plot the 10th degree taylor series where alongside
Plot on the interval
10 Points Total
3 points for part 1
7 points for part 2
Problem 7 - Gradient Vector Field:
Compute the gradient of .
Plot the 2-dimensiona vector field defined by the gradient of in the rectangle .
10 Points Total
5 points for each part
Problem 8 - Symbolic Sums:
Compute .
Compute .
Compute both symbolically (in terms of the Riemann Zeta function) and numerically.
Compute .
Compute .
10 Points Total
2 points per part
Problem 9 -- Unit Conversion:
Use Sage's units functionality (written by a UW undergrad -- David Ackerman!)
Convert 68 degrees Fahrenheit to Celcius. Hint: use
68*units.temperature.fahrenheit
to define fahrenheit.Convert 15 milliseconds to hours.
Convert 2016 degrees kelvins to degrees Fahrenheit.
Convert 9.8 meters per second squared to feet per second squared.
10 Points Total
2 points per part; 2 points for completion
Problem 10 - 3d Plotting:
Draw a 3d plot of a torus.
Draw a single 3d plot the has the five regular polytopes in it: tetrahedron, cube, octahedron, dodecahedron, icosahedron. All five must be visible.
Draw a 3d plot of the "Mexican hat function" (see, e.g., https://en.wikipedia.org/wiki/Mexican_hat_wavelet). [Hint: you have to make a choice of parameter so that it looks like Mexican hat.]
10 Points Total
Maximum 3 points per part. 1 point for completion
Based on:
- Is it a torus?
- Can you count the polytopes? -0.5 for each one you don't see.
- Does it look like a hat? (it can be upside down)