Find the exact solution by gaussian elimination

Assignment Help Other Engineering
Reference no: EM131678457 , Length: 5

SECOND PAPER APPLIED LINEAR ALGEBRA ASSIGNMENT

QUESTION 1 -

1. (a) How would you write the matrix2350_figure.png in MAtlab/Octave?

(b) Give the Matlab/Octave command to find the transpose of A.

(c) Give the command to find the entry of A in the second row and second column.

2. Set up any 3 x 3 matrix and call it A. Then write some Matlab/Octave command-line statements to perform the following operations.

(a) interchange columns 2 and 3

(b) add a fourth column (of 0 s)

(c) remove the second column

3. We can draw the Mexican hat using the following equation

z = sin(r)/r, where

r = √(x2+y2) + ε, and ε = 2.2204 x 10-16

Write a Matlab/Octave code that solves for z and plot z in the internal -8 < x < 8, -8 < y < 8.

Hint: Plot using the meshgrid function with the grid width of 0.5.

4. Write a Matlab/Octave code that draws a graph of the population of the United States from 1790 to 2000, using the (logistic) model

P(t) = 197273000/1 + e-0.03134(t-1913.25),

where t is the date in sears. The actual data (in 1000s) for every decade limn 1790 to 1950 is as follows:

Year

Data

1790

3929

1800

5308

1810

7240

1820

9638

1830

12866

1840

17069

1850

23192

1860

31443

1870

38558

1880

50156

1890

62948

1900

75995

1910

91972

1920

105711

1930

122775

1940

131669

1950

150697

Superimpose the data on the graph of P(t).

QUESTION 2 -

2. Suppose we have invested some money that thaws 10% interest per year, compounded annually. We want to know how long it will take for the investment to double. More specifically we want a statement of the account each year until the balance has doubled. Write a Matlab/Octave code that implements and solves this problem

The pseudocode for this problem is as follows

(a) Initialise balance year, interest rate

(b) Display headings

(c) Repeat

Update year and balance according to interest rate

Display year, balance,

Until balance exceeds twice initial balance

(d) Stop

2. The binomial coefficient is widely used in Mathematics and Statistics. It is defined as the number of ways of choosing r objects out, of n without regard to order and is given by

496_figure1.png

Write a Matlab/Octave code that computes the binomial coefficient when n = 10 and r = 3.

QUESTION 3 -

1. (a) Write an Octave/Matlab code that evaluates

13 1/(1 + v)1.8 dv, where v is taken to be the 0.3 after the integration.

(b) Calculate the average slope of a function in (a) above over an interval a < x < b defined as f(b) - f(a)/b-a, where a = 1 and b = 3.

2. Use Octave to draw the following graphs

(i) f(x) = x sin (x) , -3 ≤ x ≤ 8,

(ii) f(x)= cos (x2) , 0 ≤ x ≤ 5

3. Write an Octave/Matlab code that plots the following graph

Z = sin√(x2+y2)/√(x2+y2),

in the range -7 ≤ x ≤ 7, -11 ≤ y ≤ 11, with a contom map.

QUESTION 4 -

1. Consider the equation

AX =B

where XT = (x1  x2     , xn) and BT = (b1,   b2   bn) are 1 x n vectors, and A a n x n matrix

(a) Write Octave/Matlab commands that can be used to capture A and B into the computer memory.

(b) Write Octave/Matlab command(s) that replaces the ith column of A with B.

(c) Express the ratio B/A in Octave/Matlab using \ and /.

2. Consider the system of equations                                                                      

3x1 + 4x2 + 5x3 = 4

6x1 + 2x2 + 3x3 = 7

x1 + 3x2 + 3x3 = 1

(a) Solve the system by wilting an Octave/Matlab code using the Gauss-seidal iterative method.

(b) Find the exact solution by Gaussian elimination i.e., by Analytic means and by using either Octave or Matlab.

Reference no: EM131678457

Questions Cloud

Why managers should use social capital in leveraging : Please provide a summary of the reasons why managers should use social capital in leveraging their human capital within and across their firm.
Final research paper on a human resources policy : Research a Human Resources Policy. Make sure your look at academic journals and possibly recent decisions on the policy.
Develop with a thorough analysis of the technologies : Research and recommend 5 potential Technologies that may be used in the a new employee training program to develop with thorough analysis of the technologies.
Give suggestion for the given paragraph : A marketing manager is considering opportunities to export her firm's current consumer products to several different countries.
Find the exact solution by gaussian elimination : APM1513 SECOND PAPER APPLIED LINEAR ALGEBRA ASSIGNMENT. Find exact solution by Gaussian elimination i.e., by Analytic means and by using either Octave or Matlab
Which has been approved by your course instructor : Develop a 500-word analysis of the company you have selected and which has been approved by your course instructor.
Decentralized nature of the us healthcare system : What are some consequences of the decentralized nature of the US healthcare system?
Diligently erected museums and educational programs : have diligently erected museums and educational programs to keep the Holocaust and other events in historical memory.
Threat to the survival of human kind : Though industrialization is good for the countries, Explain why it also poses dangerous threat to the survival of human kind?

Reviews

len1678457

10/13/2017 4:40:34 AM

Please confirm the assignment with your lowest price. Need all the attachments to be done. Use of a non-programmable pocket calculator is permissible. Closed book examination. This examination question paper remains the property of the University of South Africa and may not be removed from the examination venue. This paper consists of 5 pages. Answer all questions.

Write a Review

Other Engineering Questions & Answers

  Characterization technology for nanomaterials

Calculate the reciprocal lattice of the body-centred cubic and Show that the reciprocal of the face-centred cubic (fcc) structure is itself a bcc structure.

  Calculate the gasoline savings

How much gasoline do vehicles with the following fuel efficiencies consume in one year? Calculate the gasoline savings, in gallons per year, created by the following two options. Show all your work, and draw boxes around your answers.

  Design and modelling of adsorption chromatography

Design and modelling of adsorption chromatography based on isotherm data

  Application of mechatronics engineering

Write an essay on Application of Mechatronics Engineering

  Growth chracteristics of the organism

To examine the relationship between fermenter design and operating conditions, oxygen transfer capability and microbial growth.

  Block diagram, system performance and responses

Questions based on Block Diagram, System Performance and Responses.

  Explain the difference in a technical performance measure

good understanding of Mil-Std-499 and Mil-Std-499A

  Electrode impedances

How did this procedure affect the signal observed from the electrode and the electrode impedances?

  Write a report on environmental companies

Write a report on environmental companies

  Scanning electron microscopy

Prepare a schematic diagram below of the major parts of the SEM

  Design a pumping and piping system

creating the pumping and piping system to supply cool water to the condenser

  A repulsive potential energy should be a positive one

Using the data provided on the webvista site in the file marked vdw.txt, try to develop a mathematical equation for the vdW potential we discussed in class, U(x), that best fits the data

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