Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'FindRoot[Cos[x], {x, 0.2}]' topicStudent Support Forum > General > Archives > "FindRoot[Cos[x], {x, 0.2}]"

Next Comment >Help | Reply To Topic
Author Comment/Response
MBird
02/27/10 1:48pm

Help in understanding FindRoot[]

If I do FindRoot[Cos[x], {x, 0.5}] I get what I expected which is {x -> 1.5708}

But when I do FindRoot for other values between 0 and 1 I would expect to also get {x -> 1.5708} but I do not -- can you help explain why that is?

Examples with their results:
FindRoot[Cos[x], {x, 0.2}] {x -> 4.71239}
FindRoot[Cos[x], {x, 0.1}] {x -> 10.9956}

FindRoot[Cos[x], {x, .300}] {x -> 4.71239}
FindRoot[Cos[x], {x, .309}] {x -> 1.5708}

Thank you!

URL: ,

Subject (listing for 'FindRoot[Cos[x], {x, 0.2}]')
Author Date Posted
FindRoot[Cos[x], {x, 0.2}] MBird 02/27/10 1:48pm
Re: FindRoot[Cos[x], {x, 0.2}] yehuda ben-s... 03/01/10 1:51pm
Next Comment >Help | Reply To Topic