Step 1: Convert pitch angle to radians
Step 2: Calculate roof slope length
Step 3: Calculate the number of purlins
Step 4: Calculate total purlin length based on roof type