Question: calculation error

i cannot understand why the software is giving me such a stupid error???

can anybody please help!

> restart;
> with(plots):
 
> T:=1000;
P:=30;
A:=8;
B:=18;
C:=0;
E:=0;
er:=1.2;
saf:=(A+B/4-C);
>
> t:=T/1000;(2.743-1.761/t-1.1611/t^2+0.2803/t^3);
> K:=exp(2.743-1.761/t-1.1611/t^2+0.2803/t^3);
> a1:=1-K;
> d1:=2*saf*(1-1/er);
> c1:=-A*d1*K;
> b1:=B/2+K*A-d1*(1-K);
>
> if er<=1 then
 n1:=A;
 n2:=B/2;
 n3:=E/2+3.76*saf/er;
 n4:=saf*(1-1/er);
 n5:=0;n6:=0;
else
 n1:=A-(-b1+(b1*b1-4*a1*c1)^.5)/(2*a1);
 n2:=B/2-d1+(-b1+(b1*b1-4*a1*c1)^.5)/(2*a1);
 n3:=E/2+3.76*saf/er;
 n4:=0;
 n5:=(-b1+(b1*b1-4*a1*c1)^.5)/(2*a1);
 n6:=d1-(-b1+(b1*b1-4*a1*c1)^.5)/(2*a1);
end if;
>
> N:=n1+n2+n3+n4+n5+n6;
>
>
>
>
>
 the value of K should be 0.705
maple is doing an error calculating it and i cant understand why.
please help me.
Please Wait...