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

  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