All language subtitles for 16. Basic Mathematical Question - Derivatives [Optional]

af Afrikaans
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bn Bengali
bs Bosnian
bg Bulgarian
ca Catalan
ceb Cebuano
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
tl Filipino
fi Finnish
fr French
fy Frisian
gl Galician
ka Georgian
de German
el Greek
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian Download
is Icelandic
ig Igbo
id Indonesian
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
km Khmer
ko Korean
ku Kurdish (Kurmanji)
ky Kyrgyz
lo Lao
la Latin
lv Latvian
lt Lithuanian
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mn Mongolian
my Myanmar (Burmese)
ne Nepali
no Norwegian
ps Pashto
fa Persian
pl Polish
pt Portuguese
pa Punjabi
ro Romanian
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
st Sesotho
sn Shona
sd Sindhi
si Sinhala
sk Slovak
sl Slovenian
so Somali
es Spanish
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
te Telugu
th Thai
tr Turkish
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
or Odia (Oriya)
rw Kinyarwanda
tk Turkmen
tt Tatar
ug Uyghur
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:00,720 --> 00:00:06,730 Welcome back, ladies and gentlemen, and this exercise is going to be a little bit different. 2 00:00:06,850 --> 00:00:12,780 OK, I'm going to I'm not sure that everybody are on this course. 3 00:00:12,800 --> 00:00:16,190 He's basically also a student at the academy. 4 00:00:16,200 --> 00:00:17,340 Maybe yes, maybe no. 5 00:00:18,360 --> 00:00:20,490 But nevertheless, I think that. 6 00:00:21,410 --> 00:00:31,490 Also in school, you've got came across at least one time with these terminology called derivatives. 7 00:00:31,890 --> 00:00:37,760 OK, so that's something I'm going to use here in this exercise to make it a little bit interesting. 8 00:00:37,760 --> 00:00:43,910 Dare really to really deal with derivatives. 9 00:00:44,300 --> 00:00:44,750 Right. 10 00:00:45,810 --> 00:00:57,720 Dear Lou, were rescue teams, yeah, so derivatives and basically some formula that you can calculate 11 00:00:58,050 --> 00:01:09,090 on some equation, let's say, I don't know, we have like a, c, e, C multiplied by X in the power 12 00:01:09,090 --> 00:01:10,940 of an OK, don't freak out. 13 00:01:11,520 --> 00:01:12,690 It's very simple. 14 00:01:13,230 --> 00:01:22,100 And we want to like to find the derivative of this of this kind of formula. 15 00:01:22,110 --> 00:01:32,190 So C is just the constant, X is the variable and and is simply the power of X. 16 00:01:33,000 --> 00:01:45,480 So the derivative can be found without using these formula M multiplied by C, multiplied by X in the 17 00:01:45,480 --> 00:01:47,820 power of M minus one. 18 00:01:48,160 --> 00:01:50,490 OK, so that's very simple. 19 00:01:50,490 --> 00:01:55,350 I'm not going to get into all the details of how it's being calculated. 20 00:01:55,830 --> 00:02:02,570 Maybe, maybe guys you don't remember me because you even not sure that this exercise is for you. 21 00:02:02,580 --> 00:02:11,820 I'm simply I simply thought about it and I know that some of you, at least at least there is there 22 00:02:11,850 --> 00:02:20,820 are enough students here that are in college and they are taking like mathematical courses that they 23 00:02:20,820 --> 00:02:24,060 may also utilize it and implement it there. 24 00:02:24,210 --> 00:02:30,000 But if it sounds like really scary to you, don't bother about it. 25 00:02:30,000 --> 00:02:32,970 You may simply also skip this exercise. 26 00:02:32,970 --> 00:02:34,290 That's not amendatory. 27 00:02:34,290 --> 00:02:37,380 That's all that's just optional. 28 00:02:37,380 --> 00:02:44,760 And just like sort of as a bonus for students that know these derivatives. 29 00:02:46,320 --> 00:02:55,080 So what we need to do is simply to write some basic function that will get these C OK, these constant 30 00:02:55,080 --> 00:03:04,200 that will get the X value, and that will also get like on the the power and. 31 00:03:06,080 --> 00:03:13,250 And once the function will get this power and while the function will have to do is simply to calculate 32 00:03:15,170 --> 00:03:22,820 the derivative and like to use these values that were passed to the function and return the result, 33 00:03:22,820 --> 00:03:27,640 which is the actual value at these current position X. 34 00:03:28,340 --> 00:03:30,780 So it will simply look like this. 35 00:03:30,800 --> 00:03:39,590 So let's say we have I don't know, we have like a scene which is the constant equals to four X equals 36 00:03:39,590 --> 00:03:47,320 to two, which is the actual excoriating that we want to find like the slope value at this coordinate. 37 00:03:47,570 --> 00:03:52,490 And we also know that the graph itself is of a power of three. 38 00:03:52,830 --> 00:04:06,350 OK, so in this case, the function will simply receive these values like four, two and three and and 39 00:04:06,410 --> 00:04:09,900 then the function is going to calculate this value. 40 00:04:09,930 --> 00:04:16,250 OK, so first of all, we know that the derivative is can be calculated, the standard one, OK, can 41 00:04:16,250 --> 00:04:17,810 be calculated just like this. 42 00:04:17,850 --> 00:04:26,840 So and these three multiplied by C, which is four multiplied by the position that we are in currently, 43 00:04:27,890 --> 00:04:32,360 which is two and multiplied by it's not multiplied three. 44 00:04:32,420 --> 00:04:40,130 It's in the power of N minus one, which is three minus one, which is a total of two. 45 00:04:40,540 --> 00:04:48,060 OK, so the final result should be like three multiplied by four and multiplied by four, which will 46 00:04:48,060 --> 00:04:53,210 leave us like three multiplied by four, multiplied by four, which would give us what you give us. 47 00:04:53,210 --> 00:04:55,700 Twelve multiplied by four is forty eight. 48 00:04:56,060 --> 00:05:00,260 Forty eight should be the final value that the function is going to return. 49 00:05:01,400 --> 00:05:02,340 OK, is that clear. 50 00:05:03,140 --> 00:05:03,630 Awesome. 51 00:05:04,190 --> 00:05:07,390 So let's start writing down the code. 52 00:05:07,490 --> 00:05:16,620 So it's derivative and the function is going to receive maybe let's not use amed, maybe let's use floats 53 00:05:16,620 --> 00:05:17,840 to make it more generic. 54 00:05:18,350 --> 00:05:21,800 And so it will be like yeah. 55 00:05:21,800 --> 00:05:27,200 So it will be like simply a suitable for also floating point types. 56 00:05:27,860 --> 00:05:36,920 So we are going to receive like float float C, we are going to receive float X, which is the actual 57 00:05:36,920 --> 00:05:40,430 excoriating aid that we want to find for the slope. 58 00:05:40,970 --> 00:05:48,020 And we are also going to receive like float that power itself, which is represented by M and now we 59 00:05:48,020 --> 00:05:50,630 know like how should we calculate it. 60 00:05:51,280 --> 00:05:54,980 Of course we can go like with this option. 61 00:05:55,190 --> 00:05:57,030 I think that's what we are going to do. 62 00:05:57,170 --> 00:06:05,660 So that's going to be like return, OK, return, return here. 63 00:06:05,690 --> 00:06:09,890 There are also additional options and additional things we can do here. 64 00:06:09,920 --> 00:06:16,910 OK, but yeah, let's let's live it as simple as possible because that's the first time we can also 65 00:06:17,600 --> 00:06:19,610 simply like to take this. 66 00:06:19,880 --> 00:06:28,130 We can take this exercise and we can like readjusted and use here the additional things, but let's 67 00:06:28,130 --> 00:06:29,420 leave it as simple as possible. 68 00:06:29,420 --> 00:06:35,940 So N multiplied by C multiplied by X multiple in the power. 69 00:06:36,000 --> 00:06:37,820 OK, how do you implement power. 70 00:06:37,830 --> 00:06:45,200 How to use power here using clean fluid include the math method, the age. 71 00:06:45,770 --> 00:06:54,050 And when you include math that age you can simply calculate it like I don't know, float power of value. 72 00:06:54,290 --> 00:06:56,390 OK, so it would be like more leverage. 73 00:06:56,390 --> 00:06:58,780 You equals two to what. 74 00:06:58,790 --> 00:07:00,580 To Po OK. 75 00:07:00,950 --> 00:07:08,420 Which is also which is also a what it is what it is guys. 76 00:07:08,510 --> 00:07:09,560 What is Paul doing. 77 00:07:09,710 --> 00:07:11,250 It's taking some base. 78 00:07:11,450 --> 00:07:22,910 OK, in this case we take X, we take X and we know that these power OK, it's going to be in this base 79 00:07:22,910 --> 00:07:27,100 is going to be in some power and these power is going to be M minus one. 80 00:07:27,170 --> 00:07:29,120 So that's exactly what we're doing. 81 00:07:29,630 --> 00:07:38,320 So we return here and multiply by C multiplied by power, value our values. 82 00:07:39,140 --> 00:07:39,560 Yeah. 83 00:07:39,560 --> 00:07:41,390 So that's the exercise. 84 00:07:41,390 --> 00:07:49,760 I think that it didn't go as smoothly as I planned, since I was not sure at the beginning that what 85 00:07:49,760 --> 00:07:55,370 was the level and what was your, you know, like where are you currently in life. 86 00:07:55,380 --> 00:08:02,990 Are you a student at college or you graduated, are you even in school or maybe you're just the developer 87 00:08:02,990 --> 00:08:03,620 who does not. 88 00:08:06,400 --> 00:08:12,010 Yeah, there are some developers that are not well, you very familiar with mathematical expressions, 89 00:08:12,430 --> 00:08:16,570 so, yeah, that was yeah, that was it. 90 00:08:17,320 --> 00:08:24,430 So hopefully for those of you who were interested in like to feel it a little bit, a little bit. 91 00:08:24,430 --> 00:08:26,200 Something from the mathematical sphere. 92 00:08:26,830 --> 00:08:27,550 Here it is. 93 00:08:28,910 --> 00:08:29,310 Yeah. 94 00:08:29,440 --> 00:08:30,420 Let's proceed, guys. 95 00:08:30,460 --> 00:08:36,240 Let's proceed with additional exercises that will probably fit most of the students in this course. 96 00:08:36,310 --> 00:08:38,980 So thank you so much for watching and I'll see you next time. 9509

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.