Homework 9 - Can't he leave her loaded? First Draft Due 1pm Friday October 26. Final Draft Due 5pm Monday, October 29

You will load, solve and animate a class of cantilevers like that exhibited above. This one is 4 stories tall and so has 4x2=8 nodes (and so 2x8=16 degrees of freedom) and 4x4=16 fibers. The odd numbered fibers make an angle of &pi/4 with the horizontal. You will write a function

    function cantilever(Ea,F,nof)

where Ea is the 4xnos-by-1 vector of modulus area products, F is the strength of the downward force at the upper right tip, and nof is the number of frames in the resulting movie. We have denoted the number of stories by nos.

If you follow my ordering of the nodes and fibers then your adjacency matrix will exhibit considerable structure. This structure is revealed through Matlab's spy command as in the figure at the upper right.

Your code must accomodate an arbitrary number of stories and it must produce 2 jpeg figures and an avi movie. The first jpeg should come from spy (like that at the upper right) while the other should be a likeness of the Duchampian figure below. This figure, like the movie, is obtained by scaling the vertical load by frame number, as in our moving trailer example.

Your work will be graded as follows:

        First draft
                3 pts for thoughts on coordinates of undeformed cantilever
                3 pts for thoughts on adjacency matrix

        Final draft 
                6 pts for header CONTAINING detailed USAGE
                8 pts for further comments in code 
                4 pts for indentation
                8 pts for correct undeformed coordinates
                8 pts for correct adjacency matrix
                8 pts for correct plotting of deformed cantilever

	        4 pts for labeled jpeg plot of adjacency matrix for nos=6
                4 pts for jpeg of Duchampian cantilever for nos=6
                4 pts for 20 frame avi movie of moving cantilever for nos=6