can you solve it for matlab
Q3.(30 points a Use Newton-Raphson method to approximate a root of equation
3x+sinx-e=0
in the interval [0,1] within an absolute precision 10- b) Use Secants method to approximate a root of equation
3x+sinx-ex=0
in the interval [0,1] within an absolute precision 10-5