Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Help with this in matlab. Exercise 0: If you are unfamiliar or need a refresher on MATLAB, read the MATLAB primer that can be downloaded
Help with this in matlab.
Exercise 0: If you are unfamiliar or need a refresher on MATLAB, read the MATLAB primer that can be downloaded from Module Week 1." Exercise 1: Use MATLAB to write a function to get the element stiffness matrix for each element. The inputs of the function should be E, A, and L, and the output should be the 2 x 2 stiffness matrix. Thus your function header should look like: function [ k ] = Local. Stiffness( E, A, L ) Exercise 2: For the bar assemblages shown as following, determine (a) the nodal displacements, (b) the forces in each element, (c) the reactions at the walls, and (d) the internal forces in each bar element. Your script should, in this order: (Separate each step by a line of white space and a comment line explaining what the next few lines of code do.) Both Files should have appropriate header comments. 1) A few lines defining the parameters (Lengths, Cross Sectional Areas, Young's Modulus, Magnitude of Force applied at Node 2). For full credit, your final program must be able to solve for different numerical values of the simply by changing the values listed in this section. given values 2) Calls to the function generated in Exercise 1 to obtain the local stiffness matrixes for each element. 3) Assemble the global matrix. 4) Modify/apply boundary conditions to the global matrix equations 5) Find and display the solutions 2 3 30 kN 4 E-210 GPa, A 3 x 10 m2, A2- A A4 2 x 10 m2Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started