Reference no: EM13693793
Question 1: Implement Newton's method in Matlab
function [p,n] = newton(func,funcderiv,x0,tolx).
Here, p is the estimate for the zero, n is the number of iterations it took to obtain this estimate, x0 is the initial guess, tolx is the correction based absolute error tolerance (the iteration is terminated once |xn+1 - xn| > tolx), func is the function whose zero is to be determined, and funcderiv is the derivative of the function func.
Question 2: Implement the secant method in Matlab
function [p,n] = secant(func,x0,x1,tolx).
Here, p is the estimate for the zero, n is the number of iterations it took to obtain this estimate, x0 and x1 are the initial guesses, tolx is the correction based absolute error tolerance (the iteration is termi-nated once, |xn+1 - xn| > tolx) and func is the function whose zero is to be determined.
Solve these questions in details and provide examples to support your rationale.
Figure out the missing data
: We are to figure out the missing data. To my understanding, there is going to be some kind of proportion here, or what? How would you go about figuring these out?
|
Write a program that reads the coordinates
: Write a program that reads the (x,y) coordinates of a point in the Cartesian plane and prints a message telling in which quadrant, or on which axis (or axes) the point lies. The quadrants are labeled as follows:
|
Describe the chemical symbol of one of the elements
: Write a program that reads a single character describing the chemical symbol of one of the elements H, C, N, O, F and prints the full name of the element.
|
Compute and return the celsius temperature
: Write a program that takes as input a depth (in kilometers) inside the earth and displays the temperature at this depth in degrees Celsius and in degrees Fahrenheit. The relevant formula is
|
Implement newtons method in matlab
: Implement the secant method in Matlab and Implement Newtons method in Matlab
|
Cost-benefit analysis
: The average annual cost to the company of a manager is $162,000, whereas no managerial professionals cost $121,000 a year on average; both figures include overhead.
|
Design a recursive algorithm to implement
: Design a recursive algorithm to implement this specification. That is, the body of FindLast should contain a recursive call FindLast(A,..,..).
|
Write an application that stores 100 movies
: Write an application that stores 100 movies and displays them by category. The user can enter any of the categories to display the films in the list that match the category.
|
Write the equations describing the electrode reactions
: Problem- Write the equations describing the electrode reactions and the net cell reaction for this electrochemical cell containing copper and silver
|