Question: Write a program that will generate a table of power (hp) transmitted by a shaft as a function of shaft speed and torque. The shaft speed is to vary from 100 to 500 rpm (in increments of 50 rpm) and the torque is to vary from 1000 in.-kips to 3000 in.-kips (in increments of 500 in.-kips).