%General Case -- KSS
clc;
clear;
format long;
format infsup;

syms x1 x2 x3 x4 x5 x6 x7 x8 x9 x10
f1=x1^2-x1+x2+x3+x4+x5-4;
f2=x2^2+x1-x2+x3+x4+x5-4;
f3=x3^2+x1+x2-x3+x4+x5-4;
f4=x4^2+x1+x2+x3-x4+x5-4;
f5=x5^2+x1+x2+x3+x4-x5-4;
f6=x6^2+x1+x2+x3+x4+x5-2*x6-4;
f7=x7^2+x1+x2+x3+x4+x5-2*x7-4;
f8=x8^2+x1+x2+x3+x4+x5-2*x8-4;
f9=x9^2+x1+x2+x3+x4+x5-2*x9-4;
f10=x10^2+x1+x2+x3+x4+x5-2*x10-4;


F=[f1,f2,f3,f4,f5,f6,f7,f8,f9,f10]
vars=[x1,x2,x3,x4,x5,x6,x7,x8,x9,x10];
zeros=rand(1,10)/1000+1;
appsol=zeros.'
tol= 0.005;

[X,xs] = viss(F,vars,zeros,tol)