differential equations with conditions
    조회 수: 6 (최근 30일)
  
       이전 댓글 표시
    
I would like to know how to fix the errors in my code.
syms current(t) 
              eqn = (diff(current,t,2)*L) + (diff(current,t)*R) + (current/C) == 0;
              Dcurrent = diff(current,t);
              cond=[current(0)==0 Dcurrent(0)==8];
              currentSol(t)=dsolve(eqn,cond);
댓글 수: 1
답변 (1개)
  Birdman
      
      
 2017년 11월 23일
        syms current(t) R L C 
eqn = (diff(current,t,2)*L) + (diff(current,t)*R) + (current/C) == 0;
Dcurrent = diff(current,t);
cond=[current(0)==0 Dcurrent(0)==8];
currentSol(t)=dsolve(eqn,cond);
댓글 수: 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!


