변수로 구성된 함수이므로 이산화 기법은 두 좌표를 모두 다루어야 한다. 공간에서만 이산화하
고 시간은 연속체로 유지하거나, 시간에서만 이산화하고 공간은 연속체로 남기거나, 공간과 시
간을 모두 이산화할 수 있다. 수치적으로 해결할 수 있는 경로가 여러 개 있는 것이 일반적이며
선택의 폭이 넓다는 것은 좋은 점이다. 공간과 시간을 모두 이산화하면 대수 방정식 시스템을
얻을 수 있고, 공간만 이산화하고 시간은 이산화하지 않으면 상미분 방정식 시스템으로 귀결된
다. 우리가 다루는 편미분 방정식이 선형이기 때문에 이산화된 시스템도 역시 선형이다.
이제 완전한 이산화 구조를 적어보자. 공간에 대한 이산화를 위해
2
차 미분 항을 근사하는 데
2
차 정확도의 중심 차분법을 사용하고 시간에 대한 이산화를 위해
1
차 미분을 근사하는 전방
차분법을 사용할 것이다.
앞서 작성한 방정식에서
u
(
x
,
t
)
는 초기 조건
u
(
x
,
0
)
=
g
(
x
)
에서 주어진다. 우리는
u
(
x
,
t
)
가
시간에 따라 어떻게 변화하는지 알고 싶다. 수치적인 구조에서 아래 첨자
i
는 이산화된 공간을 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.
O’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
I wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
I’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
I'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.