10 Sep Summer II 2021 MATH 9 Midterm II Sep 8, 2021
Summer II 2021 MATH 9 Midterm II Sep 8, 2021
You have 24 hours to take this 50 points midterm. Books and notes are allowed. You can not use internet while you are taking your midterm. Create a MATLAB script in an m-file and then executing the file. Name this file MidtermII YourName.m. All commands should be followed by a semi-colon ”;” so that when the script is run, no mid-step gets displayed to the screen. To receive full credit, you must use exact variables names given below, and you must not have any terms getting printed to the screen. The screen only shows the final answer for each problem.
1. (10 points) Draw this graph [Hint: Hue[0] and Hue[1] are red]
-10 -5 0 5 10 -10
-5
0
5
10
x
y
Title
2. (10 points)
(a) Use Sum to compute
10000∑ n=1
1
n .
(b) Find all values of K such that
9 ≤ K∑
n=1
1
n ≤ 10
3. (10 points) (a) Make a Table representing 100 rolls of rolling three 6 sided dices. (b) What is the expected value of the total (sum) of the three?
4. (10 points) Make a 1 × 3 Disk, expected output (no “{ }”):
5. (10 points) Newton’s method to approximate a root of a (differentiable) function f(x) involves an iteration of the form
xn+1 = xn − f(xn)
f′(xn)
(a) Define the function x3 −x + 1 in Mathematica. Plot the function between −2 and 2. (b) Use NestList to apply Newton’s method three times to the starting value of x = −0.8.
The result should be {−0.8,−2.2,−1.64911,−1.39267}. (c) Use NestWhileList to continue applying Newton’s method starting at x = −0.8 and
stopping when we reach a value of x such that |x3 −x + 1| < 0.00001. The result should be {−0.8,−2.2,−1.64911,−1.32866,−1.32473,−1.32472}.
Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteEdu. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.
Do you need help with this question?
Get assignment help from WriteEdu.com Paper Writing Website and forget about your problems.
WriteEdu provides custom & cheap essay writing 100% original, plagiarism free essays, assignments & dissertations.
With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Chat with us today! We are always waiting to answer all your questions.