diff options
Diffstat (limited to 'index.html')
| -rw-r--r-- | index.html | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -227,8 +227,8 @@ r = document.getElementById('r' + id).value.replace(",", "."); f = ( Math.PI * Math.pow((d/2),2) ); - fr = ( Math.PI * Math.pow((d-r)/2,2) ); - frpp = (( Math.PI * Math.pow((d)/2,2) ) - ( Math.PI * Math.pow((d-r)/2,2) )); + fr = ( Math.PI * Math.pow((d/2)-r,2) ); + frpp = (( Math.PI * Math.pow((d)/2,2) ) - ( Math.PI * Math.pow((d/2)-r,2) )); v = fr / frpp; fp = f / p; frp = fr / p; |
