(dr))/(2*a);
printf(“x1=%.2f x2=%.2f\n“,x1,x2);
}
if(dr==0)
{
x1=(-b+sqrt(dr))/(2*a);
printf(“x=%.2f\n“,x1);
}
if(dr0)
{
x1=(-b-sqrt(dr))/(2*a);
x2=(-b+sqrt(dr))/(2*a);
printf(“(x1=%.2f,y1=%.2f)“,x1,a1*pow(x1,3)+b1*pow(x1,2)+c*x1+d1);
printf(“(x2=%.2f,y2=%.2f)\n“,x2,a1*pow(x2,3)+b1*pow(x2,2)+c*x2+d1);
}
if(dr==0)
{
x1=(-b+sqrt(dr))/(2*a);
printf(“(x=%.2f,y=%.2f)\n“,x1,a1*pow(x1,3)+b1*pow(x1,2)+c*x1+d1);
}
if(dr<0) print
(本章未完,请点击下一页继续阅读)