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

  C program to compute parking fare for customers

Write C program to compute parking fare for customers who park their cars in parking lot when following information is provided: A character showing type of vehicle: C for car, B for bus and T for truck

  Develop a simple poker game

Develop a simple poker game

  Design and implement a library system

Design and implement a library system that does the following: ? Takes details of a student/library users: first name, last name, other names, user ID number, and nationality.

  Implement a semantic analysis

The program will implement Semantic Analysis. The assignment provides two options to define variable scope, either using the Global Option or the Local Option.

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

  Write a program that computes the cost of long distance call

Write a program that computes the cost of a long distance call. The cost of the call is determined according to the following rate schedules.

  Create a template class

Create a template class, SVector, that implements a constructor

  Write program using c language to find page fault

Write program using c language to find page fault for individual processes, group of processes and system as whole using following system call int sys_pgfltstats(pid_t pid,int flag,pf_info_struct *info).

  Program to next the loops in either direction

You can write your program to next the loops in either direction, that is, process row-by-row or column-by-column. Explain which way you would choose to process the data.

  Implement a simplified version of the set class

You will implement a simplified version of the set class. You must implement all functions defined in the provided file set.h. You may add other member functions and variables as necessary.

  Design for storing the maze layout

Design and implement a C++ program for maze layout

  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.

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