Develop a routine to integrate the governing equations

Assignment Help MATLAB Programming
Reference no: EM131123678

Computing Project

Axial Bar

The computing project Axial Bar concerns the solution of the problem of a prismatic bar in a uniaxial state of stress with a variable load. The goal is to write a MATLAB program that will allow the solution for a variety of load distributions and for all possible bounda- ry conditions (i.e., fixed or free at either end).

The theory needed to execute this project is contained in the set of notes (entitled CP 1- Axial Bar) that accompany this problem statement.

Those notes provide an introduction to each aspect of the computation required to solve the problem. The general steps are as follows:

1. CP 1.1. Develop a routine based upon Simpson's Rule to numerically integrate the applied loads and moments of the applied loads. This code segment will pro- duce the quantities I0 and I1 that are mentioned in the CP1 notes. To get this part working it would be a good idea to get your code to integrate some functions that you can do easily by hand (e.g., the constant or linear functions). This step will be referred to as CP1.1, which is the first benchmark with an intermediate due date for this project. The main deliverable is the working code for Simpson's Rule, verified for several functions.

2. CP 1.2. Develop a routine to set up and solve the system of equations that allow for the determination of the state variables (u and N) at both ends of the bar. This step will require some logic to make it work easily for different boundary condi- tion cases (it should cover all of them). Debug your code with a problem that you can solve by hand (e.g., bar fixed at one end with a uniformly distributed load). This step will be referred to as CP 1.2, which is the second benchmark with an intermediate due date for this project. The main deliverable is a working code that does the Simpson integration for I0 and I1 and then forms and solves the ap- propriate matrix equation to find the end state.

3. Develop a routine to integrate the governing equations from the left end to the right end using generalized trapezoidal rule to do the integration numerically. Store the results at each step along the axis and provide a plot of the applied load p, the axial displacement u, and the net axial force N as functions of x. Note that the number of generalized trapezoidal rule segments does not have to be the same as the number of Simpson segments. This step completes the code for CP 1. In- clude all three parts in the final report.

4. Structure your code so that you can easily change the loading function. Include simple load forms (constant, linear ramp up from left to right, linear ramp down from right to left, trapezoidal distribution, sinusoidal distribution, and a patch load over an interior part of the rod-from x=a to x=b). Verify, by hand calcula- tion the code with a simple load form (e.g., uniform load). Use your collection of load functions to explore aspects of the problem. For example:

a. Explore how the distribution of load affects the displacement and internal variation of axial force.

b. Investigate a distributed load over a small segment of the bar (with no load over the rest of it) to see how a distributed load in the limit does the same thing as a concentrated load. If you find that the numerical integration rules are not accurate, increase the number of segments..

c. Explore how the state variables work to meet the boundary conditions (e.g., the slope of the displacement function should go to zero at a free end).

d. Explore any other feature of the problem that you find interesting.

Write a report documenting your work and the results (in accord with the specification given in the document Guidelines for Doing Computing Projects). Post it to the Critviz website prior to the deadline. Note that you can view the intermediate benchmark codes and reports and a single code and a single report to which you just keep adding infor- mation. So you are just doing one report, but you are handing in progress reports twice before the final submission.

Please consult the document Evaluation of Computing Projects to see how your project will be evaluated to make sure that you can get full marks. Note that there is no peer re- view process for reports in this course.

Attachment:- Computing_Projects.rar

Reference no: EM131123678

Questions Cloud

What is the default risk premium on one year bank loans : A. What is the amount of the maturity risk premium on one-year versus five-year U.S. government securities? B. What is the amount of the maturity risk premium on one-year versus five-year bank loans? C. What is the default risk premium on one-year ba..
Some of the planning strategies that russ : What are some of the planning strategies that Russ might have used that would possibly have positively affected the outcome of the strategic plan execution?
What is the inflation premium expected at this time : A. If the real rate of interest is expected to be 3 percent annually, what is the inflation premium expected at this time? B. What is the amount of the total risk premium that Voice River will have to pay? C. If a 1 percent liquidity premium is built..
Health care system : A Patient Administration clerk at a medical facility answers a phone call and someone is asking for patient information via email.
Develop a routine to integrate the governing equations : Develop a routine to integrate the governing equations from the left end to the right end using generalized trapezoidal rule to do the integration numerically.
Medscape article summary homework : password to login, password is "simple". There are a host of articles available on the Medscape site so choose one that has relevance to CAM and treatment or therapy and review it's validity.
Show the different bones and vertebrae in the human anatomy : Anatomy is the branch of biology concerned with the study of the structure of organisms and their parts. Human is one of the basic essential sciences of medicine, By use of a well labeled diagram kindly show the different bones and vertebrae in the..
Explain why the types are listed in the order you give : From the Headlines—Lovely Confections: List three types of financing employed by Lovely Confections in order of increasing required returns. Explain why the types are listed in the order you give.
A corporation assumption of shareholder liabilities : 11. [LO 2] True or False? A corporation's assumption of shareholder liabilities will always constitute boot in a §351 transaction. Explain.12. [LO 2] How does the tax treatment differ in cases where liabilities are assumed with a tax avoidance purpos..

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

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