This preview shows page 1. Sign up to view the full content.
Unformatted text preview: 180 degrees, and one between 180 degrees and 360 degrees). Have your function pick the answer between 0 and 180 degrees, and have it return 1 if it is given unreasonable inputs. Dont waste any time trying to find a formula for the angle. Just in case it isnt obvious, this is your bisection search exercise. The angle returned by your function must be with 0.001 degrees of the correct value. Combine your two functions with an appropriately modified version of the main program from the pulleys example. Optional Extra (for keeners): Assuming that the crankshaft is rotating at a uniform speed (angle = omega * t), find the maximum piston speed. Note that differentiating the formula for piston position gives the formula for piston velocity, and that differentiating again gives the formula for piston acceleration. The peak velocity occurs when the acceleration is zero....
View
Full
Document
This note was uploaded on 02/27/2010 for the course ENG ECOR taught by Professor N/a during the Spring '10 term at Carleton CA.
 Spring '10
 N/A

Click to edit the document details