To find the cost of putting up the fence around the garden, we first need to calculate the perimeter of the square garden. Since a square has all sides equal in length, we can use the formula: perimeter = 4 x side length.
Given that the area of the garden is 225 square feet, we can find the side length by taking the square root of the area. The square root of 225 is 15, so each side of the square garden is 15 feet long.
Now we can calculate the perimeter by multiplying the side length by 4: 15 x 4 = 60 feet.
The cost of the fence per linear foot is $4.50. To find the total cost, we multiply the perimeter (60 feet) by the cost per linear foot ($4.50): 60 x $4.50 = $270.
Therefore, it will cost $270 to put the fence up all the way around the garden.