Python Code
Full Code:
Commentary:
The code creates an instance of the classes 'DriverSlider' and 'DrivenSlider'. Looking at figure 3, the Driver slider links are links 2 and 3, while the driven slider classes are links 4 and 5.
The code would call a loop for θ2 in range 0 degrees to 360 degrees. The loop would solve for the position of C, θ4, and θ5. Next it will solve for the derivatives 'C, ω4, and ω5.
These lists of positions and velocities of the initial stages were used to solve for the total position of all points in the system for the animation and then the mechanical advantage.
Finally the data points were plotted and saved.
Figure 3, Initial linkages of the clank sliders.
Welcome to the University Wiki Service! Please use your IID (yourEID@eid.utexas.edu) when prompted for your email address during login or click here to enter your EID. If you are experiencing any issues loading content on pages, please try these steps to clear your browser cache.