Question: Suggested activities: Write a Matlab program to define the structure matrix A in ( 2 . 3 4 ) . Then, using the MatlaB

Suggested activities:
Write a Matlab program to define the structure matrix A in (2.34). Then, using the
MatlaB \command or code of your own design, solve the system for the displacements yi
using n=10 grid steps.
Plot the solution from Step 1 against the correct solution
y(x)=(f24EI)x2(x2-4Lx+6L2), where f=f(x) is the constant defined above.
Check the error at the end of the beam, x=L meters. In this simple case the derivative
approximations are exact, so your error should be near machine roundoff.
Rerun the calculation in Step 1 for n=10*2k, where k=1,dots,11. Make a table of the
errors at x=L for each n. For which n is the error smallest? Why does the error begin to
increase with n after a certain point? You may want to make an accompanying table of the
Suggested activities: Write a Matlab program to

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!