Calculations are performed incorrectly
c=1,6
D=800
Q=149
f=1
s=6
console.log(Q,D,s,c,f)
var p=(((2*Q*f*(s-c))/(D+c-s)))
console.log(((2*Q*f*(s-c))/(D+c-s)))
Return 1.8742138364779874 instead of the correct answer, about 1.630034809
New contributor
Йцц is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2