2 a) Consider the following linear system of equations: ax + y + z = 6,...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
2 a) Consider the following linear system of equations: ax + y + z = 6, x-By+32= 14, -x+y-az=ẞ, where a and ẞ are real parameters. (i) (ii) Write MATLAB script which yields the solution if a = 1 and B = -2. Write MATLAB script which indicates all solutions of the system if a = -1 and B = 6. Please show all the possible solutions for the given problem. (Name of the script: FA1Q2a.m) b) Find a fourth degree polynomial that passes through (-1,5), (5,2), (8,5), (11,10) and (14,5). Hence, plot the polynomial together with all given 5 points and label completely. (Name of the script: FA1Q2b.m) (10 marks) 2 a) Consider the following linear system of equations: ax + y + z = 6, x-By+32= 14, -x+y-az=ẞ, where a and ẞ are real parameters. (i) (ii) Write MATLAB script which yields the solution if a = 1 and B = -2. Write MATLAB script which indicates all solutions of the system if a = -1 and B = 6. Please show all the possible solutions for the given problem. (Name of the script: FA1Q2a.m) b) Find a fourth degree polynomial that passes through (-1,5), (5,2), (8,5), (11,10) and (14,5). Hence, plot the polynomial together with all given 5 points and label completely. (Name of the script: FA1Q2b.m) (10 marks) 2 a) Consider the following linear system of equations: ax + y + z = 6, x-By+32= 14, -x+y-az=ẞ, where a and ẞ are real parameters. (i) (ii) Write MATLAB script which yields the solution if a = 1 and B = -2. Write MATLAB script which indicates all solutions of the system if a = -1 and B = 6. Please show all the possible solutions for the given problem. (Name of the script: FA1Q2a.m) b) Find a fourth degree polynomial that passes through (-1,5), (5,2), (8,5), (11,10) and (14,5). Hence, plot the polynomial together with all given 5 points and label completely. (Name of the script: FA1Q2b.m) (10 marks) 2 a) Consider the following linear system of equations: ax + y + z = 6, x-By+32= 14, -x+y-az=ẞ, where a and ẞ are real parameters. (i) (ii) Write MATLAB script which yields the solution if a = 1 and B = -2. Write MATLAB script which indicates all solutions of the system if a = -1 and B = 6. Please show all the possible solutions for the given problem. (Name of the script: FA1Q2a.m) b) Find a fourth degree polynomial that passes through (-1,5), (5,2), (8,5), (11,10) and (14,5). Hence, plot the polynomial together with all given 5 points and label completely. (Name of the script: FA1Q2b.m) (10 marks)
Expert Answer:
Answer rating: 100% (QA)
Here are the MATLAB scripts for both parts a and b a MATLAB script for part i when a1 and B2 FA1Q2am ... View the full answer
Related Book For
Thermodynamics An Interactive Approach
ISBN: 978-0130351173
1st edition
Authors: Subrata Bhattacharjee
Posted Date:
Students also viewed these programming questions
-
(i) Write down the linear program relaxation for the vertex cover problem and solve the linear program. [6 marks] (ii) Based on the solution of the linear program in (b)(i), derive an integer...
-
Consider the following linear program P with two resources and three activities. The resources are in the amounts of 8 and 4 and the activities are represented by the three variables. Maximize Z =...
-
Question: Calculate the mass of the liquid for each trial. (Subtract the mass of the empty graduated cylinder from the mass of the graduated cylinder with liquid.) Trial 1 10.6 Trial 2 10.0 Trial 3...
-
Evaluate the stiffness matrix for the elements shown in Figure P6-6. The coordinates are given in units of millimeters. Assume plane stress conditions. Let E = 105 GPa, v = 0.25, and t = 10 mm.
-
Thornton Computer Timeshare Company entered into the following transactions during May 2012. 1. Purchased computer terminals for $20,000 from Digital Equipment on account. 2. Paid $4,000 cash for May...
-
The CEO of IAP is concerned with the quality of its products and the amount of resources currently spent on customer returns. The CEO would like to analyze the costs incurred in conjunction with the...
-
Clarkston Inc. issued $1,000,000 of convertible 10-year, 11% bonds on July 1, 2010. The interest is payable semiannually on January 1 and July 1. The discount in connection with the issue was $9,500,...
-
7. A vertical spring is fixed to one of its end and a massless plank fitted to the other end. A block is released from a height has shown. Spring is in relaxed position. Then choose the correct...
-
What are some of the cultural barriers that a health office professional may encounter in the healthcare setting?
-
How are a special educator's interactions with families who have children with disabilities affected by a Christian worldview?
-
Why is crisis considered a key characteristic in gothic literature?
-
What are the positive and negative effects of Globalization in this time of pandemic and in our political situation in the Philippines?
-
Discuss the use of literary theory in interpretation.?
-
Skillet Corporation, a British subsidiary of Pan Corporation (a U.S. company) was formed by Pan on January 1, 2023 in exchange for all of the subsidiary's common stock. Skillet has now ended its...
-
Imagine you are advising the government of a small developing country. The country is ruled by a leader who has been elected, but is beginning to show authoritarian tendencies: the press is being...
-
Anna, a high school counselor, devised a program that integrates classroom learning with vocational training to help adolescents at risk for school dropouts stay in school and transition to work...
-
Hydrogen is produced at 100 kPa and 298 K from a mixture of hydrogen and methane containing 10% hydrogen and 90% methane by volume. If the device has an energetic efficiency of 20%. Determine the...
-
A closed, rigid, insulated vessel having a volume of 0.15 m3 contains oxygen initially at 10 MPa and 280 K. The oxygen is stirred by a paddle wheel until pressure increases to 15 MPa. Stirring ceases...
-
For H2O, locate (qualitatively) the following states on a T-s and a p-v diagram. State- 1: p = 100 kPa, T = 50oC; State-2: p = 5 kPa, T = 50oC; State-3: p = 500 kPa, x = 50%.
-
Which of these adaptations is the result of sexual selection? (a) the spines on cactus plants (b) parental care in male poison dart frogs (c) the songs of male birds (d) dark wings in peppered moths
-
Which of the following provides evidence for evolution? (a) changes in the coloration of peppered moth populations over time (b) the presence of vestigial eyes in cave salamanders (c) the fact that...
-
If you put a heavy load in a wheelbarrow, the force you apply to the handles is much less than the weight of the load and the wheelbarrow. To lift with the least force, you put the load toward the...
Study smarter with the SolutionInn App