A community for students. Sign up today

Here's the question you clicked on:

inkyvoyd 2 years ago Anyone know how to plot the points {81,79,78,77,76,75,74,73,73,72,71.5,71,70,69.7,69,68.5,67,66.7,66} with exponential regression on mathematica? More details coming up

• This Question is Closed
1. inkyvoyd

I want to do the plot that mathematica shows here http://www.wolframalpha.com/input/?i=exponential+regression&a=*C.exponential+regression-_*Calculator.dflt-&f2= {81%2C79%2C78%2C77%2C76%2C75%2C74%2C73%2C73%2C72%2C71.5%2C71%2C70%2C69.7%2C69%2C68.5%2C67%2C66.7%2C66}&x=0&y=0&f=ExponentialFitCalculator.data_{81%2C79%2C78%2C77%2C76%2C75%2C74%2C73%2C73%2C72%2C71.5%2C71%2C70%2C69.7%2C69%2C68.5%2C67%2C66.7%2C66}&a=*FVarOpt.1-_***ExponentialFitCalculator.data--.***ExponentialFitCalculator.data2---.*--

2. inkyvoyd

The problem is that the plaintext input it gives me is this: Normal[NonlinearModelFit[{{1, 81}, {2, 79}, {3, 78}, {4, 77}, {5, 76}, {6, 75}, {7, 74}, {8, 73}, {9, 73}, {10, 72}, {11, 71.5}, {12, 71}, {13, 70}, {14, 69.7}, {15, 69}, {16, 68.5}, {17, 67}, {18, 66.7}, {19, 66}}, a E^(b x), {{c, 80.3818}, {b, -0.0104954}}, x]] This doesn't return any results on mathematica or wolfram alpha http://www.wolframalpha.com/input/?i=Normal [NonlinearModelFit[{{1%2C+81}%2C+{2%2C+79}%2C+{3%2C+78}%2C+{4%2C+77}%2C+{5%2C+76}%2C+{6%2C+75}%2C+{7%2C+74}%2C+{8%2C+73}%2C+{9%2C+73}%2C+{10%2C+72}%2C+{11%2C+71.5}%2C+{12%2C+71}%2C+{13%2C+70}%2C+{14%2C+69.7}%2C+{15%2C+69}%2C+{16%2C+68.5}%2C+{17%2C+67}%2C+{18%2C+66

3. inkyvoyd

On mathematica I am getting error "NonlinearModelFit::nrlnum: "The function value {-81.+0.989559\ a,-79.+0.979228\ a,-78.+0.969004\ a,-77.+0.958887\ a,-76.+0.948876\ a,<<9>>,-69.+0.854336\ a,-68.5+0.845416\ a,-67.+0.836589\ a,-66.7+0.827855\ a,-66.+0.819212\ a} is not a list of real numbers with dimensions {19} at {c,b} = {80.3818,-0.0104954}.""

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy