Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Other Engineering Expert

APPLIED LINEAR ALGEBRA ASSIGNMENT

QUESTION 1 -

1. (a) How would you write the matrix451_figure.pngin 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 cohinnis 2 and 3.

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

(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 the Matlab/Octave code that solves for z and plot z in the interval -8 < x < 8, -8 < y < 8

Hint: (Plot using the meshgnd 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 years. The actual data (in 1000s) for every decade from 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 -

1. On Matlab/Octave command line, assign values to the variables a and b, for example a = 3, and b = 5, and write statements to find the sum, difference, product, and quotient of a and b.

2. What do the following Matlab/Octave statements do?

(a) 1 + 1  5

(b) 1+ [1 · 5]

(c) 1  5'

(d) [1  5]'

3. Given the following vectors

a = [2   4   5],

b = [6   2   2],

Calcuate-

 (a) a. *b,

(b) a. /b,

(c) a. ^b,

4. Given the vector [1 2 3 4 5] Write Matlab/Octave statements that use different vector array operations to produce the following vectors:

(a) [2  4  6  8  10]

(b) [½  1  3/2   2  5/2]

(c) [1   ½  1/3  ¼   1/5]

(d) [1  1/22  1/32  1/42   1/52]  

QUESTION 3 -

1. What does the following Matlab/Octave command do?

(a) plot(x, y, '- -')

(b) plot(x, y, '0')

(c) plot(x, sin(x), x, cos(x), 'om- -')

2. Write a Matlab/Octave code to evaluate the following series n=1Un in which Un is not known explicitly but is given in terms of a recurrence relation. You should stop the summation when |Un| < 10-8. Un+1 = Un2, with U1 = 0.5.

3. (a) How do you find the dominant eigenvalues and eigenvectors of the following matrix, using both eig and power method. Also give the power method code

458_figure1.png

(b) Also give the power method code

(c) How can one diagonalize matrix A?

QUESTION 4 -

1. The Milko Dairy can receive no more than 100,000 litres of milk per day. Due to a long-term contract, at least 10,000 litres of each day's milk must be used for chase manufacture. The balance can be used for bottled milk butter or yoghurt. At today's market prices, the contribution to profit and fixed cost of each litre of milk, when put to these uses, is as follows

Butter                   R2 50

Cheese                 R2 00

Bottled Milk           R1 50

Yoghurt                R3.00

The butter equipment can handle up to 50,000 litres of milk per day, and the milk equipment up to 40,000 litres. Part of the yoghurt and cheese processing uses the same equipment and this imposes a limit on the combined usage of 50,000 litres per day. The butter and cheese packagng equipment can handle a cornbmed usage of at most 55,000 litres per year.

What mix of products should the company produce so as to maximize profit?

2. Find the maximum value as well as the point at which the maximum occurs of

L = 2x1 + 3x2 + 4X3 + 3x4

subject to the constraints.          

15x1 + 2x2 + 15X3 + x4 ≤ 30

1x1 + 2x2 + 1x3 + 3x4 ≤ 45

5x1 + 4x2 + 7x3 + 2x4 ≤ 65

6x1 + 3x2 + 7x3 + 4x4 ≤ 60

8x1 + 4x2 + 8x3 + 2x4 ≤ 70

x1, x2, x3, x4 ≥ 0

Other Engineering, Engineering

  • Category:- Other Engineering
  • Reference No.:- M92486894

Have any Question?


Related Questions in Other Engineering

Learning outcomes evaluate multiuser communication and

Learning Outcomes Evaluate multiuser communication and resource sharing techniques; Apply the techniques of, and report on, digital communication applications using Matlab and hardware devices. Assignment Description The ...

Load fault level analysis amp protection design of a remote

LOAD, FAULT LEVEL ANALYSIS & PROTECTION DESIGN OF A REMOTE AREA MICROGRID Assignment Please undertake the following analyses: 1. Calculate the 3-phase fault levels on Bus 2, Bus 3 and Bus 4 with the main supply connected ...

Engineering analysis homework -for every problem provide

Engineering Analysis Homework - For every problem, provide The MATLAB script/function files that solve the problems. Problem 1: Write a script that solves the problem. For (c), show results of the evaluation of every ind ...

A detailed review of spatial modulation and simulation

A Detailed Review of Spatial Modulation and Simulation Learning Outcomes a. Learn how to model mobile communication channels d. Discern knowledge development and directions on the recent advances in 4G to the research pr ...

Mine safety amp environmental engineeringpart 1 questions1

Mine Safety & Environmental Engineering Part 1. Questions 1. Occupational health and safety is the primary factor that needs to be considered in the mining industry. Discuss this statement. 2. Define the following terms ...

Projectflow processing of liquor in a mineral refining

Project Flow Processing of Liquor in a Mineral Refining Plant The aim of this project is to design a flow processing system of liquor (slurry) in a mineral (aluminum) refining plant. Aluminum is manufactured in two phase ...

Question 1 define rock mechanics discuss the main

Question 1 . Define rock mechanics. Discuss the main objectives of the application of rock mechanics in mining. Question 2. Define stress. Draw a diagram and define the normal and shear stress by resolving the resultant ...

Part 1configure verify and troubleshoot wan links and ip

Part 1 Configure, verify and troubleshoot WAN links and IP services Answer to all questions below: 1. What is the name of the Safe Work Australia code of practise that provides guidance on how to manage the risks of elec ...

Conceptual design of forced-free-mixed convection

Conceptual Design of Forced-Free-Mixed Convection Experiment This assessment is to be completed individually. 1. Learning Outcomes: - Develop a basic ability to conceptually design an experimental apparatus - Use theory ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As