Question: Error, `-` unexpected

I am trying to solve this set of equations ,but i have spent a lot of time rewriting the equations and changing the signs..but i cant get rid of this erroe and solve it for the unknowns.....could anyone tell me what am i doing wrong ?

k1vals:=[169.7662,1481.894,9260.411]:

k2vals:=[1.0889,0.7873,0.60432]:

h1vals:=[22.8947,25.9618,29.0708]:

h2vals:=[-86.3961,-83.02,-79.5941]:

h3vals:=[-356.109,-350.556,-344.905]:

h4vals:=[-212.375,-350.556,-344.905]:

h5vals:=[-31.1687,-23.6689,-15.7705]:

h6vals:=[29.2084,32.5816,36.0019]:

wvals:=[0.46,0.5945,0.7395]:

    S := {seq({k1=k1vals[i], k2=k2vals[i], h1=h1vals[i],h2=h2vals[i],h3=h3vals[i],h4=h4vals[i],h5=h5vals[i],h6=h6vals[i],w=wvals[i]}, i=1..3)};

(1)

 

    sys:={a2+a3+a5-1, 2*a1+2*a4+4*a5-1.6-(2*w),a2+2*a3+a4-0.66-w-(2*m), (k2*a2*a4)-(a1*a3), (k1*((a1+a2+a3+a4+a5)^2)*(a5*a4))-(a1^3*a2),-202.86+(w*-221.862)-(h1*a1)-(h2*a2)-(h3*a3)-(h4*a4)-(h5*a5)-(m*3.76*h6)};

Error, `-` unexpected

 

    sols := {seq(seq([op(i),op(j)], j=RootFinding:-Isolate(subs(i,sys),[a1,a2,a3,a4,a5,m])),i=S)};

Error, (in RootFinding:-Isolate) symbolic coefficients are not supported, {sys}

 



Download FESC_pine.mw

Please Wait...