Let h(x) be differentiable for all x and let f(x)=(kx+ex)h(x) where k is some constant If h(0)=5,h′(0)=−2 and f′(0)=18 then the value of k is equal to
The correct option is B (3)
Given f(x)=(kx+ex)h(x) and also h(0)=5,h′(0)=−2 and f′(0)=18
Differentiating with respect to x, we get
f′(x)=(kx+ex)h′(x)+h(x)(k+ex)
Put x=0, we get
⇒f′(0)=(0+e0)h′(0)+h(0)(k+e0)
So, f′(0)=(0+1)h′(0)+h(0)(k+1)
⇒18=−2+5(k+1)
⇒18+2=5k+5
⇒5k+5=20
⇒5k=15
∴k=3