Plot the function, MATLAB Programming

Assignment Help:

Consider the 3rd order Bessel function J3(x). Write a script findBessRoots.m that computes all the roots of J3(x) in the interval [0; 40]. Your script must store the roots of the function in the variable root as a row array in ascending order. [Hints: Use the builtin Matlab function besselj(3,x) to evaluate J3(x). Plot the function over the speci ed interval to make sure you've found all the roots.]

Test Cases

The test cases given in this assignment should be used to test that your code uses the required format for inputs and outputs, and to test the correctness of your algorithms. These are examples of only some of the possible test cases; you should perform further testing on your own. You will be graded on more than just the test cases given in this assignment.

Deliverables

Submit the following m- les on bSpace. Be sure that the variable names, le names and function declarations are exactly as speci ed, including spelling and case. Submit the m- files individually; do not zip them. If you submit a le more than once, make sure you remove all
but the newest version of the le. Do not save a draft of your assignment after you submit.

bisectIter.m
newtonRec.m
secant.m
noDivRecip.m
findPolyRoot.m


Related Discussions:- Plot the function

Temperature dependence of vacancy concentrations, write a computer program ...

write a computer program that will provide a user with the equilibrium concentration of vacancies in a metallic element as a function of temperature.Temperature range should be men

Regression, can we use regression in bioinformatics toolbox?

can we use regression in bioinformatics toolbox?

Determine two sided confidence intervals of the mean speed, The average spe...

The average speed of vehicles on a freeway is being studied. Assume that the standard deviation of vehicle speed is known to be 8 km/h. (a) Suppose observations on 120 vehicles

Homework, -The program should run always until the user enters -1 to exit f...

-The program should run always until the user enters -1 to exit from the program. - In the main, you should ask user to input any angles in degrees (Ad) and an integer number (N).

Command reference, Matlab Command Reference 1. Getting Help: The help...

Matlab Command Reference 1. Getting Help: The help command is used to find the functions and its syntax. Similarly, lookfor is used to find the functions or topics. For examp

To change a variable, To change a variable: To change a variable, the ...

To change a variable: To change a variable, the other assignment statement can be used that assigns the value of a different expression to it. Consider, for illustration, the

Illustration to logical function , Illustration to logical function: I...

Illustration to logical function: In addition to such logical operators, the MATLAB also has a function xor, that is the exclusive or function. It returns the logical true if

Write a matlab function, Write a MATLAB function called pgm which calculate...

Write a MATLAB function called pgm which calculates the periodogram. The function inputs should be the length input vector x and its output should be the length N periodogram estim

Calculate the velocity of groundwater, The characteristic properties of an ...

The characteristic properties of an aquifer can be used to calculate groundwater velocities, v groundwater (L/T), according to: where KH (L/T) is the hydraulic conductivit

User-defined functions, User-Defined Functions which return a Single Value:...

User-Defined Functions which return a Single Value: We have seen the use of many functions in the MATLAB. We have used many built-in functions like fix, sin, abs, double, and

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd