1. Engineering
  2. Computer Science
  3. i need help writing the code to finish this assignment...

Question: i need help writing the code to finish this assignment...

Question details

I need help writing the code to finish this assignment in jupyter notebook using python 3. However there was a Typo in the first part: Should read: Show that vS+2 2+8

I need help writing the code to finish this assignment in jupyter notebook using python 3. M4650 HW1 Last Checkpoint: 18 hours ago (autosaved) Logout Control Pan File Edit View InsertKemel Widgets Help Not Trusted Memory: 196 2048 M4650, Individual Homework 1 Let the function Jx.y)-vx- V Fix y-1 and let x 1 + δ δ small but greater than machine Show that * Write code to plot x, y versus δ Let δ range from single precision epsilon to double precision epsilon Also plot the upper and lower bounds from the first part . Come up with a different arithmetic set of operations that gives you the same /(x, y) but is more accurate Plot this function for the same range of δ In [1]: #To get you started! i port nunpy as np isport matpletlsb.pyplet as pie def f(x,y); return np.sqrt (x)-np.sqrt (y) #sinple python function N-ap.azange (-52,-22) print(X) #Notevherey stops! delta-sp.powez(2.0,ม) ,The 2.0 is needed, print (delta) Exy f(i+dela,1) hy does this vork? ny vì thout! -52-51-94 47-445-4-43-42-4-40-39--37-36-35 34-33 -32-31-30-29-28-27 -26-25 -24-23] [2.22044605e-16 4.44089210e-16 8.88178420e-16 1.77635684e-15 3.55271368e-15 7.10542736e-15 1.42108547e-14 2.84217094e-14 5.68434189e-14 1.13686838e-13 2.27373675e-13 4.54747351e-13 9.09494702e-13 1.81898940e-12 3.63797881e-12 7.27595761e-12 1.45519152e-11 2.91038305e-11 5.82076609e-11 1.16415322e-10 2.32830644e-10 4.65661287e-10 9.3132257Se-10 1.86264515e-09 3.72529030e-09 7.45058060e-09 1.49011612e-08 2.98023224e-08 5.9604644Be-081.19209290e-07) In [1) plt.plot (delta, fxy) raceback (nost recent call last) ipython-input-1-055 53922257 in csodale 1 plt.plot (delta, fxy)

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution