Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Use Eulers method in Matlab without using syms command

조회 수: 2 (최근 30일)
Leesy
Leesy 2017년 3월 13일
마감: John D'Errico 2017년 3월 13일
I have the following ode:
dy/dt = (4t^2)-.5y
with y(0)=2,
I need to use Eulers method to solve it with a time step of 1. I need to write out 3 steps to get values of y(1), y(2), and y(3).
Every code that i've seen is dependent on the syms command, which i cannot use with the version of matlab that i have. Any help to get started would be greatly appreciated.
  댓글 수: 1
John D'Errico
John D'Errico 2017년 3월 13일
Surely you have learned what Euler's method is in class? If not, then do some reading.
https://en.wikipedia.org/wiki/Euler_method
In there, you will find good examples of Euler's method. So you need to make an effort. If and when you actually have a MATLAB question, then ask it.

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by