Purchase Solution

Matlab Matrices and Quadratic Equations

Not what you're looking for?

Ask Custom Question

1. Use loops to create a 3 x 5 matrix in which the value of each element is the difference between the indices divided by the sum of its indices (the row number and column number of the element). For example, the value of the element (2,5) is (2-5) / (2+5) = -0.4286

2. Write the program indicated in the problem and use it to solve the following equations:
a) -2x^2 + 16x - 32 = 0
b) 8x^2 + 9x + 3 = 0
c) 3x^2 + 5x - 6 = 0

NOTE: Instead of asking the user to input the coefficients, create a 3x3 matrix containing the data with each row corresponding to a problem. Then use a loop to execute the problem 3 times, using the appropriate row each time.

Purchase this Solution

Solution Summary

This solution illustrates how to use loops in Matlab to create a 3 x 5 matrix in which the value of each element is the difference between the indices divided by the sum of its indices, and also how to use matrices in Matlab to solve a system of quadratic equations.

Solution Preview

The solutions have been attached as Matlab files.

part1.m contains solutions to ...

Purchase this Solution


Free BrainMass Quizzes
Geometry - Real Life Application Problems

Understanding of how geometry applies to in real-world contexts

Solving quadratic inequalities

This quiz test you on how well you are familiar with solving quadratic inequalities.

Exponential Expressions

In this quiz, you will have a chance to practice basic terminology of exponential expressions and how to evaluate them.

Probability Quiz

Some questions on probability

Multiplying Complex Numbers

This is a short quiz to check your understanding of multiplication of complex numbers in rectangular form.