Question: Maple toolbox for matlab is not able to solve non-linear problem ,Error, (in combine/ln) numeric exception: overflow

I want to sovle two equations given as a function
G1 and G2
G1 is defined as
function y = G1(x)
y = (2*x*log(2*x)+(1-x)*log(1-x))+(.0009*x*(1-x));
G2 is Defined as

function y = G2(x)
y = x*log(x)+(1-x)*log(1-x);


when I solve the wquations using code
syms x1;
syms x2;
ans=solve(((G1(x2))-(G2(x1))/(x2-x1))-diff((G1(x1)),x1),((G1(x2))-(G2(x1))/(x2-x1))-diff((G2(x2)),x2),X1,X2);
following error occur


??? Error using ==> sym.solve at 73
Error using ==> maplemex
Error, (in combine/ln) numeric exception: overflow

Error in ==> solve_ at 7
ans=solve(((G1(x2))-(G2(x1))/(x2-x1))-diff((G1(x1)),x1),((G1(x2))-(G2(x1))/(x2-x1))-diff((G2(x2)),x2));
>>
Please help me!!!

Thanks in Advance!!!






Please Wait...