If I try to solve the following equation there are still a_x on the
right hand side. In my opinion it should be solvable.

Or is there an error in my code?

thanks

Jakob

reset()
var('x v_x a_x t y v_y a_y a')
d = (x + v_x * t + 1/2*a_x*t**2)**2 + (y + v_y * t + 1/2 *
a_y*t**2)**2
var('m')
e = d(a_y=sqrt(a**2 - a_x**2)); show(e.expand())
print(solve(e == m, a_x))

>>
[
a_x == -1/4*(a^2*t^4 + 4*(v_x^2 + v_y^2)*t^2 + 8*(v_x*x + v_y*y)*t +
4*x^2 + 4*y^2 + 4*sqrt(a^2 - a_x^2)*(t^3*v_y + t^2*y) - 4*m)/(t^3*v_x
+
t^2*x)
]

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to