And labeling only two points is not enough to determine the equation of the red curve, since there are an infinite number of curves that match those two points.
Dim b As Double = (Math.Log(y2) - Math.Log(y1)) / (x2 - x1)
Dim a As Double = Math.Log(y1) - b * x1
Dim logY3 As Double = a + b * x3
'Below is the final part of the puzzle :)
Dim y3 as Double = Math.Pow(10, logY3) '<= is this correct?
If you are experiencing a similar issue, please ask a related question
Title | # Comments | Views | Activity |
---|---|---|---|
pressure on a wall | 10 | 58 | |
Proportion | 4 | 43 | |
Word Problem | 4 | 76 | |
Calculating Standard Deviation inside Excel. | 5 | 83 |
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
19 Experts available now in Live!