Wouldn't that depend on how many miles you get to gallon?
The question is incomplete. The complete question is :
Let X be a random variable with probability mass function
P(X =1) =1/2, P(X=2)=1/3, P(X=5)=1/6
(a) Find a function g such that E[g(X)]=1/3 ln(2) + 1/6 ln(5). You answer should give at least the values g(k) for all possible values of k of X, but you can also specify g on a larger set if possible.
(b) Let t be some real number. Find a function g such that E[g(X)] =1/2 e^t + 2/3 e^(2t) + 5/6 e^(5t)
Solution :
Given :

a). We know :
![$E[g(x)] = \sum g(x)p(x)$](https://tex.z-dn.net/?f=%24E%5Bg%28x%29%5D%20%3D%20%5Csum%20g%28x%29p%28x%29%24)
So, 

Therefore comparing both the sides,


Also, 
b).
We known that ![$E[g(x)] = \sum g(x)p(x)$](https://tex.z-dn.net/?f=%24E%5Bg%28x%29%5D%20%3D%20%5Csum%20g%28x%29p%28x%29%24)
∴ 

Therefore on comparing, we get

∴ 
Here is how to solve the given problem above.
Given that the calculator costs $32 and has a tax of 6%, what we are going to do is to find how much is 6% of 32. So 32 times 0.06 is 1.92. So, we add this amount to 32 dollars, and the total price would be 33.92 dollars. Hope this answer helps.
Answer:
y=3x+4/5
Step-by-step explanation:
y-4+4=3x+5y+4
y=3x+5y+4
5y/5=3x+4/5
y=3x+4 over 5