Skip to main content
saved 12 bytes
Source Link
Arnauld
  • 206.5k
  • 21
  • 189
  • 673

JavaScript (ES7),  77 75  7462 bytes

Based onNow a port of Surculose Sputum's formulaanswer.

f=(a,b,c)=>(g=(x,yn)=>=>n^3&&(x+y+ca+b+c)*(x*xc*c/ya/cb-ya/cb-cb/y+2a+2)**.5)(a,b)+g5+f(b,a)+g(c,a,c=b-~n)

Try it online!Try it online!

JavaScript (ES7),  77 75  74 bytes

Based on Surculose Sputum's formula.

(a,b,c)=>(g=(x,y)=>(x+y+c)*(x*x/y/c-y/c-c/y+2)**.5)(a,b)+g(b,a)+g(c,a,c=b)

Try it online!

JavaScript (ES7), 62 bytes

Now a port of Surculose Sputum's answer.

f=(a,b,c,n)=>n^3&&(a+b+c)*(c*c/a/b-a/b-b/a+2)**.5+f(b,c,a,-~n)

Try it online!

saved 1 byte
Source Link
Arnauld
  • 206.5k
  • 21
  • 189
  • 673

JavaScript (ES7),  77 75  7574 bytes

Based on Surculose Sputum's formula.

(a,b,c)=>(g=(x,y)=>(x+y+c)*((x*x-(/y-c)**2)/c-y/c-c/y+2)**.5)(a,b)+g(b,a)+g(c,a,c=b)

Try it online!Try it online!

JavaScript (ES7),  77  75 bytes

Based on Surculose Sputum's formula.

(a,b,c)=>(g=(x,y)=>(x+y+c)*((x*x-(y-c)**2)/y/c)**.5)(a,b)+g(b,a)+g(c,a,c=b)

Try it online!

JavaScript (ES7),  77 75  74 bytes

Based on Surculose Sputum's formula.

(a,b,c)=>(g=(x,y)=>(x+y+c)*(x*x/y/c-y/c-c/y+2)**.5)(a,b)+g(b,a)+g(c,a,c=b)

Try it online!

saved 2 bytes
Source Link
Arnauld
  • 206.5k
  • 21
  • 189
  • 673

JavaScript (ES7), 77 77  75 bytes

Based on Surculose Sputum's formula.

(a,b,c)=>(a+b+c)*((g=(x,y)=>(x+y+c)*((x*x-(y-c)**2)/y/c)**.5)(a,b)+g(b,a)+g(c,a,c=b))

Try it online!Try it online!

JavaScript (ES7), 77 bytes

Based on Surculose Sputum's formula.

(a,b,c)=>(a+b+c)*((g=(x,y)=>((x*x-(y-c)**2)/y/c)**.5)(a,b)+g(b,a)+g(c,a,c=b))

Try it online!

JavaScript (ES7),  77  75 bytes

Based on Surculose Sputum's formula.

(a,b,c)=>(g=(x,y)=>(x+y+c)*((x*x-(y-c)**2)/y/c)**.5)(a,b)+g(b,a)+g(c,a,c=b)

Try it online!

Source Link
Arnauld
  • 206.5k
  • 21
  • 189
  • 673
Loading