Quartic with 3 distinct roots Consider a quartic equation 
$$x^4 – kx^3 + 11x^2 – kx + 1 = 0$$
The value of $k$ so that given equation has three real and distinct solutions can be equal to -                                                                        i think that for any four degree to have 3 roots, its $f'(x)$ should have two zero and by the same way its $f''(x)$ should have one zero which means that the determinant of $f''(x)$ should be zero but this is wrong since the correct answer to this question is $\frac{13}{2}$.

You already know a polynomial having one distinct root whose derivative has one root: $f(x) = x^2$.  It is not automatic that the number of distinct roots decreases when you take the derivative of a polynomial -- the total number of roots (including multiplicities) decreases by one.  So if it is one of the multiple roots that is removed, the number of distinct roots is unchanged.
A different way to go after $k$, which shows that $k = -13/2$ also works (and explains why $k = \pm 6$ does not).
A fourth degree polynomial has four roots.  Non-real roots come in conjugate pairs, so if three roots are real, all four roots are real.  If there are only three distinct real roots, one root is duplicated.  Therefore, your polynomial factors as \begin{align*}
    p(x) = (x-a)^2(x-b)(x-c)  \text{.}
\end{align*} (We may take all coefficients of the "$x$"s in the factors to be $1$ because the given polynomial has leading coefficient $1$.  This isn't essential, but it is a little convenient.  If the given polynomial's leading coefficient were not $1$, we would merely multiply $p$ by this coefficient.)  Multiplying out, we get \begin{align*}
    p(x) = x^4 &+ (-2a-b-c) x^3 + (a^2 + 2ab + 2ac + bc) x^2  \\
    &+(-a^2 b - a^2 c - 2 a b c)x + a^2 b c  \text{.}
\end{align*}  Comparing coefficients, we get \begin{align*}
    1 &= 1 & [x^4]  \\
    -k &= -2a - b - c  & [x^3]  \\
    11 &= a^2 + 2ab + 2ac + bc  & [x^2]  \\
    -k &= -a^2 b - a^2 c - 2 a b c  & [x^1] \\
    1 &= a^2 b c  & [x^0] \\
\end{align*}
We can solve this system.  (Useful observations, $c[x^1]$ can eliminate its first RHS term with $[x^0]$, $b[x^1]$ eliminates the second, ans $a[x^1]$ eliminates the third.  $a[x^2]$ eliminates $a^2b + a^2c$ with $[x^1]$ and with a numerical coefficient, eliminates $abc$ with it.  And so on...)
We eventually find solutions with $k = \pm 6$ or $k = \pm 13/2$, but when $k = \pm 6$, $b=c$, so there are only two distinct real roots and we must discard those potential solutions.  Therefore, $k = \pm 13/2$.  Then $a = \pm 1$, with the same sign as $k$ and $b,c = \pm \frac{1}{4}(9 \pm \sqrt{65})$, where the leading $\pm$ matches the sign of $k$ and the inner $\pm$ distinguishes $b$ from $c$.  This gives all solutions and both satisfying values of $k$.
