Compute the value of the function y = xe-x cos (2x) when x = 10. 2....
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Compute the value of the function y = x¹e-³x cos (2x) when x = 10. 2. MATRICES (a) Construct a matrix A, where A = 1 3 5 7) 10 8 6 4 2 4 68 3 5 7 9, (b) Construct matrix Bfrom A, where Btakes only the third and fourth columns of the first and second rows. 3. VECTOR AND MATRIX (a) Construct a vector vsuch that v(n) = 15e "cos(0.125лn) (b) Generate a 5 x 5 matrix Mwith elements x = 1 to 5 M (x, y) = x²y You can only use one line to complete the task. n = 0, 1, 2, 3, ..., 20 4. LOOPS (a) Using FOR loops, generate a 6 x 6 matrix with elements (x, y= 1 to 6) Y(x, y) = 2x + y² (b) Using WHILE Loops to compute the value of 2023 Fall i=20,j=5 Σ i+2j i=0,j=0 5. PLOT (a) Plot y(t) and z(t) on the same graph, for 1st≤5 (with 1000 data points), such that y(t) = 3e-0.5t cos(x²) z(t) = 2-y(t) (b) Plot the following four signals on the same graph (set the step size to 0.2) a(t₁) = 1 + t b(1₂) = cos(2₂) c(13) = (2+)² d(14) = 514-8 a с b d ,-5 <t₁ <5 ,0</2₂ < 10 ,2 <13<30 ,-100 < 14 < 100 6. FUNCTION Given that y(t) = 3e-05 tcos(²), 1 < t < 5 (step = 0.02) Write a function "new_plot" to ploty(t-to) as well as the original y(t). Use the function to plot y(t-0.5). The output argument of the function should be the average difference of the two signals. Compute the value of the function y = x¹e-³x cos (2x) when x = 10. 2. MATRICES (a) Construct a matrix A, where A = 1 3 5 7) 10 8 6 4 2 4 68 3 5 7 9, (b) Construct matrix Bfrom A, where Btakes only the third and fourth columns of the first and second rows. 3. VECTOR AND MATRIX (a) Construct a vector vsuch that v(n) = 15e "cos(0.125лn) (b) Generate a 5 x 5 matrix Mwith elements x = 1 to 5 M (x, y) = x²y You can only use one line to complete the task. n = 0, 1, 2, 3, ..., 20 4. LOOPS (a) Using FOR loops, generate a 6 x 6 matrix with elements (x, y= 1 to 6) Y(x, y) = 2x + y² (b) Using WHILE Loops to compute the value of 2023 Fall i=20,j=5 Σ i+2j i=0,j=0 5. PLOT (a) Plot y(t) and z(t) on the same graph, for 1st≤5 (with 1000 data points), such that y(t) = 3e-0.5t cos(x²) z(t) = 2-y(t) (b) Plot the following four signals on the same graph (set the step size to 0.2) a(t₁) = 1 + t b(1₂) = cos(2₂) c(13) = (2+)² d(14) = 514-8 a с b d ,-5 <t₁ <5 ,0</2₂ < 10 ,2 <13<30 ,-100 < 14 < 100 6. FUNCTION Given that y(t) = 3e-05 tcos(²), 1 < t < 5 (step = 0.02) Write a function "new_plot" to ploty(t-to) as well as the original y(t). Use the function to plot y(t-0.5). The output argument of the function should be the average difference of the two signals.
Expert Answer:
Answer rating: 100% (QA)
1 Computing the value of the function y x e3x cos2x when x 10 python import math x 10 y x mathexp3 x ... View the full 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
-
2. Moon has been investing $2,500 quarterly for the past 10 years in an equity mutual fund. How much is the fund worth now assuming she has earned 8.5% compounded quarterly on her investment? N =...
-
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...
-
Silas is farsighted and wants to read the newspaper. Withoutglasses, Silass near point (the closest point he can see in focus)is far away, so he has to try to read the paper by holding his...
-
where a bank's liabilities can be withdrawn in the short-term while its assets are being repaid in the long-term.
-
A force P is applied to the handles of the pliers. Determine the force developed on the smooth bolt B and the reaction that pin A exerts on its attached members. Given: P = 8 lb a = 1.25 in b = 5 in...
-
After winning the lottery, you can choose an after-tax lump sum of $347 million today or payments of $33,456,789 at the end of each of the next 30 years. At what interest rate would you be...
-
A manufacturer of smart phones has the following probability distribution for the number of defects per phone: (a) Determine the probability of 2 or more defects. (b) Is a randomly selected phone...
-
1. Draw the Supply Curves. The following table shows short-run marginal costs for a perfectly competitive firm: a. Use this information to draw the firms marginal cost curve. b. Suppose the shut-down...
-
Great Boots Company sells rock climbing equipment. On February 28, Great Boots had the following accounts and balances: Bonds payable $180,000 Discount on bonds payable 19,000 On that day, Great...
-
Prime Contractors (Prime) is a privately owned company that contracts with the U.S. government to provide various services under multiyear (usually five-year) contracts. Its principal services are as...
-
In order to ensure the transfer of bananas, you proceed to a loading of specific refrigerated containers of dimension 40'. Initially the bananas are stored in stackable cartons which will be put on...
-
Dave Eichoff had adjusted gross income for 2018 of \(\$ 122,000\) before any passive losses or other rental activities. He owned a mountain cabin in Idaho, which he rented for 125 days and which was...
-
Eastmans vice president for strategic planning, together with members from the business team and manufacturing, are exploring the possibility of building a greenfield plant through a joint venture in...
-
A gift to a government hospital that is restricted by the donor to use for a specific program should be credited directly to a. restricted net assets. b. deferred revenue. c. revenue. d. unrestricted...
-
Suppose that the demand curve for wheat is \(Q=100-10 p\) and the supply curve is \(Q=10 p\). The government imposes a specific tax of \(t=1\) per unit. a. How do the equilibrium price and quantity...
-
John sold a painting in February 2018 for \(\$ 40,000\). He received \(\$ 10,000\) in February and was to receive \(\$ 15,000\) in 2019 and 2020 , plus interest. He purchased the painting in 2007 for...
-
The height of a concrete foundation is measured by a 15-inch base and an additional 2.5 inches is being poured every minute. If the concrete is pouted between 0 and 10 minutes, find the domain and...
-
What is the order p of a B + -tree? Describe the structure of both internal and leaf nodes of a B + -tree.
-
Clifford Johnson has a limited partnership investment and a rental condominium. Clifford actively manages the rental condominium. During 2012, his share of the loss from the limited partnership was...
-
Larry and Lisa Williams, both 33 years old, have been married for 9 years. They live at 638 Arctic Way, Fairbanks, AK 99701. Lisa's Social Security number is 445- 81-1423 and Larry's is 798-09-8526....
-
Frank, age 35, and Joyce, age 34, are married and file a joint income tax return for 2012. Their salaries for the year total $83,000 and they have taxable interest income of $4,000. They have no...
-
Wallace and Hussain type estimators for the variance components of a one-way unbalanced panel data model. (a) Verify the \(E\left(\widehat{q}_{1} ight)\) and \(E\left(\widehat{q}_{2} ight)\)...
-
Using the Monte Carlo setup for the unbalanced one-way error component model considered by Baltagi and Chang (1994), compare the various estimators of the variance components and the regression...
-
Using the Harrison and Rubinfeld (1978) data published in Belsley, Kuh and Welsch (1980) and provided on the Springer website as Hedonic.xls, reproduce Table 9.1. Perform the Hausman test based on...
Study smarter with the SolutionInn App