Fuga
Registered User.
- Local time
- Today, 14:31
- Joined
- Feb 28, 2002
- Messages
- 566
Ok, so I´m continuing the thread here.
First, I have a reference column, containing values of a rising temperature. This is a straight line in a graph.
My goal is to simulate variances of the temperature, given the straight line. I want to do this by creating "perfect" waves around the line.
I use one cosinus column to simulate an "upward" arch, and another cosinus column to simulate the "downward" arch.
Now the upward arch should begin whenever the downward arch crosses the straight line, and vice versa.
The cosinus functions get their value from another column (well one each of course) where the value of X in cosX starts at a minus value and counting up, thus passing X=0 which is maximum for cosinus function (the downward curve is simply the inversion of this curve).
So to summarize:
Whenever cosinus column A crosses the straight line it sets of cosinus column B (starting at a minus value for X).
The problem is excel is simply calculating wrong. For example the X counting doesn´t start allthough there is an intersection, or it starts regardless of the intersection.
Does anyone have a suggestion?
Fuga.
First, I have a reference column, containing values of a rising temperature. This is a straight line in a graph.
My goal is to simulate variances of the temperature, given the straight line. I want to do this by creating "perfect" waves around the line.
I use one cosinus column to simulate an "upward" arch, and another cosinus column to simulate the "downward" arch.
Now the upward arch should begin whenever the downward arch crosses the straight line, and vice versa.
The cosinus functions get their value from another column (well one each of course) where the value of X in cosX starts at a minus value and counting up, thus passing X=0 which is maximum for cosinus function (the downward curve is simply the inversion of this curve).
So to summarize:
Whenever cosinus column A crosses the straight line it sets of cosinus column B (starting at a minus value for X).
The problem is excel is simply calculating wrong. For example the X counting doesn´t start allthough there is an intersection, or it starts regardless of the intersection.
Does anyone have a suggestion?
Fuga.