2. Write an m-file that does the following, show the results in your lab report. a....
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
2. Write an m-file that does the following, show the results in your lab report. a. Define a polynomial function F1(s) = s^2+ 3s + 10 in Matlab and display the results. b. Calculate the roots of above polynomial by hand, and find roots by Matlab, display the results. Compare Matlab results with hand calculation. c. If function F2( s) has roots of -1, -3, and -22j, find the polynomial expression of F2(s), display the results in Matlab and mathematic format. d. Find polynomial F3( s) = F1( s) F2(s), display the results in Matlab and mathematic format. Find roots of F3(s) 2. Write an m-file that does the following, show the results in your lab report. a. Define a polynomial function F1(s) = s^2+ 3s + 10 in Matlab and display the results. b. Calculate the roots of above polynomial by hand, and find roots by Matlab, display the results. Compare Matlab results with hand calculation. c. If function F2( s) has roots of -1, -3, and -22j, find the polynomial expression of F2(s), display the results in Matlab and mathematic format. d. Find polynomial F3( s) = F1( s) F2(s), display the results in Matlab and mathematic format. Find roots of F3(s)
Expert Answer:
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these programming questions
-
Let A, B be sets. Define: (a) the Cartesian product (A B) (b) the set of relations R between A and B (c) the identity relation A on the set A [3 marks] Suppose S, T are relations between A and B, and...
-
QUIZ... Let D be a poset and let f : D D be a monotone function. (i) Give the definition of the least pre-fixed point, fix (f), of f. Show that fix (f) is a fixed point of f. [5 marks] (ii) Show that...
-
Based on Exhibit 1, the expected future value of Bond I at maturity is closest to: A. 98.80. B. 103.74. C. 105.00. Lena Liecken is a senior bond analyst at Taurus Investment Management. Kristel...
-
A couple plan to have two children and want to know the probability of having one boy and one girl. (a) Does {0, 1, 2} represent an equiprobable sample space for finding the probability of exactly...
-
Falling-cylinder viscometer (see Fig. 2C.4) A falling-cylinder viscometer consists of a long vertical cylindrical container (radius R), capped at both ends, with a solid cylindrical slug (radius KR)....
-
Let us consider an economy with two risky assets with returns \(\tilde{r}_{1}\) and \(\tilde{r}_{2}\). Show that the explicit formula \(w=\left(\mu-\mathbb{E}\left[\tilde{r}_{2} ight] ight)...
-
Newteh Computer Services, Inc., has been in business for six months. The following are basic operating data for that period. .:. Required a. What is the average service revenue per hour for the...
-
Using the above graph G, answer the following questions. 1. Is Ga DAG? 2. What are the strongly connected components of G? 3. Give a valid topological ordering of the nodes. 4. Is this the only valid...
-
Fourth-Sixth-Twelfth Bank currently pays an annuall dividend of $1.40 per share. After extensive analysis, you forecast that the Bank's stock will continue to pay the $1.40 dividend for four years....
-
Select the best answer for each of the following. Explain the reasons for your selection. a. In planning and performing an audit, auditors are concerned about risk factors for two distinct types of...
-
Corn producers interested in maximizing profits should: a. maximize yield b. maximize revenue c. consider both costs and revenue d. minimize costs
-
Which has the least elastic demand curve? a. apples b. fruit c. food d. oranges
-
A tractor and a plow are: a. substitutes b. complements c. perfect substitutes d. not enough information to answer
-
If a firm faces an inelastic demand curve, then it will desire to: a. maintain output at the current level b. increase output to increase revenue c. decrease output to increase revenue d. purchase...
-
The individual firm supply curve is: a. the horizontal summation of the market supply curve b. the MC curve above the maximum ATC c. the MC curve above the minimum ATC d. the MC curve above the...
-
The Board has asked you to review the auto-loan model in place in the firm. This model is designed to assess the expected loss related to each transaction underwritten by the firm. One of the models...
-
Juarez worked for Westarz Homes at construction sites for five years. Bever was a superintendent at construction sites, supervising subcontractors and moving trash from sites to landfills. He...
-
Amy is a calendar-year taxpayer reporting on the cash basis. Please indicate how she should treat the following items for 2012: a. She makes a deductible contribution to an IRA on April 15,...
-
For each of the following cases, indicate the filing status for the taxpayer(s) for 2012 using the following legend: A - Single B - Married, filing a joint return C - Married, filing separate returns...
-
Ulysses and Penelope are married and file separate returns for 2012. Penelope itemizes her deductions on her return. Ulysses' adjusted gross income was $17,400, his itemized deductions were $2,250,...
-
Under IFRS, unsettled gains on foreign monetary balances in an entitys balance sheet should be: A. Taken to profit or loss immediately. B. Taken to profit or loss when realized. C. Taken to profit or...
-
Home Inc. (a US company) has a wholly-owned subsidiary, S, which it acquired on 1 January X0. The balance sheets of S as at 1 January X0 and 31 December X0 are as set out in Figure 15.1 in foreign...
-
The stated accounting policy treatment for foreign currency translation for SKF, a Swedish company, before it adopted IFRS was as follows: Translation of foreign financial statements The current rate...
Study smarter with the SolutionInn App