Question: MATlab code Help: Find all the points of intersection between the functions f(x)=x^(6) and g(x)= 3^(x). Use solve() and fzero() as necessary. Graph both functions
MATlab code Help:
Find all the points of intersection between the functions f(x)=x^(6) and g(x)= 3^(x). Use solve() and fzero() as necessary. Graph both functions on the same figure and visually confirm your answers.
Here what I have so far for this question. I don't understand why I get 0 intersections found when the graph shows 2 points of intersection.
clear clc clear all x=[-5:.1:5]; y1= x.^6; y2= 3.^(x); plot(x,y1,x,y2); axis([-5,5,-2,5]); %% any(y1 == y2);
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
