1. Using 'roots' function, obtain the root of x+3x-3x-7x+6=0. 2. Create a time vector namely I...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
1. Using 'roots' function, obtain the root of x+3x³-3x²-7x+6=0. 2. Create a time vector namely I consists of elements from 0 to 10 with increment of 0.5. 3. How to know the size of vector / created above using MATLAB? 4. Create the following matrix and then get the elements in the last row of the matrix. 1 2 1 A=0 1 1 -2 -1 -2] 5. Obtain the inverse of A matrix above. 6. Multiply A and the inverse of A, what do you get? 7. Using a suitable function, obtain the magnitude of this complex number. x=3+4j 8. Generate a plot of this function in the time interval of 0 to 20 second (increment 0.2). y(t)=sin(t) +√2t+t² 9. With the time interval of 0 to 10 second (increment 0.1), plot these three functions in the same axis (in one graph). y₁(t) = 1.5sin(t) y2(t) = cos(nt) ys(t)=sin(t) + cos(nt) 10. With the time interval of 0 to 10 second (increment 0.1), plot the three functions above in 3 rows of graph using 'subplot' function. 11. Write a program to compute the sum of the series 12+22+32...., such that the sum is does not exceed 1000. The program should display how many terms are used in the sum. 12. Write your own MATLAB function that converts the user input of length in cm unit to inch unit. Name your function as 'cm2inch'. Run the function to verify. 1. Using 'roots' function, obtain the root of x+3x³-3x²-7x+6=0. 2. Create a time vector namely I consists of elements from 0 to 10 with increment of 0.5. 3. How to know the size of vector / created above using MATLAB? 4. Create the following matrix and then get the elements in the last row of the matrix. 1 2 1 A=0 1 1 -2 -1 -2] 5. Obtain the inverse of A matrix above. 6. Multiply A and the inverse of A, what do you get? 7. Using a suitable function, obtain the magnitude of this complex number. x=3+4j 8. Generate a plot of this function in the time interval of 0 to 20 second (increment 0.2). y(t)=sin(t) +√2t+t² 9. With the time interval of 0 to 10 second (increment 0.1), plot these three functions in the same axis (in one graph). y₁(t) = 1.5sin(t) y2(t) = cos(nt) ys(t)=sin(t) + cos(nt) 10. With the time interval of 0 to 10 second (increment 0.1), plot the three functions above in 3 rows of graph using 'subplot' function. 11. Write a program to compute the sum of the series 12+22+32...., such that the sum is does not exceed 1000. The program should display how many terms are used in the sum. 12. Write your own MATLAB function that converts the user input of length in cm unit to inch unit. Name your function as 'cm2inch'. Run the function to verify.
Expert Answer:
Answer rating: 100% (QA)
1 Roots of a Polynomial Equation The code finds the roots of the polynomial equation x43x33x27x60 It uses the roots function which calculates the roots of a given polynomial Define the coefficients of ... View the full answer
Related Book For
Managerial Economics
ISBN: 978-0133020267
7th edition
Authors: Paul Keat, Philip K Young, Steve Erfle
Posted Date:
Students also viewed these programming questions
-
A small electric immersion heater is used to heat 6 6 g of water for a cup of instant coffee. The heater is labeled 1 3 0 watts ( it converts electrical energy to thermal energy at this rate ) ....
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-5. Ivan's grandfather died and left a portfolio of municipal bonds. In 2012, they pay Ivan...
-
You are required to write a Python program that will manage character (heroes and villain) information. Character (hero and villain) information will be stored in a text file that will be read in...
-
Differentiate between formal and behavioral roles, and describe how behavioral roles emerge during group interaction.
-
What will the real value of $100 be in 10 years if you hide the money under your mattress and the inflation rate is: (a) 0% (b) 2% (c) 8%
-
As a hospital CFO/Healthcare manager, what would be some of your most important considerations as you prepare your organization's operating budget for the fiscal year?
-
When to use the official form complaints?
-
Maple Leaf Production manufactures truck tires. The following information is available for the last operating period. Maple Leaf produced and sold 92,000 tires for $40 each. Budgeted production was...
-
If you are 30 years old and 62 years old will retire. there are $50,000 to invest from 30 years old to 62 years old and the rate is 7%.on reaching50 change to rate 3%. question: calculate the amount...
-
If the Sommers had chosen the original 15-year, 6.25% mortgage proposal, how much tax shelter would they have lost (over the last five years) as compared to the 30-year, 7.25% mortgage?
-
From 1929 to 1933, the Federal Reserve increased the monetary base by 20 percent, yet the money supply (M1) fell by 25 percent, and M2 fell even more. 1) How is the monetary base different from the...
-
The project manager and the _____________ each received a new _____________ computer. a. vice president, dell b. Vice President, Dell c. vice president, Dell For the above sentence, write the correct...
-
_____________ likely that the old smartphone and _____________ limited storage capacity wont work much longer. a. Its, its b. Its, its c. Its, its For the above sentence, write the correct letter in...
-
At the all-hands meeting of _____________, the companys executive _____________ were discussed. a. stakeholders, salaries b. stakeholders, salaries c. stakeholders, salarys For the above sentence,...
-
No one likes to give it or receive it, but sometimes criticism is unavoidable, even desirable. Constructive criticism in the workplace is necessary when team members need feedback and managers must...
-
How should candidates handle questions about their weaknesses?
-
84. A piece of wire of length / is cut into two portions of lengths x and (1-x). Each portion is then cut into twelve equal parts which are soldered together so as to form the edges of a cube. Find...
-
Privitera and Freeman (2012) constructed a scale to measure or estimate the daily fat intake of participants; the scale was called the estimated daily intake scale for fat (EDIS-F). To validate the...
-
Discuss some of the important criticisms of the forecasting ability of the leading economic indicators.
-
The compound growth rate is frequently used to forecast various quantities (sales, profits, and so on). Do you believe this is a good method? Should any cautions be exercised in making such...
-
How do econometric models differ from "naive" projection methods? Is it always advisable to use the former in forecasting?
-
Give examples of non-current (or fixed) assets. In what circumstances would some of the items you have listed be current assets?
-
What is the difference between a non-current asset and a current asset?
-
You are given the following simplified statement of financial position of the Sandin Castle Company: a Calculate the current ratio. b Calculate the liquidity ratio. c After preparing the statement of...
Study smarter with the SolutionInn App