MATLAB QUESTION A hiker is returning from a trip and her position at time t 0 is
ID: 3853945 • Letter: M
Question
MATLAB QUESTION
A hiker is returning from a trip and her position at time t 0 is given by the vector function r() = Assuming that she is always walking in the direction of the steepest descent, ie. r()-x., and that her initial position is r(0- determine the hiker's trajectory r() as a function of time until she can no longer move downhill. Note that the equation r() =-V (x,y) must be integrated for a suff-ciently long time to ensure the climber can no longer move downhill. To achieve this use [ 0 : 0 001: 5·0] as the second argument of the function de 45 a What are the final x, y, and z coordinates of the hiker? Note: The Matlab code for the required partial derivatives f and fy are given by the following two expressions, respectively (which could be produced using Matlab's Symbolic Toolbox, if you have it) -(18* (1-3*x))exp 3*x.2-(3*y+1) .*2) . . . -(10* (3/5-81*x. 2)).*exp (-6*x. 2-4y.2) . . . (1/3* (-18 x-6)) *exp (3*x+1) 2-9 y. 2) +2*x; 3" (1-3"X) ."2" * (-18*y-6) ."exp (-3*x."2-(3*y+1) ."2) . . . 12150*y.^4."exp (-6*x."2-4*y."2) + 6*y.*exp (3*x+1) . *2-9*y. 2) +2*y; x, y, and z (in that order) separate your answers with a comma Just Save Submit Problem #2 for Grading Attempt #4 | Attempt #5 Problem #2 | Attempt #1 | Attempt #2 | Attempt #3 Your Answer: Your Mark:Explanation / Answer
We have found some codes on how to detect the mouth, nose and eyes, but we can't show everything in just one output here is our code
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.