views:

38

answers:

0

I need to solve three nonlinear simultaneous equations

y1 = exp(-(r1 +r2)*t)
y2 = (r1/((r3+r4)-(r1+r2)))*[exp(-[r1+r2]*t) - exp(-[r3+r4]*t)]
y3 = (r1/((r5+r6)-(r1+r2)))*[exp(-[r1+r2]*t) - exp(-[r5+r6]*t)]

where y1, y2, y3 and t is known and i aim to find r1, r2... r6. I need to do this using genetic algorithm. Can someone provide me teh codz.