Community Profile

photo

Rebecca


Active since 2014

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


I am trying to find the positive roots of the equaiton y = ((exp(1).^(-0.2*x)))*(cos(2*x))-(0.15*x.^2)+1, but I keep getting the error message saying that there arent enough input arguments. I dont know what to do.
This is what I enter in my Editor window verbatim: function y = f(x) y = ((exp(1).^(-0.2*x)))*(cos(2*x))-(0.15*x.^2)+1; ...

10 years ago | 2 answers | 0

2

answers

Question


How do I find ALL of the positive roots of exp(-0.2*x)*cos(2*x)-0.15*x^2+1?
I enter this into Matlab but I only receive back one of its positive roots and I know it has at least three. syms x, y=exp...

10 years ago | 1 answer | 0

1

answer