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:
![1. Using 'roots' function, obtain the root of x+3x-3x-7x+6= 0. 2. Create a time vector namely I consists of](https://dsd5zvtm8ll6.cloudfront.net/questions/2023/11/6567199103209_1701345546952.jpg)
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.
-
MAN Roland agreed to sell Quantum Color Corporation a used press for $405,000. According to the contract, Quantum was supposed to pay $5,000 at the time of the contract, $265,000 at delivery, and the...
-
Insert the missing word: . . . . . . . . . controls are about the way people relate to each other and are motivated (or not). When systems are viewed as dynamic relationships, we can better...
-
The World Bank works to alleviate world poverty and provides information about conditions in developing countries, which it uses to measure progress in economic and social development. World...
-
Based upon the following facts of Fred, Inc., calculate adjusted current earnings (ACE): Alternative minimum taxable income (AMTI) ....... $7,220,000 Municipal bond interest ................ 630,000...
-
Last month when Holiday Creations, Incorporated, sold 40.000 units, total sales were $160,000, total variable expenses were $134,400, and fixed expenses were $38,500 Required: 1 What is the company's...
-
Given VDS = 4 V for the network of Fig. 7.93, determine: a. 1D. b. VD and VS c. VGS 12 V 4 V GS 6-3 V
-
6. Find the area of the region that lies under y = e" and above y = 1 for -2 s x s 0 7. Let f(x) = F'(x). For F(x) = 3x' + 2x + x + 2In(x), a = 1, b =2, write the integral ff(x)dx and evaluate it...
-
1. Make a comparison between the leadership approaches "Trait Models" and "Behavioral Models". Discuss the main postulates and differences between the models and provide examples of a theory...
-
Applying the Central Limit Theorem: The amount of contaminants that are allowed in food products is determined by the FDA ( Food and Drug Administration ) . Common contaminants in cow milk include...
-
A collection of techniques used by social scientists to compile, summarize, and convey numerical data. Revised Research Question Hypothesis : Null Hypothesis : A null hypothesis, often known as H0,...
-
Adidas is an international sporting apparel/shoes brand. If Adidas was to enter a new foreign market, it would conduct a country market assessment. Identify the 4 components of the assessment....
-
Using the scenario linked in the Supporting Materials section, assume that you are the cost accountant for your company, and the CFO has asked for your analysis on purchasing materials from an online...
-
Hello Bhd bought 80% of the share capital of Kitty Bhd for RM1,240,000 on January 1, 2019. At that date Kitty Berhad's retained earnings stood at RM200,000. The statements of financial position at 31...
-
What does non-recourse financing mean?
-
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?
-
E14.9. Simple Valuation for the Coca-Cola Company (Medium) In early 2006, the 2,369 million outstanding shares of the Coca Cola Company traded at $48.91 each. The price-to-book ratio was 6.3 and the...
-
E14.8. Simple Valuation for General Mills, Inc. (Easy) The following are from the financial statements for General Mills (in millions): 2008 2007 Net operating assets $12,847 $12,297 Common equity...
-
E14.10. Reverse Engineering for Starbucks Corporation (Medium) In January 2008, the 738.3 million outstanding shares of Starbucks Corporation traded at $20 each. Analysts' consensus carning-per-share...
![Mobile App Logo](https://dsd5zvtm8ll6.cloudfront.net/includes/images/mobile/finalLogo.png)
Study smarter with the SolutionInn App