Write a function that can take in two matrix of any size

Assignment Help Mathematics
Reference no: EM131438340

Assignment

For this assignment you will be creating functions in SciLab. You will turn in electronically, each of the functions requested below.

1.) Write a function that can take in two matrix of any size and solve the system of equations using matrix operation.

a. The function will take in two matrix and output one matrix.

i. function [Solution] = solveEQ(AA, BB)

b. First check the size of the two input matrix and determine if they are the right size to be used for solving the unknowns.

i. Determine if AA is a square matrix. If not output "AA is not square".
ii. Determine if BB is a column matrix and has the same number of columns as AA. If not output "BB is not a column matrix" or "BB is not the right size"

c. If the size of the matrix is acceptable then perform the matrix operation and output the resulting vector.

2.) Suppose you know the lengths and the angle (in degrees) between two adjacent sides of a triangle, as shown in the drawing below. You can find the area of the triangle using the following relationship: TriArea = ½ * a * b * sin(x)

a. Write a function that will take in a matrix in the form of [length_a1, length_b1, angle1; length_a2, length_b2, angle2; ...]. Use a FOR loop to calculate the area of each of the triangles and output a column matrix in the form of [area1;area2;...].

b. function [Area] = TriArea(AB)

1830_Triangle.jpg

Reference no: EM131438340

Questions Cloud

Resort fro dispute resolution : Explain why most business firms utilize litigation as a last resort fro dispute resolution. Suggest at least 2 options for avoiding a trip to court and why those options are preferable.
Calculate the amount of gasoline consumed : Automobiles have different fuel economies (mpg), and commuters drive different distances to work or school. Suppose that a state Department of Transportation (DOT) is interested in measuring the average monthly fuel consumption of commuters in a c..
Calculate the total contribution margin : Study the information provided below and consider each of the proposals independently: Calculate the total Contribution margin and Operating profit/loss per month if Proposal 1 is implemented
Job descriptions and job specifications : 1. How does a job analysis help managers do their jobs better? 2. How does a job analysis relate to job descriptions and job specifications? 3. Why is it beneficial to have someone from outside the organization conduct the job analysis?
Write a function that can take in two matrix of any size : Write a function that can take in two matrix of any size and solve the system of equations using matrix operation. The function will take in two matrix and output one matrix.
How a technology like rfid could enhance the approach : Submit an executive summary on the specific industry and business problem that you are going to do your research paper on. The summary should contain enough of a detailed description of the business problem that someone unfamiliar with the specif..
Kimberley clarc healthcare and 3m healthcare : If you can please answer sourcing data from the industry ie Johnson and Johnson, Kimberley Clarc Healthcare and 3M Healthcare:
Quality control and fraud prevention share : Indecomm Global Services. Larkin said limiting what departments like quality assurance, quality control and fraud prevention share can limit a company's view of potential risks)
What is the importance of the information in the article : Summarize the whole article by all of its key or salient points. It may help if you use bullets to note the salient points of the article, as you read through it. A summary is desired, not just the "thrust' of the article. Analyze the multi-nation..

Reviews

Write a Review

Mathematics Questions & Answers

  Questions on ferris wheel

Prepare a Flexible Budget Gator Divers is a company that provides diving services such as underwater ship repairs to clients in the Tampa Bay area.

  Logistic map

This assignment has two question related to maths. Questions are related to bifurcation cascade and logistic map.

  Finding the probability of cards

This assignment has questions related to probabiltiy.

  Systems of ode

Find all the xed points, and study their stability and Draw the phase portrait of the system, as well as the graphs of the solutions in all relevant cases.

  Derive the boolean expression

Derive the Boolean Expression and construct the switching circuit for the truth table stated

  System of equations

Evaluate which equations are under-identified, just-identified, and over-identified.

  Linear programming problem

Linear programming problem consisting of only two constraints with one objective function.

  Find the natural domain

Find the natural domain of the given functions.

  Introduction to numerical methods

Compute the coecients of the polynomials using the term recurrence relation.

  Chart of the topological manifold

De?nition of smoothness of functions on a smooth manifold is chart independent and hence geometric.

  Mathematics in computing

Questions related on mathematics in computing.

  Complex problems

Complex problems

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd