1
00:00:00,240 --> 00:00:05,280
So welcome back, and now let's get started with our first real numerical lecture of this course.

2
00:00:06,180 --> 00:00:14,280
So this whole section is about the concept of fitting a function to data, and we will start out this

3
00:00:14,280 --> 00:00:21,060
section by implementing the concept of a serious expansion, which means that you can basically approximate

4
00:00:21,390 --> 00:00:24,330
any function by your so-called Taylor series.

5
00:00:25,020 --> 00:00:27,150
So if you haven't heard about this, that's no problem.

6
00:00:27,330 --> 00:00:30,540
I will teach you what it is and how we can implement this.

7
00:00:31,320 --> 00:00:36,600
And in the second part of the section, we will deal with interpolation, which means that when you

8
00:00:36,600 --> 00:00:43,950
have multiple data points, you can calculate more data points in between and we can do this mathematically

9
00:00:43,950 --> 00:00:46,680
by using linear cubic spleens.

10
00:00:47,220 --> 00:00:49,860
And this will really fit your data perfectly.

11
00:00:50,970 --> 00:00:57,150
However, the problem is it will basically just connect the dots, and this is not really what is good

12
00:00:57,150 --> 00:00:58,890
in terms of a physical background.

13
00:00:59,430 --> 00:01:05,970
So then the third part of the section is about really fitting a physically relevant model function to

14
00:01:05,970 --> 00:01:06,690
our data.

15
00:01:07,410 --> 00:01:10,860
So we will define an error which we will then minimize.

16
00:01:11,250 --> 00:01:16,800
And so we will get the ideal model function with the ideal parameters to describe our data.

17
00:01:17,550 --> 00:01:22,560
And of course, this concept is extremely relevant even in the scientific background, and I will show

18
00:01:22,560 --> 00:01:27,450
you that we can use this concept for a very difficult problem later on in the course.

19
00:01:27,930 --> 00:01:32,880
So in one of the very late sections of the course, we will consider coupled harmonic oscillators,

20
00:01:33,300 --> 00:01:38,280
and we will then fit a function to this data to better understand it.

