Let k be a non-zero real number. If f(x)=⎧⎪ ⎪ ⎪ ⎪⎨⎪ ⎪ ⎪ ⎪⎩(ex−1)2sin(xk)log(1+x4),x≠012,x=0 is a continuous function, then the value of k is