EP 241 Computer Programming
 


EP241 - Homework


Square-Circle

Write a Fortran program that reads the one side, b, of the biggest square shown in Figure and then evaluates total area of blues and yellows separately.

Note that the squares and circles become smaller up to infinity.
However, the calculation is enough for the first 25 square-circle.

SOLUTION