- #1
christian0710
- 409
- 9
Hi, Let's say I have a function f(x) = 2*log(x). I know scientists sometimes plot f(x) on the y axis, but then instead of plotting x on the x-axis they plot log (x) such that the graph becomes linear.
How would i plot a function f(x)= 2*log(x) such that it is linear ?
My attemps - Perhaps i don't understand the logic?
I tried doing this: i set log(x)=t, then i have the equation y=2*t which is linear,
Then i find the values from the equation y=2*t
t y
1 2
2 4
3 6
4 8
Then i plot a graph y on the Y axis and ln(x) on the x axis, but i don't get a linear graph when plotting this :(
How would i plot a function f(x)= 2*log(x) such that it is linear ?
My attemps - Perhaps i don't understand the logic?
I tried doing this: i set log(x)=t, then i have the equation y=2*t which is linear,
Then i find the values from the equation y=2*t
t y
1 2
2 4
3 6
4 8
Then i plot a graph y on the Y axis and ln(x) on the x axis, but i don't get a linear graph when plotting this :(