Ask Your Question

rnwW6Qz3's profile - activity

2017-10-21 11:11:59 +0200 received badge  Notable Question (source)
2014-04-15 14:56:38 +0200 received badge  Popular Question (source)
2012-10-15 19:15:30 +0200 asked a question 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?