Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
var('g_a')
eq=g_a == -31375155/31496372*sqrt(-4/5*g_a + 1) + 31375155/31496372*sqrt(4/5*g_a + 8) - 35/8
solve(eq,g_a,to_poly_solve=True)
[g_a == (-35/8)]
var('g_a')
eq=g_a == -31375155/31496372*sqrt(-4/5*g_a + 1) + 31375155/31496372*sqrt(4/5*g_a + 8) - 35/8
solve(eq,g_a,to_poly_solve=True)
[g_a == (-35/8)]
bool(eq.subs(g_a=-35/8))
#True