Give a piece-wise function p(x) where p(2)=5 and p(-1)=3

p(x) = for x<0, p(x)=3

for x>0, P(x)=2x+1

give a logarithmic function g(x) such that g(49)=2

g(x)=logbase7(x)

Give two functions f(x) and g(x) such that f(g(2))=7

f(x) = 7

g(x) = whatever you want.

Maybe a bit more specific constraints?

i still don't get it.

Thanks

it doesn't matter what value g(2) is, because f(x)=7 whatever x is.

On a bit more realistic note, you can dream up lots of scenarios. Looking at exponential stuff, for instance,

suppose f(0) = 7. So, we could say

f(x) = 2x^2+9x+7
Then, all we need is some g(x) such that g(2) = 0. Since f(0) = 7, f(g(2)) will be 7.

So, let g(x) = 3^x - 9

Now we have

f(g(2)) = f(3^2-9) = f(0) = 7

Thanks

Give two functions f(x) and g(x) such that (fg)(-1)=4

To define a piecewise function p(x), we need to specify its different parts or cases. In this case, the function should have different values for x = 2 and x = -1. We can write the piecewise function p(x) as follows:

p(x) = {
5, if x = 2,
3, if x = -1
}

This means that when x equals 2, the function value is 5, and when x equals -1, the function value is 3.