Determine how many times their graphs intersect.

Plot the functions x^8 and 4^x on the same graph, and determine how many times their graphs intersect. Now find the values of the points of intersection using the command f zero.
This is my first time using MATLAB. This problem is EXERCISE in the Book. I just want to know..

2 Comments

This sounds like a homework assignment. If it is, show us the code you've written to try to solve the problem and ask a specific question about where you're having difficulty and we may be able to provide some guidance.
If you aren't sure where to start because you're not familiar with how to write MATLAB code, I suggest you start with the MATLAB Onramp tutorial (https://www.mathworks.com/support/learn-with-matlab-tutorials.html) to quickly learn the essentials of MATLAB.
If you aren't sure where to start because you're not familiar with the mathematics you'll need to solve the problem, I recommend asking your professor and/or teaching assistant for help.
Can you provide me the link/ebook of the exercise?

Sign in to comment.

Answers (1)

  1. DEfine the values of x. Read about linspace.
  2. Now you can make your required functions. You need to use element by element operations.
  3. USe plot to plot the data.
  4. now use fzero. Read about fzero.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Asked:

on 31 Jan 2021

Commented:

on 19 Nov 2021

Community Treasure Hunt

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

Start Hunting!