Create a programming algorithm to calculate the necessary

Assignment Help MATLAB Programming
Reference no: EM133350771

Computational Method for Aerostructures

Problem Statement

You are required to create a programming algorithm to calculate the necessary displacement of nodes for one-dimensional elements. Your program should consist of the following functions that are written as a separate function file:

Table 1: Functions for one-dimensional elements

Function file name

Description

Input

Output

Gauss_Elim.m

To perform gauss elimination on

a square matrix and output the solution

Assuming [A][x] = [b], inputs are [A] and [b]

[x]

Bar_Elem.m

To determine the stiffness matrix and forcing matrix by considering one-dimensional bar elements and calculate the nodal displacement of each

node

A, E, nodal matrix, element connectivity matrix

Nodal displacements

Truss_Elem.m

To determine the stiffness matrix and forcing matrix by considering one-dimensional truss elements and calculate the nodal displacement of each

node

A, E, nodal matrix, element connectivity matrix

Nodal displacements

Beam_Elem.m

To determine the stiffness matrix and forcing matrix by considering one-dimensional beam elements and calculate the nodal displacement of each

node

E, I, nodal matrix, element connectivity matrix

Nodal displacements     / angle

Your Task

You will need to create the functions listed in Table 1. You will need to create the Gauss_Elim.m function first, which solves matrices using the Gauss Elimination method. You will need to call this function every time you are required to solve a matrix. DO NOT use the in-built functions to solve matrices.

For the other three functions, based on the given inputs, your functions should:

1. Be able to accept the inputs listed in Table 1 for any size matrix

2. Determine the stiffness and forcing matrix of each element

3. Form the global stiffness and forcing matrix

4. Based on the boundary conditions, reduce the matrix by removing the rows and columns corresponding to a solution of zero displacements or zero angles.

5. Calculate the nodal displacements or angles and the corresponding deformed coordinates for each node

6. Output the nodal displacements and plot the deformed structure based on the determined deformed coordinates
Note that your program should also have an error detection algorithm to detect incorrect/invalid inputs. For instance, it should be able to detect if a node is missing.

Try to complete the program for one type of element first. For the other types, the code will be somewhat similar. You just have to make a small tweak to it only.

Attachment:- Computational Method for Aerostructures.rar

Reference no: EM133350771

Questions Cloud

How would the ethical decisions of leadership impact : How would the ethical decisions of leadership impact the performance of employees in addressing the problem of crime, and improve employees' ability to address
Statistical significance and null hypothesis : Describe the null hypothesis. Describe the three commonly reported levels for statistical significance when testing the null hypothesis.
How the leadership of the nypd considered the ethical : How the leadership of the NYPD considered the ethical concerns of the community in addressing crime and how were the concerns of internal and external
List four risks of juans problem behavior in the nursing : list four risks of Juan's problem behavior in the nursing home using the ABA procedure setting and why? list four benefits of Juan's problem behavior
Create a programming algorithm to calculate the necessary : MKMF 2013 Computational Method for Aerostructures, University of Technology Malaysia - create a programming algorithm to calculate the necessary displacement
Functionalism are two of three perspectives in sociology : Conflict theory and functionalism are two of the three main perspectives in sociology.
What community service you recommend to give back to society : Describe and say to be a Good, Healthy Role Model for a Young Adult Be Specific about the Characteristics and Values Needed to Be a Good Role Model Include
Forgiveness and reconciliation be dependent on imagination : How could forgiveness and reconciliation be dependent on imagination?What implications does have for role of explaining temptation in interpersonal relationship
What aspects of the research demonstrated their beliefs : What aspects of the research demonstrated their beliefs about race as a concept? In your own opinion, did the authors demonstrate having a biological

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Find the centre position and the radius of the sphere

Knowing the points are from a sphere surface, find the centre position and the radius of the sphere such that the N three dimensional (3D) points

  Demand constraint project

Represents the penalization for the demand in e-vehicle that cannot be met. This term must be considered per time step lets assume that demand at time step

  Create functions in file

Create Functions in File and how to code this function - Declare function inputs, and outputs

  Receives one number as an input argument

Write a function per2 that receives one number as an input argument. The function has a persistent variable that sums the values passed to it. Here are the first two time the function is called

  Calculate and plot the polynomials

Write a script to calculate and plot the polynomials, and then perform simple arithmetic on them - This question belongs to MATLAB software and discusses about application of MATLAB in mathematics to solve polynomials and to perform certain operati..

  Script that will prompt the user for the reynolds number

Write a script that will prompt the user for the Reynolds number of a flow and will print the region the flow is in.

  Write a script that will loop through values

Write a script that will loop through values of n until the difference between the approximation and the actual value is less than 0.0001.

  Find and plot the joint trajectories

ROBOTICS-INDUSTRIAL ROBOTS, ANALYSIS AND APPLICATIONS-Find and plot the joint trajectories which would move origin of the hand on a straight line

  Make a program that will graph the parabolas

Make a program that will graph the parabolas each parabola a different color and put all the parabolas in the same figure or graph

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Paper based on nonlinear matlab programming

You need to prepare a paper based on nonlinear matlab programming and silulation results with matlab code.

  Plot the real and imaginary parts of the signal phasor

Plot the real and imaginary parts of the signal phasor (without noise) for one segment and Plot the measured and theoretical probabilities of error against

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd