Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Third Programming Assignment

1. >> f=@(x) x^3-sin(x)



f =

@(x)x^3-sin(x)

>> x = fzero(f, x0)

x =

0

>> x = fzero(f, 5)

x =

0.9286

>> x = fzero(f, 60)

x =

-0.9286

You might also like