For the function y = ((2x ^ 2 - 5x + 4) ^ 3)/(x ^ 2), calculate the value of y for the follow ing values of x-2,-1.0, 1.2.3, 4, 5 using element-by-element operations.
3 views (last 30 days)
Show older comments
y = ((2x ^ 2 - 5x + 4) ^ 3)/(x ^ 2)
2 Comments
Answers (1)
Image Analyst
on 25 Dec 2021
Hint:
x = [-2, -1.0, 1, 2, 3, 4, 5]
For y = ((2x ^ 2 - 5x + 4) ^ 3)/(x ^ 2) use "dot slash" and "dot caret" instead of slash and caret. and 2x needs a * between the 2 and the x.
1 Comment
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!