标签: java
frequency = ((x * y)) / roomSize / roomSize
如何简化/ roomSize / roomSize?
/ roomSize / roomSize
答案 0 :(得分:3)
frequency = (x * y) / (roomSize * roomSize)
答案 1 :(得分:0)
或者,frequency = x * y * Math.pow(roomSize, -2)
frequency = x * y * Math.pow(roomSize, -2)