#include<stdio.h>
int main()
{double l,h,m,f;
double episilon=0.0000000000000001;
l=1,h=4;do{m=(l+h)/2;
f=2*m*m*m-4*m*m+3*m-6;
if(f-episilon){
printf("%lf",m);break;
}
if(f<0)
l=m;
else
h=m;
}while(true);
}
#include<stdio.h>
int main()
{double l,h,m,f;
double episilon=0.0000000000000001;
l=1,h=4;do{m=(l+h)/2;
f=2*m*m*m-4*m*m+3*m-6;
if(f-episilon){
printf("%lf",m);break;
}
if(f<0)
l=m;
else
h=m;
}while(true);
}