mathematics problem - (and excel)
#1
Scooby Regular
Thread Starter
Join Date: Sep 2001
Location: Bangor, Northern Ireland
Posts: 2,033
Likes: 0
Received 0 Likes
on
0 Posts
![Post](https://www.scoobynet.com/images/icons/icon1.gif)
folks
this has been pissing me off all afternoon.
in excel i have a graph (and it looked exponential so i added a trendline) and it give me the formula of the curve as
y = 1444e^(-0.1802x)
well the ^ and () weren't there but i used that so you know what it looks like.
so, if i plug in x as 80 i should get 96 but i get all sorts of values nowhere near this, like -7000 and such like.
can anyone get it to give the correct value?
cheers
steven
[Edited by midget1500 - 8/24/2003 6:54:51 PM]
this has been pissing me off all afternoon.
in excel i have a graph (and it looked exponential so i added a trendline) and it give me the formula of the curve as
y = 1444e^(-0.1802x)
well the ^ and () weren't there but i used that so you know what it looks like.
so, if i plug in x as 80 i should get 96 but i get all sorts of values nowhere near this, like -7000 and such like.
can anyone get it to give the correct value?
cheers
steven
[Edited by midget1500 - 8/24/2003 6:54:51 PM]
#3
Scooby Regular
Thread Starter
Join Date: Sep 2001
Location: Bangor, Northern Ireland
Posts: 2,033
Likes: 0
Received 0 Likes
on
0 Posts
![Post](https://www.scoobynet.com/images/icons/icon1.gif)
okay - as you can see the generated curve is very close so i'm guessing excel has given me the wrong formula??? don't want to rant off about good old MS, but we shall see ![Smile](https://www.scoobynet.com/images/smilies/smile.gif)
![](http://www.powercars.co.uk/curve.jpg)
[Edited by midget1500 - 8/24/2003 10:52:09 PM]
![Smile](https://www.scoobynet.com/images/smilies/smile.gif)
![](http://www.powercars.co.uk/curve.jpg)
[Edited by midget1500 - 8/24/2003 10:52:09 PM]
#5
Scooby Regular
Thread Starter
Join Date: Sep 2001
Location: Bangor, Northern Ireland
Posts: 2,033
Likes: 0
Received 0 Likes
on
0 Posts
![Post](https://www.scoobynet.com/images/icons/icon1.gif)
yeah, that is the closest by far - so i'm now guessing excel is showing the wrong formula - i.e., it's not like the results are a wee bit out (from the graph) but bloody lightyears away!
#6
Scooby Regular
Thread Starter
Join Date: Sep 2001
Location: Bangor, Northern Ireland
Posts: 2,033
Likes: 0
Received 0 Likes
on
0 Posts
![Post](https://www.scoobynet.com/images/icons/icon1.gif)
ok - a log curve isn't as close but i've added that and the formula is also miles out, i.e. for x=80 it gives y=700 or something (not 96). i guess i'm either really stupid or excel is pants.
![](http://www.powercars.co.uk/curve2.jpg)
steven
![](http://www.powercars.co.uk/curve2.jpg)
steven
#7
Scooby Regular
Join Date: Sep 2002
Location: The biosphere
Posts: 7,824
Likes: 0
Received 0 Likes
on
0 Posts
![Post](https://www.scoobynet.com/images/icons/icon1.gif)
Thats really weird. You don't have a random spurious data point that we can't see do you?
What are your data values, I can try duplicating the problem here...
What are your data values, I can try duplicating the problem here...
Trending Topics
#8
Scooby Regular
Thread Starter
Join Date: Sep 2001
Location: Bangor, Northern Ireland
Posts: 2,033
Likes: 0
Received 0 Likes
on
0 Posts
![Post](https://www.scoobynet.com/images/icons/icon1.gif)
nope, my data is (X then Y)
10
15
20
25
30
35
40
45
50
55
60
65
70
75
80
85
90
95
100
-------------------
1,405
1,111
885
711
575
468
384
317
263
219
184
155
132
112
96
82
71
62
54
cheers
steven
10
15
20
25
30
35
40
45
50
55
60
65
70
75
80
85
90
95
100
-------------------
1,405
1,111
885
711
575
468
384
317
263
219
184
155
132
112
96
82
71
62
54
cheers
steven
#10
Scooby Regular
Thread Starter
Join Date: Sep 2001
Location: Bangor, Northern Ireland
Posts: 2,033
Likes: 0
Received 0 Likes
on
0 Posts
![Post](https://www.scoobynet.com/images/icons/icon1.gif)
man that is perfect!!!
i'm using excel 2000 (9.0.2720)
i can't believe f**king excel has just wasted about 8 hours of my sunday. bloody microsoft![Roll Eyes (Sarcastic)](https://www.scoobynet.com/images/smilies/rolleyes.gif)
cheers man, you're a star! time to find out what is wrong with excel now...(just tried a new spreadsheet with those values in case something mad was happening but nope, exact same crap)
steven
i'm using excel 2000 (9.0.2720)
i can't believe f**king excel has just wasted about 8 hours of my sunday. bloody microsoft
![Roll Eyes (Sarcastic)](https://www.scoobynet.com/images/smilies/rolleyes.gif)
cheers man, you're a star! time to find out what is wrong with excel now...(just tried a new spreadsheet with those values in case something mad was happening but nope, exact same crap)
steven
#12
Scooby Regular
Thread Starter
Join Date: Sep 2001
Location: Bangor, Northern Ireland
Posts: 2,033
Likes: 0
Received 0 Likes
on
0 Posts
![Post](https://www.scoobynet.com/images/icons/icon1.gif)
no - i don't have an intercept option set.
are you using that exact same revision of excel 2000?
cheers
steven
oh, and if you do set the intercept the line is visually wrong anyhow...mine looks right - just the bloody formula is wrong
[Edited by midget1500 - 8/24/2003 11:38:48 PM]
are you using that exact same revision of excel 2000?
cheers
steven
oh, and if you do set the intercept the line is visually wrong anyhow...mine looks right - just the bloody formula is wrong
[Edited by midget1500 - 8/24/2003 11:38:48 PM]
#14
Scooby Regular
Thread Starter
Join Date: Sep 2001
Location: Bangor, Northern Ireland
Posts: 2,033
Likes: 0
Received 0 Likes
on
0 Posts
![Post](https://www.scoobynet.com/images/icons/icon1.gif)
damn it! same version - well, i'm running windows2k pro sp4 - not that this *should* make any difference. of to see if microsoft have a solution...
#16
Scooby Regular
Thread Starter
Join Date: Sep 2001
Location: Bangor, Northern Ireland
Posts: 2,033
Likes: 0
Received 0 Likes
on
0 Posts
![Red face](https://www.scoobynet.com/images/icons/icon11.gif)
![Roll Eyes (Sarcastic)](https://www.scoobynet.com/images/smilies/rolleyes.gif)
got it to work - using scatter chart instead of line chart (so, is this a bug or my very small brain being stoopid)?
many thanks
steven
#17
Scooby Regular
Join Date: Sep 2002
Location: The biosphere
Posts: 7,824
Likes: 0
Received 0 Likes
on
0 Posts
![Post](https://www.scoobynet.com/images/icons/icon1.gif)
ah, that sort of makes sense...
Unless you use scatter graph excel will not recognise the true values of X, it just uses the numbers you give it as labels and spaces them out evenly.
God only knows how it came up with the answer it did though!
Unless you use scatter graph excel will not recognise the true values of X, it just uses the numbers you give it as labels and spaces them out evenly.
God only knows how it came up with the answer it did though!
#18
Scooby Regular
Thread Starter
Join Date: Sep 2001
Location: Bangor, Northern Ireland
Posts: 2,033
Likes: 0
Received 0 Likes
on
0 Posts
![Post](https://www.scoobynet.com/images/icons/icon1.gif)
so line graphs in excel aren't really curves or anything, just pretty pictures whereas scatter graphs are actual mathematical models? if so then why the hell does it let you select to perform add trendline? just for visual fun? ok, then disable the formula bit - other graph types obviously don't let you add the line.
cheers anyhow - at least i can continue on my merry way
cheers anyhow - at least i can continue on my merry way
![Big Grin](https://www.scoobynet.com/images/smilies/biggrin.gif)
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
28 December 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
18 November 2015 07:03 AM
bluebullet29
General Technical
9
05 October 2015 02:17 PM