Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

There are four spring serially connected. The force - balance equations for these spring system are given below: where are the spring constants of four

There are four spring serially connected. The force-balance equations for these spring system are given below:
where are the spring constants of four springs which are 150,50,80,200, respectively.
=14700 N is the force applied on the springs.
Calculate x values by solving these equations using the Thomas Algorithm.
For this purpose, first modify the equations such that you have a tridiagonal matrix system (you can do this by hand - no need to show your hand calculations).
Enter the tridiagonal system you obtained into MATLAB as a matrix of "A" for coefficients of unknowns and a vector of "b" for constants on the right hand side.
A matrix should be 4x4 tridiagonal matrix, b vector should be 1x4 matrix such as b=[b1,b2,b3,b4]
Then, write a script which accepts inputs of A and b for the Thomas Algorithm steps of a) Decomposition b) Forward substutition c) Back Substutition.
Use "while" loop for the loops of these steps
The outputs should be in a 1x4 vector defined as "x" vector in MATLAB such as x=[x1,x2,x3,x4].
Do NOT use backslash operator or any other MATLAB solver functions to compute the output.
A simple test case has been provided to test your solution before submitting.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Theory And Application Bio Science And Bio Technology International Conferences DTA And BSBT 2011 Held As Part Of The Future Generation In Computer And Information Science 258

Authors: Tai-hoon Kim ,Hojjat Adeli ,Alfredo Cuzzocrea ,Tughrul Arslan ,Yanchun Zhang ,Jianhua Ma ,Kyo-il Chung ,Siti Mariyam ,Xiaofeng Song

2011th Edition

3642271561, 978-3642271564

More Books

Students also viewed these Databases questions

Question

Differentiate Personnel Management and Human Resource Management

Answered: 1 week ago

Question

Describe the functions of Human resource management

Answered: 1 week ago

Question

What are the objectives of Human resource planning ?

Answered: 1 week ago

Question

Explain the process of Human Resource Planning.

Answered: 1 week ago