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

Register design a cpu register is simply a row of

Register design A CPU register is simply a row of flip-flops (i.e. SR, JK, T, etc) put side by side in an array to make the size of register required. For example, an 8 bit register has 8 flip-flops side by side for stor ...

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 engineering assignment -part

Mine Safety & Environmental Engineering Assignment - 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 fo ...

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 ...

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 ...

Operations engineering assignment -please select only one

Operations Engineering Assignment - Please select only one of the following case studies for your assignment: CASE A. Tesla Motors Tesla is an innovative manufacturer that designs, assemble and sells fully electric vehic ...

Select a risk problem from the list below and prepare a

Select a risk problem from the list below and prepare a risk management plan in accordance with AS/NZS ISO 31000:2009. Please ensure that: - Establish the context clearly, in accordance with the Standard; - Define your s ...

Engineering materials term paper assignment -conduct a

ENGINEERING MATERIALS TERM PAPER ASSIGNMENT - Conduct a thorough literature search and write a 15-20 page technical review paper on the evolution of the engineering materials used in the manufacturing of any one of the f ...

Task 1using the lab kit design a circuit for the processor

Task 1: Using the lab kit, design a circuit for the processor to control the output of a connected 7-segment LED display device. You will be provided with a standard common anode 7-segment display of the type FND-507 (or ...

Control theory - lab reportsfor experiments 1 to 4 you must

Control Theory - Lab Reports For experiments 1 to 4 you must undertake the following: a) At the start of each section (including the pre-lab activities) there are a number learning outcomes. That is, what students should ...

  • 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