lim x arrow 4 x^2+3x/x^2-x-12
    조회 수: 7 (최근 30일)
  
       이전 댓글 표시
    
lim x-->4 x^2+3x/x^2-x-12
I have no idea how to input this into MATLAB. Every time I do I get an error.
댓글 수: 1
  John D'Errico
      
      
 2020년 6월 24일
				What have you tried? Did you read the help for the function limit? Have you looked at the examples in 
doc limit
Do you know how to use parentheses? Have you read the getting started tutorials in MATLAB? (Why not?)
답변 (1개)
  Rasul Khan
      
 2020년 6월 25일
        You have to declare x as a symbol. Try it this way
syms x;
f = (x^2 + 3 * x) / (x ^ 2 - x - 12); % your function
result = limit(f , x , 4);
댓글 수: 0
참고 항목
카테고리
				Help Center 및 File Exchange에서 Calculus에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


