// -y^2 * z^2 - y^2 + 24*y*z - z^2 -13 = 0
// -x^2 * z^2 - x^2 + 24*x*z - z^2 -13 = 0
// -x^2 * y^2 - x^2 + 24*x*y - y^2 -13 = 0
#include <stdio.h>
double f1(double x, double y, double z)
{
return -y*y * z*z - y*y + 24*y*z - z*z -13;
}
double f2(double x, double y, double z)
{
return -x*x * z*z - x*x + 24*x*z - z*z -13;
}
double f3(double x, double y, double z)
{
return -x*x * y*y - x*x + 24*x*y - y*y -13;
}
int main()
{
double x = 0.77954804507915753664;
double y = 0.77954804507915753664;
double z = 0.77954804507915753664;
printf("f1=%.20f\n", f1
(x
,y
,z
)); printf("f2=%.20f\n", f2
(x
,y
,z
)); printf("f3=%.20f\n", f3
(x
,y
,z
)); return 0;
}
Ly8gLXnvvL4yICogeu+8vjIgLSB577y+MiArIDI0KnkqeiAtIHrvvL4yIC0xMyA9IDAKLy8gLXjvvL4yICogeu+8vjIgLSB477y+MiArIDI0KngqeiAtIHrvvL4yIC0xMyA9IDAKLy8gLXjvvL4yICogee+8vjIgLSB477y+MiArIDI0KngqeSAtIHnvvL4yIC0xMyA9IDAKI2luY2x1ZGUgPHN0ZGlvLmg+Cgpkb3VibGUgZjEoZG91YmxlIHgsIGRvdWJsZSB5LCBkb3VibGUgeikKewogICAgICAgIHJldHVybiAteSp5ICogeip6IC0geSp5ICsgMjQqeSp6IC0geip6IC0xMzsKfQpkb3VibGUgZjIoZG91YmxlIHgsIGRvdWJsZSB5LCBkb3VibGUgeikKewogICAgICAgIHJldHVybiAteCp4ICogeip6IC0geCp4ICsgMjQqeCp6IC0geip6IC0xMzsKfQpkb3VibGUgZjMoZG91YmxlIHgsIGRvdWJsZSB5LCBkb3VibGUgeikKewogICAgICAgIHJldHVybiAteCp4ICogeSp5IC0geCp4ICsgMjQqeCp5IC0geSp5IC0xMzsKfQoKaW50IG1haW4oKQp7Cglkb3VibGUgeCA9IDAuNzc5NTQ4MDQ1MDc5MTU3NTM2NjQ7Cglkb3VibGUgeSA9IDAuNzc5NTQ4MDQ1MDc5MTU3NTM2NjQ7Cglkb3VibGUgeiA9IDAuNzc5NTQ4MDQ1MDc5MTU3NTM2NjQ7CgoJcHJpbnRmKCJmMT0lLjIwZlxuIiwgZjEoeCx5LHopKTsKCXByaW50ZigiZjI9JS4yMGZcbiIsIGYyKHgseSx6KSk7CglwcmludGYoImYzPSUuMjBmXG4iLCBmMyh4LHkseikpOwoJcmV0dXJuIDA7Cn0K