You are on page 1of 1

) function [ Dsh ] = Shaft( taw,Teq

Calculate Shaft%
Function get the shear stress > taw .. and Torque > Teq from %
outside

Getting the Diameter from the formula%


;d = (pi/16) * taw *Teq

"get the cubic root of "d%

Dsh = (nthroot(d,3))/1000 ; %Dsh in mm

;)'fprintf('%s %f %s \n','Dsh = ',Dsh, ' mm

end

You might also like