Mathematical model for isometric and isotonic muscle contractions.