I am trying to show the Newtons law is valid in any frame of reference. Hence testing with a projectile motion. This is what I got in K and K' frame if I solve the differential equation and apply the initial condition for the figure above. 
in K frame: $$x_{2} = \frac{-g}{2v_{0}^2\cos^2(\theta )}x_{1}^2 + \tan(\theta)x_{1}$$
in K' frame: $$x_{1}^{'} = \tan(\theta)x_{2}^{'} + v_{0}\left ( \frac{2x_{2}^{'}}{-g\cos(\theta )} \right )^{1/2}$$
If I plot these two equation for theta = 30, v = 30 and g= 10, I get the following plots, which I dont see the same laws of physics.
In K frame plot:
in K' frame plot:
Why I dont see the same parabolic type graph in both cases? What I am missing to understand?. Thanks for any input.



Newton's Laws imply that the path of a projectile in a non-rotating frame with a uniform gravitational field and no other forces on the projectile during flight will be a parabola whose axis is parallel to the direction of the gravitational field.
In your $K'$ frame the direction of the field is at an oblique angle, not parallel to the axes. Therefore you should expect a parabola whose axis is at an oblique angle.
The use of the square root eliminates part of the solution space so you see only part of the parabola. The other part is given by
$$x'_1 = x'_2 \tan(\theta) - v_0\left(\frac{2x'_2}{-g\cos(\theta)}\right)^{1/2}$$
(that is, by choosing the other square root of $2x'_2/(-g\cos(\theta))$).
You can also rearrange the equation so the term with the square root is alone on the right side,
$$x'_1 - x'_2 \tan(\theta) = v_0\left(\frac{2x'_2}{-g\cos(\theta)}\right)^{1/2},$$
and then square both sides:
$$\left(x'_1 - x'_2 \tan(\theta)\right)^2 = v_0^2\left(\frac{2x'_2}{-g\cos(\theta)}\right).$$
This will give the complete parabola.