I have an Excel formula
=180*((B10/B9)*(((B10/B9)^2+((B12/B9)*2)^2)^-0,5)*BOOGTAN((((B10/B9)^2+((B12/B9)*2)^2)^-0,5))+((B10/B9)/WORTEL(1+((B12/B9)*2)^2))/(B10/B9)*BOOGTAN((B10/B9)/WORTEL(1+((B12/B9)*2)^2)))/(2*PI())
Which I converted to PHP
$straling = 180*(($gevelhoogte/$gevelbreedte)*((($gevelhoogte/$gevelbreedte)^2+(($afstand/$gevelbreedte)*2)^2)^-0.5)*atan(((($gevelhoogte/$gevelbreedte)^2+(($afstand/$gevelbreedte)*2)^2)^-0.5))+(($gevelhoogte/$gevelbreedte)/sqrt(1+(($afstand/$gevelbreedte)*2)^2))/($gevelhoogte/$gevelbreedte)*atan(($gevelhoogte/$gevelbreedte)/sqrt(1+(($afstand/$gevelbreedte)*2)^2)))/(2*PI());
But now, for some reason the outcome isn't equal. I expect it has somethingto do with (( vs )).
Can someone please help here?