Simplifications for Modeling
Let's assume that gravity is not an issue here. (Once you include the gravitational attraction from one planet, you're dealing with an improper integral, typically dealt with in second semester calculus. With 3 or more planets, you're dealing with a graduate level problem, that, IIRC, is still open.)
Now, you're dealing with a period of acceleration, followed by a a period of constant velocity, followed by a period of negative acceleration.
One problem with your setup is that you can't accelerate by some amount of force without knowing the mass of the spacecraft. It's better to say that you accelerate at, say, a rate of $10^{-6}$ of the speed of light every second (that is, $\sim 300 m/s^2$).
Working the Problem
So, we accelerate at a constant rate of $300$ meters per second per second (meaning, we advance around 1 Mach number every second) until we reach $1.499x10^8$ meters per second. We use this formula, which calculates velocity as a function of time, assuming constant acceleration:
$$v = at + v_0$$
We start at rest, so $v_0 = 0$. The acceleration is 300, and the final velocity (v) is $1.499\times10^6$
Thus, we have:
$$1.499\times 10^6 = 300t$$
Solving for $t$ yields 500,000 seconds.
So, it takes 500,000 seconds to accelerate to $0.5c$, where $c$ is the speed of light.
It will also take 500,000 seconds to decelerate at the end, as our acceleration constant is the same.
So, we have $1,000,000$ seconds accounted for in the flight. We want to travel a distance of 50 light-years, denoted $D$.
How far will those $1,000,000$ seconds take us? Well, we have a position formula under constant acceleration:
$$x = \frac{a}{2}t^2 + v_0t$$
So, we have:
$$x = 150t^2$$
$$x = 150(500,000)^2$$
$$x = 3.75\times 10^{13}$$
So, on the first leg of the journey (we haven't coasted yet), we'll travel $3.75 \times 10^{13}$ meters.
While we're coming to rest:
$$x = 150t^2 + 1.499\times 10^6t$$
Plugging in as above yields a distance traveled of approx $3.82\times10^{13}$ meters.
So, we have to travel $50 \text{ light years} - 3.82\times10^{13}\text{meters} - 3.75 \times 10^{13} \text{meters} \approx 49.99 \text{light years}$. (calculation here)
This is essentially 50 light years, so the acceleration time could have been ignored.
Traveling 50 light years at one half the speed of light will take 100 years.
Analysis
Note that the mathematical model that we used was overly complex. Because of the distances and speeds involved, it doesn't really matter if you accelerate or instantly assume the target speed.
One could account for relativity because of the speed involved, but (per my physics teacher), it doesn't have much effect until you're hitting around 70%+ the speed of light.
Hope this helps, let me know if you have questions.