Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Problem with find fit' topicStudent Support Forum > General > Archives > "Problem with find fit"

Next Comment >Help | Reply To Topic
Author Comment/Response
Al
02/24/11 7:52pm

Hello people!

I've bumped into this funny problem I illustrate by:



In[146]:= dat = .3 + .5 Cos[#]^2 & /@ Range[0, 2 \[Pi], .1];
FindFit[dat, a + b Cos[x]^2, {a, b}, x]

Out[147]= {a -> 0.550042, b -> 0.00124613}

Values for a and b are way off. Why?

URL: ,

Subject (listing for 'Problem with find fit')
Author Date Posted
Problem with find fit Al 02/24/11 7:52pm
Re: Problem with find fit Patrick 02/25/11 09:18am
Re: Problem with find fit Isaac 02/25/11 10:53am
Next Comment >Help | Reply To Topic