The 30-kg gear is subjected to a force of P = (20t) N, where t is in seconds. Determine the angular velocity of the gear at t = 4 s, starting from rest. Gear rack B is fixed to the horizontal plane, and the gears radius of gyration about its mass center O is kO = 125 mm.
BE 1500 – Fall 2016 HW 5 Due: October 13, 2016 (1:30 P.M.) 1. Write a code for repmat; the only built-in commands you are allowed to use are input, size, and disp. A=input('matrix '); [m,n]=size(A); z=input('replicated rows '); y=input('replicated columns '); for i=1:m for j=1:n B(i:m:z*m,j:n:y*n)=A(i,j); end end disp(B) 4 points 1 point for comments 1 point for setting up outermost loop (1:m) 1 point for setting up innermost loop (1:n) 1 point for correct answer There are other ways to do this code other than what was given; check to see their correct answers. Take off 1 point per bui