TKW+3 =v #1 :n Pd :s b :c diametral pitch #2 :n Se :s b :u psi :d psi :c endurance strength #3 :n Cv :s b :c velocity factor #4 :n k :s b :c parameter relating face width to circular pitch #5 :n yp :s b :c Lewis form factor for pinion #6 :n Tp :s b :u in-lb :d in-lb :c torque on pinion #7 :n V :s b :u ft/min :d ft/min :c pitch line velocity #8 :n åw :s b :u psi :d psi :c allowable working fatigue stress #9 :n F :s b :u in :d in :c face width #10 :n pc :s b :u in :d in :c circular pitch #11 :n mg :s b :c speed ratio #12 :n np :s b :u rev/min :d rev/min :c speed of pinion #13 :n ng :s b :u rev/min :d rev/min :c speed of gear #14 :n D :s b :u in :d in :c pitch diameter of gear #15 :n d :s b :u in :d in :c pitch diameter of pinion #16 :n Ng :s b :c number of teeth in gear #17 :n Np :s b :c number of teeth in pinion #18 :n C :s b :u in :d in :c center distance of gear set #19 :n Wt :s b :u lb :d lb :c tangential force #20 :n HP :s b :u hp :d hp :c input power to pinion =u =l =f =r #1 :r Pd=((Se*Cv*k*(pi()^2)*Np*yp)/(2*Tp))^(1/3) #2 :r Cv=600/(600+V) #3 :r åw=Se*Cv #4 :r k=F/pc #5 :r mg=np/ng #6 :r mg=D/d #7 :r mg=Ng/Np #8 :r pc=(pi()*D)/Ng #9 :r pc=(pi()*d)/Np #10 :r Pd=Ng/D #11 :r Pd=Np/d #12 :r C=.5*(D+d) #13 :r V=pi()*d*np/12 #14 :r Wt=(126000*HP)/(d*np) #15 :r Tp=.5*d*Wt =p =t =n =c =g #1 :c .000001 :i 10 :t 1 %Tv,f,3,0,0,0,0 %Or,f,0,1,0,1,0 %Xf,f,0,0,0,2,0,34,563,36,36,0,2,-1,0,0,2,-15,400,49,0,0,0,MS LineDraw,4,16,26,38,80 %Xu,f,0,0,0,2,0,134,563,36,36,0,3,-1,0,0,2,-15,400,49,0,0,0,MS LineDraw,5,10,20,34,48,80 %Xl,f,0,0,0,2,0,234,563,36,36,0,4,-1,0,0,2,-15,400,49,0,0,0,MS LineDraw,4,10,21,31,80 %Xp,f,0,0,0,2,0,334,563,36,36,0,5,-1,0,0,2,-15,400,49,0,0,0,MS LineDraw,3,13,25,80 %Xt,f,0,0,0,2,0,434,563,36,36,0,6,-1,0,0,2,-15,400,49,0,0,0,MS LineDraw,2,15,80 %Xn,f,0,0,0,2,0,534,563,36,36,0,7,-1,0,0,2,-15,400,49,0,0,0,MS LineDraw,2,15,80 %Xc,f,0,0,0,2,0,634,563,36,36,0,8,-1,0,0,2,-15,400,49,0,0,0,MS LineDraw,3,15,22,80 %Xm,f,0,0,0,0,0,734,563,36,36,0,9,-1,0,0,2,0,0,0,0,0,0,,0 %Xr,f,0,1,0,2,0,22,22,826,437,0,1,-1,0,0,1,-15,400,49,0,0,0,MS LineDraw,2,2,85 %Xv,f,3,0,0,1,0,-4,-23,1032,662,0,0,-1,0,0,3,-15,400,49,0,0,0,MS LineDraw,6,3,13,21,31,41,94