how do I find the extreme points?
9 views (last 30 days)
Show older comments
y = x(sin(x))^2 with a domain interval of [-0.5, 0.5]
Have been trying to work this problem out and can't seem to figure it out..
0 Comments
Accepted Answer
KSSV
on 25 Oct 2016
clc; clear all ;
x = linspace(-0.5,0.5) ;
y = x.*(sin(x)).^2 ;
plot(x,y) ;
% extreme points
[x(1) y(1)]
[x(end) y(end)]
More Answers (1)
Robin Sah
on 21 Feb 2019
clc; clear all ;
x = linspace(-0.5,0.5) ;
y = x.*(sin(x)).^2 ;
plot(x,y) ;
% extreme points
[x(1) y(1)]
[x(end) y(end)]
0 Comments
See Also
Categories
Find more on Transforms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!