Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

QUESTION 1 ( a ) Suppose that A is a 2 2 matrix with real numbers as elements: A = [ e 6 + 1

QUESTION 1
(a) Suppose that A is a 22 matrix with real numbers as elements:
A=[e6+13ee6-13ee6-16ee6+13e].
Compute (i)-(iv) and provide the supporting code by using Octave/MATLAB.
(i) Inverse of A.
(ii) Transpose of A-1.
(iii) Trace of A-1.
(iv) Determinant of A.
(b) The prices of three commodities gold (G), silver (S) and platinum (P) are in Rands x,y and z per units respectively. Person A purchases 4 units of S and sells two units of G and 5 units of P. Person B purchases 2 units of P and sells 3 units of G and one unit of S. Person C purchases one unit of G and sells 3 unit of S and one unit of P. In the process, A, B and C earn R15000, R1000 and R4000 respectively. Determine the prices per unit of G, S and P by using the A??b construct method. (Hint: Use GNU Octave to solve a system of three equations.)
(c) Suppose that a banker wants to code a system to calculate the compound interest. To build this model we consider the principal amount A that is invested for a term of n years, with an annual interest rate that grows at A(1+r)n. The banker wants to know the final balance for the investments of R750, R1000, R3000, R5000, and R11999 in his portfolio over 10 years with interest rate of 9%.
Write an Octave/Matlab code that impliments and solves the above problem.
(d) The steady-state current I flowing in a circuit that contains a resistance R=5, capacitance C=10, and inductnce L=4 in series is given by:
I=ER2+(2L-12C)22
where E=2 and =2 are the input voltage and angular frequency, respectively. Write a MATLAB/Octave program that computes the value of I.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

25.0 m C B A 52.0 m 65.0 m

Answered: 1 week ago

Question

=+Understand the fi eld of comparative IHRM.

Answered: 1 week ago