To calculate the total cost for the fence, we need to find the perimeter of the fence and then multiply it by the cost per foot.
Given:
Length of the fence = 20 feet
Width of the fence = 45 feet
Cost per foot = $25
To find the perimeter of the fence, we can use the formula:
Perimeter = 2 × (Length + Width)
Substituting the given values:
Perimeter = 2 × (20 + 45)
= 2 × 65
= 130 feet
Now, to calculate the total cost, we multiply the perimeter by the cost per foot:
Total Cost = Perimeter × Cost per foot
= 130 feet × $25/foot
= $3250
Therefore, Danny will spend a total of $3250 for the fence.