Q.Consider the curve dened by y = 40cos(0.1x + 0.2). The distance...
Q. Consider the curve defined by y = 40cos(0.1x + 0.2). The distance d(x) from the origin (0,0) to a point (x,y) on the curve is
d(x) = sqrt( x^2 +(40cosx(0.1x+0.2)))^2
(a) Write a MATLAB program and function M-file to plot d(x) for −100 ≤ x ≤ 100. Also use the function M-file and the fminbnd command to find (and display) the point (xmin, ymin) on the curve that is closest to the origin and display the minimum distance(i.e.,the distance from the origin to the point (xmin,ymin)).
(b) Write a MATLAB program that uses the fzero command to find the point(s)on the curve at a distance of 60 from the origin.
lestie consequat, ultrices ac magna. Fusce dui lectus, congue vel laoreet ac, dictum vitae odio. Do
s ante, dapibus
ac, dictum vitae odio.
onec aliquet. Lo
onec aliquet. Lorem ip
risus
m ipsum dolor sit ame
at, ul
dictum vitae odio. Don
Unlock full access to Course Hero
Explore over 16 million step-by-step answers from our library
Subscribe to view answerultrices a
molestie consequ
ultrices ac magna. Fusce dui lectu
ac, dictum vitae odio. Donec al
e vel laoreet
at,
molestie
risus ante, dapibus
ongue vel laoreet ac, dictum
sus ante, dapibus a molesti
itur laoreet. Nam
icitur
ac, dictum vit
ce dui lectus,
ac, dictum vit
risus
ultrices a
nec facilisis. Pe
sque dapibus
nec facilisis. Pe
gue vel laoreet ac,
molestie consequ
ec faci
icitur l
tesque dapibus efficitur