clc clear //input v=0.6//speed m=0.3//mass //calculation e=0.75*m*v*v//total kinetic energy is kinetic energy+moment of inertia //output printf("the total kinetic energy is %3.3f J",e)