y=e^(7/x)-x

Can you help me to solve these questions by matlab (a) sketch the graph of function above, (b) find local max and min values of y then plot them in the graph, and (c) find the asymptotes of the curve y then draw them on the same figure of the graph.

2 Comments

Rik
Rik on 1 Dec 2021
You can find guidelines for posting homework on this forum here. If you have trouble with Matlab basics you may consider doing the Onramp tutorial (which is provided for free by Mathworks). If your main issue is with understanding the underlying concept, you may consider re-reading the material you teacher provided and ask them for further clarification.
To plot the function you'll first need to define your X-axis. I.e x = 1:100 for example.
to plot
y=e^(7/x)-x
You can represent this as y=exp(7./x)-x
These can be used to find the local max and min
:) Hope it helps.

Answers (0)

This question is closed.

Products

Release

R2021a

Asked:

on 1 Dec 2021

Closed:

on 1 Dec 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!