Write a user-defined MATLAB function for the following math function: y(x) = (- 0.2x3 + 7x2)e-0.3x The
Question:
y(x) = (- 0.2x3 + 7x2)e-0.3x
The input to the function is x and the output is y. Write the function such that x can be a vector (use element-by-element operations).
(a) Use the function to calculate y(-1.5) and y(5).
(b) Use the function to make a plot of the function y(x) for -2 < x < 6.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 50% (22 reviews)
Script file clear clc dispPart a x15 5 ymathx dispThe test valu...View the full answer
Answered By
Sidharth Jain
My name is Sidharth. I completed engineering from National Institute of Technology Durgapur which is one of the top college in India. I am currently working as an Maths Faculty in one of the biggest IITJEE institute in India. Due to my passion in teaching and Maths, I came to this field. I've been teaching for almost 3 years.
Apart from it I also worked as an Expert Answerer on Chegg.com. I have many clients from USA to whom I teach online and help them in their assignments. I worked on many online classes on mymathlab and webassign. I guarantee for grade 'A'.
4.90+
3+ Reviews
10+ Question Solved
Related Book For
Question Posted:
Students also viewed these Finance questions
-
Write a user-defined MATLAB function for the following math function: r() = 4cos(4sin) The input to the function is (in radians) and the output is r. Write the function such that e can be a vector....
-
A two-dimensional state of stress at a point in a loaded material in the direction defmed by the x-y coordinate system is defined by three components of stress xx yy, and xy. The stresses at the...
-
Write a user-defined MATLAB function that determines the angle that forms by the intersection of two lines. For the function name and arguments, use th=anglines (A,B,C). The input arguments to the...
-
In Exercises 1126, determine whether each equation defines y as a function of x. x + y = 16
-
In March 2012, President Obamas approval ratings were the highest they had been in almost a year: 46% of those that Gallup sampled approved of the job Obama was doing as president...
-
The file P09_51.xlsx contains data on 1000 randomly selected Walmart customers. The data set includes demographic variables for each customer as well as their salaries and the amounts they have spent...
-
Analyze the wine quality of young red wines data in Table B. 19 for multicollinearity. y X2 X3 X4 x6 X7 Xg Xg x10 19.2 0 3.85 66 9.35 5.65 2.40 3.25 0.33 19 0.065 18.3 0 3.73 79 11.15 6.95 3.15 3.80...
-
A pistoncylinder device contains 0.85 kg of refrigerant- 134a at 10°C. The piston that is free to move has a mass of 12 kg and a diameter of 25 cm. The local atmospheric pressure is 88 kPa. Now,...
-
A manufacturing company reports the following Information for the month of May. Note: Assume all raw materials were used as direct materials. Activities for May Activities for May Advertising expense...
-
Century Group Ltd. (CGL) is a public company in Ontario that reports under IFRS. The company is financed by 10,200,000 common shares and $23 million in long-term debt. CGL is planning to launch a new...
-
Write a program in a script file that finds the smallest even integer that is divisible by 13 and by 16 whose square root is greater than 120. Use a loop in the program. The loop should start from 1...
-
Write a user-defined function that calculates grade point average (GPA) on a scale of 0 to 4, where A = 4, A- = 3.7, B+ = 3.3, B = 3, B- = 2.7, C+ = 2.3, C = 2, C- = 1.7, D+ = 1.3 D = 1, and E = 0....
-
In response to legal cases in which companies have had their internal e-mails used to their disadvantage, several companies have developed programs that automatically destroy e-mails once they have...
-
What is Authentic leadership ? How do you develop authentic leadership? Why authentic leadership is important? Provide the detail analysis on Authentic leadership Theory and The key behaviours of an...
-
Derek Jeter is the ideal leader Name three specific Authentic leadership skills, three specific Authentic leadership behaviors, and three specific Authentic leadership traits of Derek Jeter.
-
How is authentic leadership reflected in a nursing home? How does CNA leadership reflect authentic leadership? How can authentic leadership help nursing homes be more productive?
-
What role would Authentic Leadership play in a crisis-ready culture? https://www.insights.com/media/1107/authentic-leadership.pdf...
-
Why is authentic leadership hard to define? Describe the three different definitions of authentic leadership. What does each definition contribute to our understanding of this concept? What are the...
-
In Exercises 1118, find r'(t). r(t) = ti + (1 - t 3 ) j
-
In the figure, two loudspeakers, separated by a distance of d1 = 2.63 m, are in phase. Assume the amplitudes of the sound from the speakers are approximately the same at the position of a listener,...
-
Change each of the following percents into a decimal. (a) 185% (b) 7.5% (c) 0.4% (d) 0.025% (e) 1 % (f) % (g) 162 % (h) 11 % (i) 8 1/3% (j) 83 1/3% (k) 266 2/3% (l) 10 3/8%
-
A marina listed a yacht at 33 1/3% above cost. At the end of the season, the list price was reduced by 22.5% and the yacht was sold for $15 500. What was the cost of the yacht to the marina?
-
A & E Holdings profit and loss statement showed a net income of 9 3/4% of revenue or $29 250. Fifteen percent of net income was paid in corporation tax and 75% of the net income after tax was paid...
-
Jen and Barry's ice cream shop charges $1.65 for a cone. Variable expenses are $0.31 per cone, and fixed costs total $2,000 per month. A Valentine's Day promotion is being planned for the second week...
-
a. The future value of a $1,050 savings deposit after five years at an annual interest rate of 4 percent. (Round FV factor to 3 decimal places and final answer to 2 decimal places.) Future value b....
-
QuestromT Not complete Marked out of 2.00 ring question Homework - Week 6 - Module 23 Determining Unit Costs, Variance Analysis, and Interpretation Big Dog Company, a manufacturer of dog food,...
Study smarter with the SolutionInn App