ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 16 Jun 2017 21:23:14 -0500Numerically Solve a Symbolic Equationhttp://ask.sagemath.org/question/37980/numerically-solve-a-symbolic-equation/ Hello,
In truth, I am feeling like an idiot but it has been a long while since I have done math.
What I want to do is find the intersection points between a parabola and a circle. After I put both equations in x and set them equal, I have:
var('y')
solve (sqrt(16-x^2) - 1/4*x^2-1.28==0, x)
Problem is, I get the following for answers:
[x == -2/5*sqrt(25*sqrt(-x^2 + 16) - 32), x == 2/5*sqrt(25*sqrt(-x^2 + 16) - 32)]
If I need to numerically solve the equation, which I think I must do, how do I do it in Sage?
happys5Fri, 16 Jun 2017 21:23:14 -0500http://ask.sagemath.org/question/37980/Finding solution to nonlinear equations numerically in a rangehttp://ask.sagemath.org/question/9430/finding-solution-to-nonlinear-equations-numerically-in-a-range/Hi,
this question is probably quite easy to solve. I've got two nonlinear equations with a solution in the range of (0,1). As described in the sage tutorial I tried the following:
var('p t')
eq2 = p==1 - (1 - (1 - (1 - 0.01)^1036)^20)*(1 - t)^(9)
eq1 = t==(2*(1 - 2*p))/((1 - 2*p)*16 + 15*p(1 - (2*p)^1023))
solns = solve([eq1,eq2],t, solution_dict=True)
[[s[t].n(10)] for s in solns]
Unfortunately this doesn't work. In addition I tried find_root, but failed miserably. Any ideas? rnwW6Qz3Mon, 15 Oct 2012 12:15:30 -0500http://ask.sagemath.org/question/9430/