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

  Determine power spectral density-autocorrelation function

Determine the power spectral density and autocorrelation function of the random process at the filter output.

  Write a paper about digital tools and effective strategies

Write a paper about Digital Tools and Effective Strategies for Engaging the Adult Learner by David Jones.

  Test a basic working prototype

The project is aimed to model, design, Build and test a basic working prototype that can sense, count and record the passenger number as they enter and leave a train carriage.

  Deformation of soft tissue under planar biaxial

Deformation of Soft Tissue Under Planar Biaxial Loading Condition Project. Software: Matlab, MathCAD or any other software and write a program for the calculation. Project report requirements.

  What is the use of hec-hms modelling

What is the use of HEC-HMS modelling in water supply system ,how we use it? what is the necessary input for the software?

  How can a fieldbus system be implemented

How can a fieldbus system be implemented in an existing HART system - how can multiple variables be measured using a single fieldbus instrument?

  Provide your position on whether residential sprinklers

Residential sprinklers have been debated between the fire officials and builders for a very long time. There are many documented studies that indicate residential sprinklers, along with smoke detection systems, should be the first line of defense ..

  Bridge rectifier-bipolar junction transistors

Determine the peak output voltage for the bridge rectifier in Figure 1 shown. Assuming the practical model, what PIV rating is required for the diodes? The transformer is specified to have a 12 Vrms secondary voltage for the standar..

  Design and simulation of a simple cpu architecture

ECCE 303: Computer Organization and Architecture - Design and Simulation of a Simple CPU Architecture - simulate and verify the functionality of the ALU

  Create a webquest on a topic in telecommunication

Create a WebQuest on a topic in telecommunication or networking that will grab your classmate's interest and motivate them to learn about the WebQuest topic

  What are some other products and features of the products

What are some other products and features of those products for which the Arduino would be a possible candidate as that product's microcontroller?

  Write appropriate c code to implement given state transition

Write the appropriate C code to implement this state transition diagram. Hint: Use the C construct "Struct" or arrays. Be sure to include comments to describe your code.

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