Question: Using Julia in Jupyter Notebook. Please find the error in the above code and fix the DimensionMismatch. A is a column vector 20x1, and so
Using Julia in Jupyter Notebook. Please find the error in the above code and fix the DimensionMismatch.
A is a column vector 20x1, and so is b because of ones(20).


6. One series for finding is 2=1+31+3512+357123+. Define sk to be the sum of the first k terms on the right-hand side, and let ek=sk/2. (a) Calculate ek for k=1,,20, and plot the sequence on a log-linear scale. (b) Determine a and b in a least-squares fit ekabk, and superimpose the fit on the plot from part (a)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
