Write Java expression for: |a+b|a2+b2
Advertisements
Question
Write Java expression for:
`(|a + b|)/(sqrt(a^2 + b^2))`
One Line Answer
Advertisements
Solution
double d = Math.abs(a+b)/(Math.sqrt(a*a+b*b));shaalaa.com
Methods of Math Class
Is there an error in this question or solution?
