The purpose of this assignment is to familiarize yourself with the basics of finite element programming. Part of that is shape functions and gaussian quadrature. Both of these will be useful for the final project as well. Specifically the following tasks are to be performed: 1. Write a Matlab script (m-file) that uses Gaussian quadrature to evaluate integrals of first order (linear) and second order (quadratic) polynomials in 1D. Create a function that determines the Gauss point locations and weights based on an input number of points. Create a function that has the polynomial transformed from x to ? coordinates. And finally create a function that uses the other two to compute the value of the integral. 3 2. Write a Matlab script (m-file) that computes the 1D linear shape functions given nodal coordinates at a location x inside that element. Create a function that takes nodal coordinates x1 and x2 and a location x1 = x = x2, that computes the values of the shape function matrix [N], the derivatives in [B], and the mapping jacobian J.Attachments:IMG-4817.jpg IMG-4816.jpgGet a 10 % discount on an order above $ 100 . . The post Create a function that determines the Gauss point locations and weights based on an input number of points appeared first on Brainy Term Papers.
GET AN ANSWER TO THIS ESSAY TODAY!
Save time and grade. Get a complete paper today.
Our leading custom writing service provides custom written papers in 80+ disciplines. Order essays, research papers, term papers, book reviews, assignments, dissertation, thesis or extensive dissertations & our expert ENL writers will easily prepare a paper according to your requirements.
Place this order today and get an amazing discount!!