Question

Check the file: Questions.pdf

Solution Preview

This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.

1.
Matrix X starts as the identity matrix while matrix A is the operation of adding numbers according to the Fibonacci series; that is matrix X updates with the latest Fibonacci numbers. Every time enter is pressed we get the next number sequence in the Fibonacci series. n=0@X(2,2), n=1@X(2,1), n=2@X(1,1)=[X(2,2)+X(2,1)].
The process has to be repeated 1475 until X overflows, at the 1476th time the sum of numbers will be greater than realmax (=inf).

2.
e (expected)   = 0 0 0 0 0 0 0 0 0 0
e (calculated) =   1.0e-15 *
         0         0   -0.0555         0         0         -0.1110   -0.1110         0         0         0

t is a scalar. n is an array (size 10). Thus n determines the size of e, which is a size 10 array.
Each of n array values is similarly calculated, and should be zero (since: n/10 – n*0.1=0). This however is seen to not be the case.
MATLAB expresses divisions (1/10, etc.) as a binary approximation using an infinite series, up to a 52 bit term precision. In the above the decimal number 0.1 is developed into a series with a representation error, known as a round-off error. That is why, for example, the result of 3/10 differs slightly from 3*(1/10) and we are left with a non-zero result....

This is only a preview of the solution. Please use the purchase button to see the entire solution

Related Homework Solutions

Mathematics Questions
Homework Solution
$100.00
Mathematics
Matlab
Taylor
Polynomial
Newton-Raphson
Model
Hessian
Laplace
Neumann
Hemisphere Problem in Matlab
Homework Solution
$18.00
Hemisphere
Mathematics
Matlab
Computing
Geometry
Figures
Volumes
Radius
Dimensions
Input
Output
Statements
VariablesTables
Scripts
Algorithms
MATLAB Exercises
Homework Solution
$23.00
Mathematics
MATLAB
Exercises
Command
Plot
Equation
Function
Graph
Equations in Matlab
Homework Solution
$80.00
Mathematics
Computer Science
Matlab
Nonlinear Equations
Newton-Raphson Method
Termination Conditions
Gaussian Elimination
Built-In Commands
Variables
Statements
Cos
Tanh
M-Files
Arbitrary Systems
Least-Squares Crossing Lines in Matlab
Homework Solution
$75.00
Matlab
Mathematics
Computer Science
XY Plane
Data in Space
Configuration
Output
Input
Line Errors
Uniform Distribution
Numerical Codes
Planar Points
Nearly Crossing Lines
Codes
Statements
Loops
Variables
Skew Lines
Least-Square Focal Poi
Get help from a qualified tutor
Live Chats