?

Average Accuracy: 52.2% → 67.2%
Time: 28.8s
Precision: binary64
Cost: 26816

?

\[\left(\left(2 \cdot \left({b}^{2} - {a}^{2}\right)\right) \cdot \sin \left(\pi \cdot \frac{angle}{180}\right)\right) \cdot \cos \left(\pi \cdot \frac{angle}{180}\right) \]
\[\cos \left(\frac{\pi}{\frac{180}{angle}}\right) \cdot \left(\left(b + a\right) \cdot \left(\left(b - a\right) \cdot \left(2 \cdot \sin \left(\pi \cdot \left(angle \cdot 0.005555555555555556\right)\right)\right)\right)\right) \]
(FPCore (a b angle)
 :precision binary64
 (*
  (* (* 2.0 (- (pow b 2.0) (pow a 2.0))) (sin (* PI (/ angle 180.0))))
  (cos (* PI (/ angle 180.0)))))
(FPCore (a b angle)
 :precision binary64
 (*
  (cos (/ PI (/ 180.0 angle)))
  (* (+ b a) (* (- b a) (* 2.0 (sin (* PI (* angle 0.005555555555555556))))))))
double code(double a, double b, double angle) {
	return ((2.0 * (pow(b, 2.0) - pow(a, 2.0))) * sin((((double) M_PI) * (angle / 180.0)))) * cos((((double) M_PI) * (angle / 180.0)));
}
double code(double a, double b, double angle) {
	return cos((((double) M_PI) / (180.0 / angle))) * ((b + a) * ((b - a) * (2.0 * sin((((double) M_PI) * (angle * 0.005555555555555556))))));
}
public static double code(double a, double b, double angle) {
	return ((2.0 * (Math.pow(b, 2.0) - Math.pow(a, 2.0))) * Math.sin((Math.PI * (angle / 180.0)))) * Math.cos((Math.PI * (angle / 180.0)));
}
public static double code(double a, double b, double angle) {
	return Math.cos((Math.PI / (180.0 / angle))) * ((b + a) * ((b - a) * (2.0 * Math.sin((Math.PI * (angle * 0.005555555555555556))))));
}
def code(a, b, angle):
	return ((2.0 * (math.pow(b, 2.0) - math.pow(a, 2.0))) * math.sin((math.pi * (angle / 180.0)))) * math.cos((math.pi * (angle / 180.0)))
def code(a, b, angle):
	return math.cos((math.pi / (180.0 / angle))) * ((b + a) * ((b - a) * (2.0 * math.sin((math.pi * (angle * 0.005555555555555556))))))
function code(a, b, angle)
	return Float64(Float64(Float64(2.0 * Float64((b ^ 2.0) - (a ^ 2.0))) * sin(Float64(pi * Float64(angle / 180.0)))) * cos(Float64(pi * Float64(angle / 180.0))))
end
function code(a, b, angle)
	return Float64(cos(Float64(pi / Float64(180.0 / angle))) * Float64(Float64(b + a) * Float64(Float64(b - a) * Float64(2.0 * sin(Float64(pi * Float64(angle * 0.005555555555555556)))))))
end
function tmp = code(a, b, angle)
	tmp = ((2.0 * ((b ^ 2.0) - (a ^ 2.0))) * sin((pi * (angle / 180.0)))) * cos((pi * (angle / 180.0)));
end
function tmp = code(a, b, angle)
	tmp = cos((pi / (180.0 / angle))) * ((b + a) * ((b - a) * (2.0 * sin((pi * (angle * 0.005555555555555556))))));
