Lu decomposition with gauss elimination

Assignment Help C/C++ Programming
Reference no: EM1386553

A Computational Study of a Spring-Mass System in Steady State

Idealized spring-mass systems have numerous applications throughout engineering. Fig.1 shows an arrangement of three masses and four springs which, after is released, is pulled downward by the force of gravity. The springs are made of the same homogeneous, isotropic, linear elastic solid material. This means that the springs are identical and follow Hooke's law (the strain-stress constitutive curve is a straight line of slope K > 0). The system of ordinary differential equations satisfied by this system follows from Newton's second law of motion:

1006_study of a Spring-Mass System in Steady State.png

where g is the gravitational acceleration, m1, m2, m3 are the masses, K > 0 is the spring constant of elasticity (also known as the Young's modulus), and  x1, x2, x3 are the displacements of the masses.

909_study of a Spring-Mass System in Steady State1.png

At equilibrium, when the system finally reaches its steady state, the above system of equations (1)-(3) becomes a system of linear algebraic equations of the form:

1238_study of a Spring-Mass System in Steady State2.png

where K , called the stiffness matrix, is:

393_study of a Spring-Mass System in Steady State3.png

are the column vectors of the unknown displacements X and the weights W, respectively.

1. Using equations (1)-(3) and Fig.1, name the forces acting on each of the three masses.

Let m1= 2 Kg, m2= 1 Kg,  m3= 1 Kg, k = 10 m/s2 and = 2 Kg/s2 and solve system (7) using:
2. Cramer's rule;

3. The LU decomposition with Gauss elimination;

4. The inverse of the stiffness matrix (calculated using the LU decomposition with Gauss elimination).

What is the physical interpretation of the elements of ? Write C++ programs for steps 2, 3, and 4. Present the pseudo-codes for steps 2, 3, and 4. Compare the results obtained using these three methods and comment on which method performs better.

Reference no: EM1386553

Questions Cloud

Determine amplitude : After 0.800, its displacement is found to be 0.13 on the opposite side and it has passed the equilibrium position once throughout this interval.
Approaches to problem of reality : Metaphysics is generally understood as the area of philosophy that deals with the problem of the meaning and structure of reality or existence. Many views have been advanced by philosophers
Write program to ask user to enter number between a range : Write down program which asks user to enter number between 1 and 100. Use input validation to make sure that a valid number is entered before continuing program.
Explain adoption process : Explain how an understanding of the adoption process would help develop a promotion blend for digital tape recorder, a new consumer electronics product which produces high-quality recordings. Explain why you might change the promotion blend during..
Lu decomposition with gauss elimination : The LU decomposition with Gauss elimination and what is the physical interpretation of the elements of ? Write C++ programs for steps 2, 3, and 4.
Why to eliminate the difficulties with motion sickness : Thus, to eliminate the difficulties with motion sickness, designers must choose the distance between the astronaut's feet and the axis about which the space station rotates to be greater than a certain least value. What is this least value.
Genetics probability question : Eye color is expressed thrugh two genes A and B. Dark brown eye color, A, is dominant over lighter brown a. Eye pigment, B, is dominant over lack of eye pigment, b.
Terri schiavo-permanent vegetative state : If Terri Schiavo was in a persistent vegetative state, and if people in PVS have permanently lost the ability to think, was Terri Schiavo still a person?
Determine the work completed by each of the forces : White light containing wavelengths from 400 nm to 750 nm falls on a grating with 7000 lines/cm. How wide is the first-order spectrum on a screen 2.10 m away.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Pros and cons of choosing two servers

Classify the two alternatives in terms of what type of application architecture they use. b. Outline the pros and cons of the two alternatives and make a recommendation to Fred about which is better.

  Write program to perform add-drop-list and update functions

Write C++ program to do add, drop, list (in last name / first name sorted order or id) and update functions. separate UI from data processing use object programming method multiple files

  Illustrate example from ansi c programming language

Illustrate example from ANSI C programming language, without using nested procedures, to show the fact that "assignment-by-sharing in conjunction with quasi-dynamic object binding

  Public transport fare ticketing system

Implement and test a public transport fare ticketing system.

  Develop a two dimensional interactive game

The player starts as a disk, but can "morph" (that is expand and contract) in selected directions

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Construct vector and linked lists data structures

You will prepare sorted versions of the Linked Lists and Vector data structures developed in class

  Write c++ programs

Write a C++ program to accept distance in kilometers, coverts it to meters and then displays the result. Write a C++ program to find area and circumference of a circle.

  Program to translates letter grade into number grade

In C++ (should be able to compile in Visual Studio 2010): Write a program to translates letter grade into number grade. Letter grades are A,B,C,D and F, possibly followed by a + or -.

  Write c program which has parent process and child process

Write a C program that has a parent process, a child process, and a grandchild process. The parent process should print its id and the square or 5.

  Create a program for a company named retail-mart

Prompt the user to enter an item name (one word only), a quantity and a price. For this step, in addition to functionality, I'll be looking at: location of the variable declarations; appropriateness of data types selected; appropriateness of the va..

  Write function that randomly produces maze

Write a function mazeGenerator that randomly produces a maze (in C++). The Function should take as arguments a two-dimensional 12-by-12 character array.

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