Homework #6

All problems MUST be in a SINGLE *.m file and be in separate blocks using '%% Problem X'. Otherwise you will not receive credit. You may need additional files for class definitions or functions. See class webpage for naming convention.

Contents

Problem 1

Solve the following system of equations for $x$ , $y$ and $z$ using a matrix inverse. Check your answer.

$4x+3y+3z=6$

$x+10y+4z=0$

$8x+3z=6$

Problem 2

Plot the Bessel function of the first kind, $J_0(x)$, from 0 to 10. Use the secant method to find the first positive zero crossing.

Note:

help besselj

Problem 3

Use Newton's method to find the first positive zero crossing of $J_0(x)$

Note: The derivative of $J_0(x)$ is $-J_1(x)$

Problem 4

Use the secant method to find the first minimum of $J_0(x)$.