end
code[a_, b_, angle_] := N[(N[(N[(2.0 * N[(N[Power[b, 2.0], $MachinePrecision] - N[Power[a, 2.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[Sin[N[(Pi * N[(angle / 180.0), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] * N[Cos[N[(Pi * N[(angle / 180.0), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]
code[a_, b_, angle_] := N[(N[Cos[N[(Pi / N[(180.0 / angle), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] * N[(N[(b + a), $MachinePrecision] * N[(N[(b - a), $MachinePrecision] * N[(2.0 * N[Sin[N[(Pi * N[(angle * 0.005555555555555556), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\left(\left(2 \cdot \left({b}^{2} - {a}^{2}\right)\right) \cdot \sin \left(\pi \cdot \frac{angle}{180}\right)\right) \cdot \cos \left(\pi \cdot \frac{angle}{180}\right)
\cos \left(\frac{\pi}{\frac{180}{angle}}\right) \cdot \left(\left(b + a\right) \cdot \left(\left(b - a\right) \cdot \left(2 \cdot \sin \left(\pi \cdot \left(angle \cdot 0.005555555555555556\right)\right)\right)\right)\right)

Error?

Try it out?

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation?

  1. Initial program 52.2%

    \[\left(\left(2 \cdot \left({b}^{2} - {a}^{2}\right)\right) \cdot \sin \left(\pi \cdot \frac{angle}{180}\right)\right) \cdot \cos \left(\pi \cdot \frac{angle}{180}\right) \]
  2. Applied egg-rr24.0%

    \[\leadsto \color{blue}{{\left({\left(\left(\sin \left(\pi \cdot \left(angle \cdot 0.005555555555555556\right)\right) \cdot 2\right) \cdot \left(b \cdot b - a \cdot a\right)\right)}^{3}\right)}^{0.3333333333333333}} \cdot \cos \left(\pi \cdot \frac{angle}{180}\right) \]
    Proof

    [Start]52.2

    \[ \left(\left(2 \cdot \left({b}^{2} - {a}^{2}\right)\right) \cdot \sin \left(\pi \cdot \frac{angle}{180}\right)\right) \cdot \cos \left(\pi \cdot \frac{angle}{180}\right) \]

    add-cbrt-cube [=>]32.6

    \[ \color{blue}{\sqrt[3]{\left(\left(\left(2 \cdot \left({b}^{2} - {a}^{2}\right)\right) \cdot \sin \left(\pi \cdot \frac{angle}{180}\right)\right) \cdot \left(\left(2 \cdot \left({b}^{2} - {a}^{2}\right)\right) \cdot \sin \left(\pi \cdot \frac{angle}{180}\right)\right)\right) \cdot \left(\left(2 \cdot \left({b}^{2} - {a}^{2}\right)\right) \cdot \sin \left(\pi \cdot \frac{angle}{180}\right)\right)}} \cdot \cos \left(\pi \cdot \frac{angle}{180}\right) \]

    pow1/3 [=>]24.0

    \[ \color{blue}{{\left(\left(\left(\left(2 \cdot \left({b}^{2} - {a}^{2}\right)\right) \cdot \sin \left(\pi \cdot \frac{angle}{180}\right)\right) \cdot \left(\left(2 \cdot \left({b}^{2} - {a}^{2}\right)\right) \cdot \sin \left(\pi \cdot \frac{angle}{180}\right)\right)\right) \cdot \left(\left(2 \cdot \left({b}^{2} - {a}^{2}\right)\right) \cdot \sin \left(\pi \cdot \frac{angle}{180}\right)\right)\right)}^{0.3333333333333333}} \cdot \cos \left(\pi \cdot \frac{angle}{180}\right) \]
  3. Applied egg-rr67.3%

    \[\leadsto \color{blue}{\left(\left(b + a\right) \cdot \left(\left(b - a\right) \cdot \left(\sin \left(\pi \cdot \left(angle \cdot 0.005555555555555556\right)\right) \cdot 2\right)\right)\right)} \cdot \cos \left(\pi \cdot \frac{angle}{180}\right) \]
    Proof

    [Start]24.0

    \[ {\left({\left(\left(\sin \left(\pi \cdot \left(angle \cdot 0.005555555555555556\right)\right) \cdot 2\right) \cdot \left(b \cdot b - a \cdot a\right)\right)}^{3}\right)}^{0.3333333333333333} \cdot \cos \left(\pi \cdot \frac{angle}{180}\right) \]

    unpow1/3 [=>]32.6

    \[ \color{blue}{\sqrt[3]{{\left(\left(\sin \left(\pi \cdot \left(angle \cdot 0.005555555555555556\right)\right) \cdot 2\right) \cdot \left(b \cdot b - a \cdot a\right)\right)}^{3}}} \cdot \cos \left(\pi \cdot \frac{angle}{180}\right) \]

    rem-cbrt-cube [=>]52.2

    \[ \color{blue}{\left(\left(\sin \left(\pi \cdot \left(angle \cdot 0.005555555555555556\right)\right) \cdot 2\right) \cdot \left(b \cdot b - a \cdot a\right)\right)} \cdot \cos \left(\pi \cdot \frac{angle}{180}\right) \]

    *-commutative [=>]52.2

    \[ \color{blue}{\left(\left(b \cdot b - a \cdot a\right) \cdot \left(\sin \left(\pi \cdot \left(angle \cdot 0.005555555555555556\right)\right) \cdot 2\right)\right)} \cdot \cos \left(\pi \cdot \frac{angle}{180}\right) \]

    difference-of-squares [=>]52.2

    \[ \left(\color{blue}{\left(\left(b + a\right) \cdot \left(b - a\right)\right)} \cdot \left(\sin \left(\pi \cdot \left(angle \cdot 0.005555555555555556\right)\right) \cdot 2\right)\right) \cdot \cos \left(\pi \cdot \frac{angle}{180}\right) \]

    associate-*l* [=>]67.3

    \[ \color{blue}{\left(\left(b + a\right) \cdot \left(\left(b - a\right) \cdot \left(\sin \left(\pi \cdot \left(angle \cdot 0.005555555555555556\right)\right) \cdot 2\right)\right)\right)} \cdot \cos \left(\pi \cdot \frac{angle}{180}\right) \]
  4. Applied egg-rr67.2%

    \[\leadsto \left(\left(b + a\right) \cdot \left(\left(b - a\right) \cdot \left(\sin \left(\pi \cdot \left(angle \cdot 0.005555555555555556\right)\right) \cdot 2\right)\right)\right) \cdot \cos \color{blue}{\left(\frac{\pi}{\frac{180}{angle}}\right)} \]
    Proof

    [Start]67.3

    \[ \left(\left(b + a\right) \cdot \left(\left(b - a\right) \cdot \left(\sin \left(\pi \cdot \left(angle \cdot 0.005555555555555556\right)\right) \cdot 2\right)\right)\right) \cdot \cos \left(\pi \cdot \frac{angle}{180}\right) \]

    clear-num [=>]67.2

    \[ \left(\left(b + a\right) \cdot \left(\left(b - a\right) \cdot \left(\sin \left(\pi \cdot \left(angle \cdot 0.005555555555555556\right)\right) \cdot 2\right)\right)\right) \cdot \cos \left(\pi \cdot \color{blue}{\frac{1}{\frac{180}{angle}}}\right) \]

    un-div-inv [=>]67.2

    \[ \left(\left(b + a\right) \cdot \left(\left(b - a\right) \cdot \left(\sin \left(\pi \cdot \left(angle \cdot 0.005555555555555556\right)\right) \cdot 2\right)\right)\right) \cdot \cos \color{blue}{\left(\frac{\pi}{\frac{180}{angle}}\right)} \]
  5. Final simplification67.2%

    \[\leadsto \cos \left(\frac{\pi}{\frac{180}{angle}}\right) \cdot \left(\left(b + a\right) \cdot \left(\left(b - a\right) \cdot \left(2 \cdot \sin \left(\pi \cdot \left(angle \cdot 0.005555555555555556\right)\right)\right)\right)\right) \]

Alternatives

Alternative 1
Accuracy67.4%
Cost53193
\[\begin{array}{l} t_0 := angle \cdot \left(\pi \cdot 0.005555555555555556\right)\\ t_1 := {b}^{2} - {a}^{2}\\ \mathbf{if}\;t_1 \leq -8 \cdot 10^{+297} \lor \neg \left(t_1 \leq 2 \cdot 10^{+303}\right):\\ \;\;\;\;\left(b + a\right) \cdot \left(\left(b - a\right) \cdot \left(2 \cdot \sin \left(\pi \cdot \left(angle \cdot 0.005555555555555556\right)\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;2 \cdot \left(\left(b \cdot b - a \cdot a\right) \cdot \left(\sin t_0 \cdot \cos t_0\right)\right)\\ \end{array} \]
Alternative 2
Accuracy67.1%
Cost53193
\[\begin{array}{l} t_0 := {b}^{2} - {a}^{2}\\ \mathbf{if}\;t_0 \leq -8 \cdot 10^{+297} \lor \neg \left(t_0 \leq 5 \cdot 10^{+267}\right):\\ \;\;\;\;\left(b + a\right) \cdot \left(\left(b - a\right) \cdot \left(2 \cdot \sin \left(\pi \cdot \left(angle \cdot 0.005555555555555556\right)\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(2 \cdot \left(b \cdot b - a \cdot a\right)\right) \cdot \left(\cos \left(\pi \cdot \frac{angle}{180}\right) \cdot \sin \left(angle \cdot \left(\pi \cdot 0.005555555555555556\right)\right)\right)\\ \end{array} \]
Alternative 3
Accuracy67.0%
Cost46665
\[\begin{array}{l} t_0 := {b}^{2} - {a}^{2}\\ t_1 := \pi \cdot \left(angle \cdot 0.005555555555555556\right)\\ \mathbf{if}\;t_0 \leq -5 \cdot 10^{+62} \lor \neg \left(t_0 \leq 2 \cdot 10^{+303}\right):\\ \;\;\;\;\left(b + a\right) \cdot \left(\left(b - a\right) \cdot \left(2 \cdot \sin t_1\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\frac{\sin \left(2 \cdot t_1\right) \cdot \left(2 \cdot \mathsf{fma}\left(b, b, a \cdot \left(-a\right)\right)\right)}{2}\\ \end{array} \]
Alternative 4
Accuracy67.1%
Cost46664
\[\begin{array}{l} t_0 := angle \cdot \left(\pi \cdot 0.005555555555555556\right)\\ t_1 := {b}^{2} - {a}^{2}\\ t_2 := \pi \cdot \left(angle \cdot 0.005555555555555556\right)\\ \mathbf{if}\;t_1 \leq 2 \cdot 10^{-263}:\\ \;\;\;\;-2 \cdot \left(a \cdot \left(a \cdot \left(\sin t_0 \cdot \cos t_0\right)\right)\right)\\ \mathbf{elif}\;t_1 \leq 2 \cdot 10^{+303}:\\ \;\;\;\;\frac{\sin \left(2 \cdot t_2\right) \cdot \left(2 \cdot \mathsf{fma}\left(b, b, a \cdot \left(-a\right)\right)\right)}{2}\\ \mathbf{else}:\\ \;\;\;\;\left(b + a\right) \cdot \left(\left(b - a\right) \cdot \left(2 \cdot \sin t_2\right)\right)\\ \end{array} \]
Alternative 5
Accuracy67.3%
Cost26816
\[\cos \left(\pi \cdot \frac{angle}{180}\right) \cdot \left(\left(b + a\right) \cdot \left(\left(b - a\right) \cdot \left(2 \cdot \sin \left(\pi \cdot \left(angle \cdot 0.005555555555555556\right)\right)\right)\right)\right) \]
Alternative 6
Accuracy61.8%
Cost14224
\[\begin{array}{l} t_0 := b \cdot b - a \cdot a\\ t_1 := \sin \left(0.011111111111111112 \cdot \left(\pi \cdot angle\right)\right)\\ t_2 := \frac{-2 \cdot \left(a \cdot \left(a \cdot t_1\right)\right)}{2}\\ \mathbf{if}\;a \leq -9.5 \cdot 10^{+129}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq -2.35 \cdot 10^{-94}:\\ \;\;\;\;\left(2 \cdot t_0\right) \cdot \sin \left(angle \cdot \left(\pi \cdot 0.005555555555555556\right)\right)\\ \mathbf{elif}\;a \leq 5.6 \cdot 10^{-131}:\\ \;\;\;\;\frac{b \cdot \left(2 \cdot \left(b \cdot t_1\right)\right)}{2}\\ \mathbf{elif}\;a \leq 2.1 \cdot 10^{+143}:\\ \;\;\;\;t_0 \cdot \sin \left(2 \cdot \left(\pi \cdot \left(angle \cdot 0.005555555555555556\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 7
Accuracy61.8%
Cost14224
\[\begin{array}{l} t_0 := b \cdot b - a \cdot a\\ t_1 := \sin \left(0.011111111111111112 \cdot \left(\pi \cdot angle\right)\right)\\ t_2 := \frac{-2 \cdot \left(a \cdot \left(a \cdot t_1\right)\right)}{2}\\ \mathbf{if}\;a \leq -9 \cdot 10^{+152}:\\ \;\;\;\;t_2\\ \mathbf{elif}\;a \leq -6.5 \cdot 10^{-123}:\\ \;\;\;\;\left(2 \cdot t_0\right) \cdot \sin \left(\pi \cdot \frac{angle}{180}\right)\\ \mathbf{elif}\;a \leq 6 \cdot 10^{-131}:\\ \;\;\;\;\frac{b \cdot \left(2 \cdot \left(b \cdot t_1\right)\right)}{2}\\ \mathbf{elif}\;a \leq 3.3 \cdot 10^{+143}:\\ \;\;\;\;t_0 \cdot \sin \left(2 \cdot \left(\pi \cdot \left(angle \cdot 0.005555555555555556\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t_2\\ \end{array} \]
Alternative 8
Accuracy61.4%
Cost14096
\[\begin{array}{l} t_0 := \sin \left(0.011111111111111112 \cdot \left(\pi \cdot angle\right)\right)\\ t_1 := \left(b \cdot b - a \cdot a\right) \cdot t_0\\ \mathbf{if}\;b \leq -6.5 \cdot 10^{+149}:\\ \;\;\;\;0.011111111111111112 \cdot \left(\pi \cdot \left(b \cdot \left(b \cdot angle\right)\right)\right)\\ \mathbf{elif}\;b \leq -9.6 \cdot 10^{-115}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;b \leq 1.95 \cdot 10^{-59}:\\ \;\;\;\;\frac{-2 \cdot \left(a \cdot \left(a \cdot t_0\right)\right)}{2}\\ \mathbf{elif}\;b \leq 2.3 \cdot 10^{+152}:\\ \;\;\;\;t_1\\ \mathbf{else}:\\ \;\;\;\;b \cdot \left(0.011111111111111112 \cdot \left(angle \cdot \left(b \cdot \pi\right)\right)\right)\\ \end{array} \]
Alternative 9
Accuracy59.1%
Cost14092
\[\begin{array}{l} t_0 := \sin \left(0.011111111111111112 \cdot \left(\pi \cdot angle\right)\right)\\ t_1 := \frac{-2 \cdot \left(a \cdot \left(a \cdot t_0\right)\right)}{2}\\ \mathbf{if}\;a \leq -9.2 \cdot 10^{-80}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 5.6 \cdot 10^{-131}:\\ \;\;\;\;\frac{b \cdot \left(2 \cdot \left(b \cdot t_0\right)\right)}{2}\\ \mathbf{elif}\;a \leq 6.2 \cdot 10^{+143}:\\ \;\;\;\;\left(b \cdot b - a \cdot a\right) \cdot \sin \left(2 \cdot \left(\pi \cdot \left(angle \cdot 0.005555555555555556\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 10
Accuracy59.1%
Cost13964
\[\begin{array}{l} t_0 := \sin \left(0.011111111111111112 \cdot \left(\pi \cdot angle\right)\right)\\ t_1 := \frac{-2 \cdot \left(a \cdot \left(a \cdot t_0\right)\right)}{2}\\ \mathbf{if}\;a \leq -9.2 \cdot 10^{-80}:\\ \;\;\;\;t_1\\ \mathbf{elif}\;a \leq 6 \cdot 10^{-131}:\\ \;\;\;\;\frac{b \cdot \left(2 \cdot \left(b \cdot t_0\right)\right)}{2}\\ \mathbf{elif}\;a \leq 4.2 \cdot 10^{+113}:\\ \;\;\;\;\left(b \cdot b - a \cdot a\right) \cdot t_0\\ \mathbf{else}:\\ \;\;\;\;t_1\\ \end{array} \]
Alternative 11
Accuracy60.1%
Cost13833
\[\begin{array}{l} \mathbf{if}\;a \leq -1.4 \cdot 10^{+154} \lor \neg \left(a \leq 1.35 \cdot 10^{+154}\right):\\ \;\;\;\;0.011111111111111112 \cdot \left(a \cdot \left(a \cdot \left(\pi \cdot \left(-angle\right)\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(b \cdot b - a \cdot a\right) \cdot \sin \left(0.011111111111111112 \cdot \left(\pi \cdot angle\right)\right)\\ \end{array} \]
Alternative 12
Accuracy52.5%
Cost13704
\[\begin{array}{l} t_0 := 0.011111111111111112 \cdot \left(a \cdot \left(a \cdot \left(\pi \cdot \left(-angle\right)\right)\right)\right)\\ \mathbf{if}\;a \leq -1.6 \cdot 10^{-75}:\\ \;\;\;\;t_0\\ \mathbf{elif}\;a \leq 1.15 \cdot 10^{-137}:\\ \;\;\;\;2 \cdot \left(\left(b \cdot b\right) \cdot \sin \left(\pi \cdot \left(angle \cdot 0.005555555555555556\right)\right)\right)\\ \mathbf{elif}\;a \leq 1.15:\\ \;\;\;\;0.011111111111111112 \cdot \left(b \cdot \left(angle \cdot \left(b \cdot \pi\right)\right)\right)\\ \mathbf{elif}\;a \leq 8.6 \cdot 10^{+148}:\\ \;\;\;\;\left(angle \cdot 0.011111111111111112\right) \cdot \left(\pi \cdot \left(b \cdot b - a \cdot a\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t_0\\ \end{array} \]
Alternative 13
Accuracy65.8%
Cost13696
\[\left(b + a\right) \cdot \left(\left(b - a\right) \cdot \left(2 \cdot \sin \left(\pi \cdot \left(angle \cdot 0.005555555555555556\right)\right)\right)\right) \]
Alternative 14
Accuracy55.6%
Cost7689
\[\begin{array}{l} \mathbf{if}\;a \leq -4.9 \cdot 10^{+153} \lor \neg \left(a \leq 2.3 \cdot 10^{+141}\right):\\ \;\;\;\;0.011111111111111112 \cdot \left(a \cdot \left(a \cdot \left(\pi \cdot \left(-angle\right)\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\pi \cdot \left(-0.011111111111111112 \cdot \left(angle \cdot \left(a \cdot a\right)\right) + 0.011111111111111112 \cdot \left(angle \cdot \left(b \cdot b\right)\right)\right)\\ \end{array} \]
Alternative 15
Accuracy55.5%
Cost7433
\[\begin{array}{l} \mathbf{if}\;a \leq -7.5 \cdot 10^{+153} \lor \neg \left(a \leq 3.1 \cdot 10^{+113}\right):\\ \;\;\;\;0.011111111111111112 \cdot \left(a \cdot \left(a \cdot \left(\pi \cdot \left(-angle\right)\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;0.011111111111111112 \cdot \left(angle \cdot \left(\pi \cdot \left(b \cdot b - a \cdot a\right)\right)\right)\\ \end{array} \]
Alternative 16
Accuracy55.6%
Cost7433
\[\begin{array}{l} \mathbf{if}\;a \leq -1.28 \cdot 10^{+154} \lor \neg \left(a \leq 9.2 \cdot 10^{+148}\right):\\ \;\;\;\;0.011111111111111112 \cdot \left(a \cdot \left(a \cdot \left(\pi \cdot \left(-angle\right)\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;0.011111111111111112 \cdot \left(\left(b \cdot b - a \cdot a\right) \cdot \left(\pi \cdot angle\right)\right)\\ \end{array} \]
Alternative 17
Accuracy55.7%
Cost7433
\[\begin{array}{l} \mathbf{if}\;a \leq -2.5 \cdot 10^{+153} \lor \neg \left(a \leq 9 \cdot 10^{+148}\right):\\ \;\;\;\;0.011111111111111112 \cdot \left(a \cdot \left(a \cdot \left(\pi \cdot \left(-angle\right)\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;angle \cdot \left(\left(b \cdot b - a \cdot a\right) \cdot \left(\pi \cdot 0.011111111111111112\right)\right)\\ \end{array} \]
Alternative 18
Accuracy50.8%
Cost7241
\[\begin{array}{l} \mathbf{if}\;a \leq -1.06 \cdot 10^{-75} \lor \neg \left(a \leq 11500000000000\right):\\ \;\;\;\;0.011111111111111112 \cdot \left(a \cdot \left(a \cdot \left(\pi \cdot \left(-angle\right)\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;0.011111111111111112 \cdot \left(b \cdot \left(angle \cdot \left(b \cdot \pi\right)\right)\right)\\ \end{array} \]
Alternative 19
Accuracy48.7%
Cost7177
\[\begin{array}{l} \mathbf{if}\;b \leq -44000 \lor \neg \left(b \leq 10^{-50}\right):\\ \;\;\;\;0.011111111111111112 \cdot \left(b \cdot \left(angle \cdot \left(b \cdot \pi\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;angle \cdot \left(-0.011111111111111112 \cdot \left(a \cdot \left(a \cdot \pi\right)\right)\right)\\ \end{array} \]
Alternative 20
Accuracy40.2%
Cost7176
\[\begin{array}{l} \mathbf{if}\;b \leq -2.5 \cdot 10^{+144}:\\ \;\;\;\;0.011111111111111112 \cdot \left(b \cdot \left(angle \cdot \left(b \cdot \pi\right)\right)\right)\\ \mathbf{elif}\;b \leq 2 \cdot 10^{+14}:\\ \;\;\;\;0.011111111111111112 \cdot \left(\pi \cdot \left(angle \cdot \left(b \cdot b\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;0.011111111111111112 \cdot \left(b \cdot \left(\pi \cdot \left(b \cdot angle\right)\right)\right)\\ \end{array} \]
Alternative 21
Accuracy48.7%
Cost7176
\[\begin{array}{l} \mathbf{if}\;b \leq -14600:\\ \;\;\;\;\left(b \cdot \left(b \cdot angle\right)\right) \cdot \left(\pi \cdot 0.011111111111111112\right)\\ \mathbf{elif}\;b \leq 2.6 \cdot 10^{-49}:\\ \;\;\;\;angle \cdot \left(-0.011111111111111112 \cdot \left(a \cdot \left(a \cdot \pi\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;0.011111111111111112 \cdot \left(b \cdot \left(angle \cdot \left(b \cdot \pi\right)\right)\right)\\ \end{array} \]
Alternative 22
Accuracy48.7%
Cost7176
\[\begin{array}{l} \mathbf{if}\;b \leq -5500:\\ \;\;\;\;\left(b \cdot \left(b \cdot angle\right)\right) \cdot \left(\pi \cdot 0.011111111111111112\right)\\ \mathbf{elif}\;b \leq 3 \cdot 10^{-53}:\\ \;\;\;\;angle \cdot \left(-0.011111111111111112 \cdot \left(a \cdot \left(a \cdot \pi\right)\right)\right)\\ \mathbf{else}:\\ \;\;\;\;0.011111111111111112 \cdot \left(\left(b \cdot angle\right) \cdot \left(b \cdot \pi\right)\right)\\ \end{array} \]
Alternative 23
Accuracy38.0%
Cost6912
\[0.011111111111111112 \cdot \left(b \cdot \left(angle \cdot \left(b \cdot \pi\right)\right)\right) \]

Error

Reproduce?

herbie shell --seed 2023151 
(FPCore (a b angle)
  :name "ab-angle->ABCF B"
  :precision binary64
  (* (* (* 2.0 (- (pow b 2.0) (pow a 2.0))) (sin (* PI (/ angle 180.0)))) (cos (* PI (/ angle 180.0)))))