Your task, to replicate this musical frequency is to write a method harmonicSeries that accepts an integer parameter n and retur
ns the sum of the first n reciprocals. In other words: harmonicSeries(n) returns: 1 + 1/2 + 1/3 + 1/4 + ... + 1/n For example, the call of harmonicSeries(2) should return 1.5. The call of harmonicSeries(16) should return 3.3807289932289937. The method should return 0.0 if passed the value 0 and should throw an IllegalArgumentException if passed a value less than 0.
First, find the area of the large rectangle (25*18=450) then find the area of the small square (7.5^2=56.25) finally subtract the small square from the large rectangle