# Thread:

1. ## Finding formula for a function

I need to find the formula for this function, and i'm not sure what to do...

Code:
```x     f(x)
-2    -25.22
0      3.50
2      32.22
4      60.94
6      89.66```
I've looked all over the internet and can't find anything to help me out

2. Originally Posted by JAMESveeder
I need to find the formula for this function, and i'm not sure what to do...

Code:
```x     f(x)
-2    -25.22
0      3.50
2      32.22
4      60.94
6      89.66```
I've looked all over the internet and can't find anything to help me out
We can model the function using a linear equation.

Note that when x increases by 2, f(x) increases by 28.72

Since $f(0)=3.5=b$ and the slope of the line is $m=\frac{28.72}{2}=14.36$, it follows that the equation of the line is $f(x)=mx+b=14.36x+3.50$.

3. Originally Posted by JAMESveeder
I need to find the formula for this function, and i'm not sure what to do...

Code:
```x     f(x)
-2    -25.22
0      3.50
2      32.22
4      60.94
6      89.66```
I've looked all over the internet and can't find anything to help me out
Try plotting it!

It's a straight line passing through (0,3.5) and with slope 14.36

CB

4. Great explanation, thank you!

You can't use the same method for an exponential function though, can you?

5. Originally Posted by JAMESveeder
Great explanation, thank you!

You can't use the same method for an exponential function though, can you?
No. For an exponential function, you would need to find a common RATIO. In other words, you need to find what each number is MULTIPLIED by to get the next.

6. So with this:
Code:
```x      g(x)
.5     -1
1       0
2       1
4       1
8       3```
Each number is multiplied by 2

So how would I apply that to the explanation that was said before?

7. Originally Posted by JAMESveeder
So with this:
Code:
```x      g(x)
.5     -1
1       0
2       1
4       2
8       3```
Each number is multiplied by 2

So how would I apply that to the explanation that was said before?
you would find the line through the data: $x,\ \log_2(g(x))$ .. or on second thoughts $\log_2(x),\ g(x)$

CB

8. Ah, thanks CaptainBlack

This helps a lot, thanks very much guys.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 5, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9619163274765015, "perplexity_flag": "head"}