Cholesky decomposition to find upper triangular matrix

Assignment Help MATLAB Programming
Reference no: EM131238195

PROBLEM #1:

Problem 1: Use Cramer's Rule to solve for x Check answer using backslash operator

Coefficient Matrix

A = (12 4 11 9;
7 3 1 18;
6 24 21 8;
8 13 10 1);
%Right hand side vector

b=(8;
20;
42;
25];

Cramer's Rule

determinant

disp('Solving by Cramers Rule')

D=det(A);
Al-A;

A1(:,1)=b; %replace first column of 'Al' by 'b' x1 = det(A1)/D
A2 A; 'b'
A2(:,2) = b; %
x2 = det(A2)/D replace second column of 'A2' by 'b'
A3 = A;
A3(:,3) = b; %
x3 = det(A3)/D replace first column of 'A3' by 'b'
A4 = A;
A4(:,4) = b; % replace first column of 'A4' by 'b'
x4 = det(A4)/D

Solving by Cramers Rule
x1 = 0.3787
x2 = 2.4795
x3 = -1.0874
x4 0.6110
> >

PROBLEM #2:

a) Use Cholesky decomposition to find upper triangular matrix U

b) Use U to solve for the stresses in the material for 3 different experiments

E = 750; %Modulus of Elasticity--->Gpa

v = 0.4; %Poisson's Ratio

% Coefficient Matrix
A = (1 -v -v;
-v 1 -17:
-v -v 1);
U = a chol(A)

%Coefficient Matrix
A = (1 -v -v;
- v 1 -v;
- v -v 1);
el = 0.001;
e2 = 0.003:
e3 = 0.020;

%Eight hand side vector

b = (el e2 e3)
U = chol(A)
x = (b*E)/U

%coefficient Matrix
A a (1 -v -v;
- v 1 -v;
- v -v 1):
el = 0.004;
e2 = 0.006:
e3 = 0.006;

%Right hand side vector b = (el e2 e3);
U = chol(A);
x = (b*E)/U

%Coefficient Matrix
A = (1 -v -v;
-v 1 -v:
-v -v 11:
e1 = 0.050:
e2 = 0.070:
e3 = 0.010:

%Right hand side vector

b = [e1 e2 e3]:

U = chol(A):|
x = (b*E)/U
3.0000 7.855e 15.3709

> >

Reference no: EM131238195

Questions Cloud

What is the power dissipated by the iron : The heating element of an iron operates at 110 V with a current of 10 A.
Calculate the net profit earned by bradshaw corporation : When the books were closed for 2015 year end, the corporation had a final retained earnings balance of $565,000. Calculate the net profit earned by Bradshaw Corporation during 2015.
What is the expected return of stock abc : 1.  What is the expected return of stock ABC? 2.  What is the variance of stock ABC? 3.  What is the standard deviation of stock ABC?
Are there any limitations identified in the article : Is the design appropriate to address the research question? Were the independent variable(s) and dependent variable(s) clearly identified? Identify the independent variable(s) and dependent variable(s). Evaluation of Descriptive Statistics:
Cholesky decomposition to find upper triangular matrix : Mech 3010: Numerical Methods and Programming - Use Cramer's Rule to solve for x Check answer using backslash operator and Cholesky decomposition to find upper triangular matrix U.
Decide which contemporary theorist impresses you the most : Decide which contemporary theorist impresses you the most and which theorist impresses you the least. Write a detailed critical analysis in which you: -Explain your chosen theorists' basic assumptions, concepts, and principles.
How would you use correlational research on this subject : Need 50 to 100 words in APA format on what your hypothesis be on the subject of lack of services in the state of New hampshire for the physically and mentally challenged adults. How would you use correlational research on this subject.
Determining the current minimum payment : For Chris to pay off his credit card if he pays the current minimum payment of $150 at the end of each month, it will take approximately how many months.(Round up to the nearest integer.)If Chris pays $200 at the end of each month, it will take ap..
How parenting styles influence childs behavior in classroom : Explain, for one developmental stage between 2 and 15 years of age, how parenting styles influence a child's behavior in the classroom. Explain how modifications in parenting can create a positive family environment.

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Time domain design and analysis

To design a "custom" controller to reduce the vibrations of the seat and a PID controller to reduce the vibration of the seat

  Matlab function to perform gauss-jordan elimination

Write a matlab function to perform gauss-jordan elimination with pivoting. Modify the pivoting so that it is using the row with the highest absolute value rather than the first non-zero row.

  Newtons and lagrange interpolation polynomials

What conclusion can you draw from the comparison between Newton's and Lagrange interpolation polynomials? Explain your findings.

  Design simple interface hardware

Evaluate the capability in selecting and configuring a microcontroller unit designing simple interface hardware and writing subroutines to operate those interfaces

  What is the purpose of the matlas command window

What is the purpose of the MATLAS Command Window. The Edit Window? The Figure Window. List the different ways that you get help in MATLAB. What is a workspace. How can you determine what is stored in a MATLAB workspace

  Plot the lines using the inputted vector of x values and x

Write a function named solveSystem that has three inputs: two vectors consisting of coefficients [a b c] of two line equations of the form ax + by = c and a vector of x values.

  Construct a matlab simulation of pulse sampling

Construct a Matlab simulation of pulse sampling and sample & hold for m(t) = cos(2t) andfs = 10.

  Write a script to use a polynomial

Write a script to use a polynomial to create data and then practice fitting - belongs to MATLAB software and discusses about application of MATLAB in mathematics to solve polynomials and to perform certain operations.

  When a fast-breeder reactor is shut down quickly the

when a fast-breeder reactor is shut down quickly the temperature of the surface of a number of components drops from

  What is the terminal velocity in mph

Find the numerical solution using two MATLAB ode solvers, ode45 and ode23. Use an anonymous function as the input function for your ode solvers.

  Write a function called crazygrade

Write a function called CrazyGrade that will take in the string and flip the grades according to the specifications - Define the inputs and outputs to each problem

  Non-linear interpolation using polyfit function

Illustrate results of your interpolation by plotting a small piece of data before and after interpolation on the same graph using the "plot" and "hold on" commands. Submit the script and the plot in a single Word file.

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