The primary function of a muscle:
a. depends on the type of muscle.
b. is to convert chemical energy to mechanical work.
c. is to maintain homeostasis.
d. is to shorten and contract.