Project 7 Note: Use Matlab powers to do the following

Project 7
Note: Use Matlab powers to do the following problems the easy way.
ο‚· Find all the minimums and maximums of the following functions.
π’š = π’™πŸ’ βˆ’ πŸ“π’™πŸ βˆ’ 𝒙 + 𝟏
βˆ’πŸ<𝒙<𝟐
βˆ’π’™πŸ
π’š=𝒆
βˆ’βˆž<𝒙<∞
πŸ‘π’†βˆ’π’™ + πŸ“π’†πŸ‘π’™
π’š=
𝟏<𝒙<πŸ“
πŸ•π’™πŸ
ο‚· The distance between the Earth and the Mercury may be defined as
𝒅 = √(𝑿𝒆 βˆ’ π‘Ώπ’Ž )𝟐 + (𝒀𝒆 βˆ’ π’€π’Ž )𝟐 ,
where
πŸπ…π’•)
π‘Ώπ’Ž = βˆ’πŸπŸ. πŸ—πŸŽπŸ–πŸ’ + πŸ“πŸ•. πŸ—πŸπŸπŸ•πœπ¨π¬ (
)
πŸ–πŸ•. πŸ—πŸ•
πŸπ…π’•)
π’€π’Ž = πŸ“πŸ”. πŸ”πŸ•πŸ’πŸπ’”π’Šπ’ (
)
πŸ–πŸ•. πŸ—πŸ•
πŸπ…π’•)
𝑿𝒆 = βˆ’πŸ. πŸ’πŸ—πŸ–πŸ• + πŸπŸ’πŸ—. πŸ”πŸŽπŸ’πŸπœπ¨π¬ (
)
πŸ‘πŸ”πŸ“. πŸπŸ“
πŸπ…π’•)
𝒀𝒆 = πŸπŸ’πŸ—. πŸ“πŸ–πŸ‘πŸπ’”π’Šπ’ (
)
πŸ‘πŸ”πŸ“. πŸπŸ“
Find the minimum and the maximum distance between the Earth and the Mercury over the first
1000 days. What days do these maximum and minimum occur? In the above equations, t and d
represent the number of days and distance in gigameters (109 π‘šπ‘’π‘‘π‘’π‘Ÿπ‘ ), resprrectivley.