1. Using 'roots' function, obtain the root of x+3x3x7x+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: 9780133020267
7th edition
Authors: Paul Keat, Philip K Young, Steve Erfle
Posted Date:
Students also viewed these programming questions

The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 15. 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.

For each polyatomic gas in Table 18.1, compute the value of the molar heat capacity at constant volume, Cv, on the assumption that there is no vibrational energy. Compare with the measured values in...

Some hotels have greatly expanded the amount of information about guests they maintain in guest histories or profiles. Identify five items of information about a guest that you believe hotels have a...

Sometimes people who act inappropriately are just trying to save their jobs and the company. How do you feel about those types of persons?

Refer to the gasoline sales time series data in Table. a. Compute four and fiveweek moving averages for the time series. b. Compute the MSE for the four and fiveweek moving average forecasts. c....

Please create the model of a library database. Describe the onetomany relationships in the library database What is the name of the DDL file you exported in step 2.3 Generate DDL ? Create a...

a. Use a spreadsheet (or a calculator with a linear regression function) to determine Stock X's beta coefficient. b. Determine the arithmetic average rates of return for Stock X and the NYSE over the...

Little Richard Laboratories (LRL) is a blood sample testing lab. LRLs testing process consists of four steps carried out by four technicians; Step 1 is carried out by Technician1, Step 2 by...

Buying a historic building in 2024 and paying a broker's commission will contribute how much to GDP in 2024?

Examine the following C program segment. What is the value of result after the program has executed? int main(void) { double yll (1.5,2.2, 4.3, 7.5, 9.1, 10,5), result; int i=0, j=0; result return 0;...

How are revenues typically recorded with debits and credits?

What is the gross profit for October for Jax Company?

The current prices of three U.S. treasury bonds are as follows: Maturity 1 Coupon Rate 0 2 3 6 7 Price 97.595 99.42 100.57 Assume that coupons paid yearly and all bonds have a face value of $100....

For this assessment, use information and publications from IRS.gov and the other IRS resources linked in the Resources under the Required Resources heading to determine the adjusted gross income...

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 (EDISF). 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?

Smart Manufacturing Systems Pty Ltds accountant recently prepared the following data from the companys accounting records for the year ended 30 June 2019. Factory overhead is applied at the rate of...

During the year ended 30 June 2019, Beautiful Bottles Pty Ltd incurred the following costs in connection with its production activities. Required (a) Calculate the relationship between factory...

Telecommunications company Toronto Ltd signed a 15year deal to sell capacity on its cable network to a rival company for $200 million. The deal was completed on the last day of Toronto Ltds financial...
Study smarter with the SolutionInn App