I have an elliptic curve $$x^3+17x+5 \mod 59$$
$P = (4,14)$ is given and I need to find point $8P$.
to calculate $8P$, I first calculated $2P$
by using the equation sigma = 3x^2+a/2y = (3*4^2+17)/(2*14) mod 59 = 65/28 mod 59 = 2.3214 mod 59.
x3 = sigma^2-2x = -2.61 mod 59 y3 = sigma(x1-x3)-y = 1.312 mod 59
so 2p = (56.39,1.312) , Are these answers correct or should I get integer values?
There are various ways to do this, but I will use the method you show.
We are given the elliptic curve
$$x^3+17x+5 \pmod{59}$$
We are asked to find $8P$ for the point $P = (4,14)$.
I will do one and you can continue.
We have:
$$\lambda = \dfrac{3 x_1^2 + A}{2 y_1} = \dfrac{3 \times 4^2 + 17}{2 \times 14} = \dfrac{65}{28} = 65 \times 28^{-1} \pmod{59} = 65 \times 19 \pmod{59} = 55$$
Recall, we are finding a modular inverse over a field as $28^{-1} \pmod{59}$ and not division!
Next, we have:
$$\nu = y_1 - \lambda x_1 \pmod{59} = 14 - 55 \times 4 \pmod{59} = -206 \pmod{59} = 30$$
Now we can find $(x_3, y_3)$ as:
For you to practice (although you do not actually need each of these points to find $8P$ and there is point multiplication like $4 \times 2P$ and others that can make the calculations much shorter), here are all of the intermediate points:
Three excellent references on the matter: