The solid shaft ABC of length L and variable diameter d is attached to rigid supports at A and C. A torque T acts at the distance b from end A. Given L, b, and d(x), write an algorithm to compute the fraction of T that is carried by segments AB and BC. Use
(a) L = 200 mm,
(b) = 110 mm, and

