All language subtitles for 2 - Growth of Functions English

af Afrikaans
ak Akan
sq Albanian
am Amharic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
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
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (SoranĂ®)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:09,520 --> 00:00:17,320 ‫This is a very important video in the course because this really sets up and gives a foundation for 2 00:00:17,320 --> 00:00:21,640 ‫why we do what we do with algorithm development. 3 00:00:22,120 --> 00:00:30,340 ‫The concept of growth and functions shows how important it is that our algorithms are efficient because 4 00:00:30,340 --> 00:00:38,210 ‫we're going to see here in a minute how fast the numbers grow when we utilize inofficial algorithms. 5 00:00:38,260 --> 00:00:44,410 ‫And so if you don't understand any of the things we're talking about here that's perfectly fine. 6 00:00:44,410 --> 00:00:51,160 ‫You don't have to have mastered everything in order to go through this course but it is really important 7 00:00:51,250 --> 00:00:56,440 ‫to at least understand the high level concepts that this video teaches. 8 00:00:56,440 --> 00:01:05,170 ‫So what we're going to view is something called either Big O complexity or growth of functions and it's 9 00:01:05,170 --> 00:01:12,610 ‫going to show how different functions can affect numbers and how that growth can happen very rapidly. 10 00:01:13,050 --> 00:01:21,040 ‫And the way we're going to do to break down is to first look at the different type of functions that 11 00:01:21,160 --> 00:01:21,880 ‫there are. 12 00:01:21,880 --> 00:01:30,090 ‫So I'm going to go from smallest to greatest and the smallest or most efficient is something called 13 00:01:30,490 --> 00:01:31,540 ‫Order 1 14 00:01:34,430 --> 00:01:36,410 ‫1 and these are all going to be in order. 15 00:01:36,410 --> 00:01:46,640 ‫So the next one is going to be was based two of em and we typically write that just as log and next 16 00:01:46,640 --> 00:01:58,210 ‫one is an followed by an well-based to have an followed by an squared. 17 00:01:58,210 --> 00:02:05,680 ‫And you could technically do things such as in queue or into the fourth after that but we're not going 18 00:02:05,680 --> 00:02:06,280 ‫to do that. 19 00:02:06,280 --> 00:02:14,120 ‫We're going to skip straight ahead and do two to the end and you'll see why I'm here in a minute. 20 00:02:14,230 --> 00:02:17,980 ‫And then the last one is in fact you. 21 00:02:18,400 --> 00:02:25,650 ‫And if you do not know what factorials are just please refer to the video that I did on for factorials 22 00:02:25,720 --> 00:02:30,010 ‫just I did it because not everyone is aware how those were. 23 00:02:30,130 --> 00:02:33,650 ‫But it is important because they are by far the fastest. 24 00:02:33,670 --> 00:02:42,540 ‫And there is something you want to avoid at all costs when developing algorithms to analyze these. 25 00:02:42,550 --> 00:02:47,450 ‫The easiest way is just to insert a number in for them. 26 00:02:47,650 --> 00:02:54,350 ‫So we're going to do is we're going to say that in equal time. 27 00:02:54,640 --> 00:03:01,770 ‫So no reason a special reason why pick that number except for the fact it's very easy to multiply and 28 00:03:01,770 --> 00:03:04,330 ‫it's easy to use exponents with. 29 00:03:04,330 --> 00:03:12,510 ‫So the very first one order of one this one should be. 30 00:03:12,710 --> 00:03:21,800 ‫This one just equals one and I'll put one up top so that everybody knows what that one is and we can 31 00:03:21,800 --> 00:03:24,690 ‫track it and we get put on a chart here in a second. 32 00:03:24,830 --> 00:03:34,420 ‫The next one log in which would actually kill you in this case when we do our substitution log 10 this 33 00:03:34,420 --> 00:03:38,500 ‫one works out to be three point three two. 34 00:03:38,620 --> 00:03:41,350 ‫If you do not know the properties of logarithms. 35 00:03:41,350 --> 00:03:45,420 ‫Just please refer to my video on logs. 36 00:03:45,610 --> 00:03:48,330 ‫It's actually pretty basic. 37 00:03:48,340 --> 00:03:55,700 ‫Some people try to make it more complicated than it is but the basic concepts are pretty easy to get. 38 00:03:55,750 --> 00:03:59,180 ‫OK the next one we are he said n equals 10. 39 00:03:59,200 --> 00:04:01,430 ‫So I'm just to put that right up top. 40 00:04:01,480 --> 00:04:09,090 ‫And so our next one is going to be 10 voicebase 2 of 10. 41 00:04:09,100 --> 00:04:17,440 ‫And with that one equals that to be is thirty three point two two. 42 00:04:17,450 --> 00:04:19,290 ‫So put that up top. 43 00:04:19,700 --> 00:04:26,480 ‫You can see that these numbers are starting to grow and they haven't even gotten started. 44 00:04:26,480 --> 00:04:29,750 ‫Compared to how much they will in a second here. 45 00:04:29,750 --> 00:04:31,970 ‫So the next one is going to be 46 00:04:34,730 --> 00:04:36,670 ‫10 square. 47 00:04:37,160 --> 00:04:39,750 ‫Everyone here knows that a hundred 48 00:04:42,370 --> 00:04:46,820 ‫and the next one is going to be two to three. 49 00:04:46,860 --> 00:04:54,700 ‫And just to get 10 equals 1000 24 50 00:04:58,950 --> 00:05:03,260 ‫and just in case you're wondering I'm not a mouth savant. 51 00:05:03,450 --> 00:05:11,160 ‫I had these multiplication products written down on the sides so I'm not doing these in my head. 52 00:05:11,280 --> 00:05:13,310 ‫Especially this last one. 53 00:05:13,340 --> 00:05:14,630 ‫Ok last one. 54 00:05:14,970 --> 00:05:16,910 ‫Ten factorial. 55 00:05:16,950 --> 00:05:19,020 ‫What does 10 factorial equal. 56 00:05:19,100 --> 00:05:27,270 ‫Well if you work it out it works out to be three million six hundred twenty eight thousand and right 57 00:05:27,270 --> 00:05:33,500 ‫up top here we're just going to sum it up to three million. 58 00:05:33,720 --> 00:05:44,950 ‫So as you can see the growth functions happens very rapidly we go all the way from one right here all 59 00:05:44,950 --> 00:05:53,470 ‫the way to the same number equaling well over three million almost four million really when we get 10 60 00:05:53,470 --> 00:05:54,310 ‫factorial. 61 00:05:54,310 --> 00:06:02,110 ‫So if you're thinking of having an algorithm that seems to work but it happens to be something that 62 00:06:02,120 --> 00:06:07,690 ‫utilizes that has a factorial running time you're never going to be able to run it because there is 63 00:06:07,690 --> 00:06:11,360 ‫no computers on in this planet. 64 00:06:11,380 --> 00:06:16,230 ‫Fast enough of doing that if you have any kind of all. 65 00:06:16,270 --> 00:06:20,640 ‫And so is just something to keep in mind. 66 00:06:20,710 --> 00:06:26,040 ‫Now to see this it also really helps me to really plot it on a graph. 67 00:06:26,110 --> 00:06:33,790 ‫So I'm going to just create a really cool graph right here and we're going to give different colors 68 00:06:34,240 --> 00:06:35,780 ‫to each one. 69 00:06:35,920 --> 00:06:47,900 ‫So for our order of one this is going to be on the very bottom and it grew like that. 70 00:06:48,130 --> 00:06:53,300 ‫So this one is our border one. 71 00:06:54,030 --> 00:06:54,610 ‫OK. 72 00:06:54,760 --> 00:07:05,390 ‫Next one is going to be in blue and this one is going to be our last base too and 73 00:07:07,790 --> 00:07:10,920 ‫something along those lines right there. 74 00:07:10,930 --> 00:07:13,960 ‫It's constant It's constantly increasing. 75 00:07:14,090 --> 00:07:18,520 ‫However it's really nothing that's too crazy. 76 00:07:18,520 --> 00:07:28,140 ‫So in all of these actually our order of I just did it in front of the one but all of these are so order 77 00:07:28,510 --> 00:07:33,950 ‫of log in the next one we're starting grease a little bit more. 78 00:07:34,060 --> 00:07:46,880 ‫And so for this next one we're looking at our order and this one is going to be right here. 79 00:07:47,350 --> 00:07:49,190 ‫And I'm just showing these in order. 80 00:07:49,210 --> 00:07:51,380 ‫This is not drawn to scale. 81 00:07:51,430 --> 00:07:57,510 ‫If this was drawn to scale our log in would actually be much much closer to our order of 1. 82 00:07:57,910 --> 00:07:59,730 ‫But if I did that it would be hard to write. 83 00:07:59,740 --> 00:08:03,270 ‫So just just know this is not drawn to scale. 84 00:08:03,370 --> 00:08:09,860 ‫I'm just showing it because it kind of helps to see exactly how this is broken down. 85 00:08:10,210 --> 00:08:10,590 ‫OK. 86 00:08:10,590 --> 00:08:23,480 ‫After our order and we have our order of analog and we're going to be some more and more in this strange. 87 00:08:23,500 --> 00:08:31,290 ‫You can see it's still palatable but it's definitely starting to increase faster now. 88 00:08:31,450 --> 00:08:35,950 ‫We will get into things a little bit of. 89 00:08:37,770 --> 00:08:44,800 ‫And now we're going to go into the square and square it go look something like this 90 00:08:51,780 --> 00:08:52,660 ‫next 91 00:08:55,990 --> 00:09:00,750 ‫we're going to go into the two to the M 92 00:09:07,460 --> 00:09:11,270 ‫and then each one of these numbers are these points on the graph. 93 00:09:11,270 --> 00:09:16,280 ‫These actually correspond very closely to the numbers up top. 94 00:09:16,280 --> 00:09:19,270 ‫The rate of growth is very similar. 95 00:09:19,640 --> 00:09:28,120 ‫And so for our very last one we're going to go with in fact Turino which is just something like this. 96 00:09:28,280 --> 00:09:31,600 ‫It's as straight up as you can possibly get. 97 00:09:31,610 --> 00:09:33,750 ‫So in fact when. 98 00:09:33,920 --> 00:09:34,700 ‫And there you go. 99 00:09:34,730 --> 00:09:36,270 ‫You have your growth functions. 100 00:09:36,380 --> 00:09:44,660 ‫You can see the order and more important than understanding this or you know being able to explain and 101 00:09:44,740 --> 00:09:48,770 ‫or anything like that unless you're taking this for a college class or something and then you do need 102 00:09:48,770 --> 00:09:49,930 ‫to know it. 103 00:09:50,090 --> 00:09:58,550 ‫However the most important part about this for practical development is just understanding the importance 104 00:09:58,820 --> 00:10:07,340 ‫and having kind of a visual representation of efficiencies of algorithms so you know that if you design 105 00:10:07,340 --> 00:10:15,680 ‫an algorithm that used to be squared so it used to be somewhere on this side of the world with this 106 00:10:15,680 --> 00:10:28,160 ‫kind of performance and you're able to take it and make it a analog and kind of algorithm you've just 107 00:10:28,160 --> 00:10:34,730 ‫done an incredible job and you've been able to make your program much more efficient much more scalable 108 00:10:34,970 --> 00:10:37,780 ‫and much more of an enterprise type product. 109 00:10:37,790 --> 00:10:43,650 ‫So good job if you went through the streets please let me know if you have any questions or any if there's 110 00:10:43,670 --> 00:10:48,290 ‫anything I can do to clarify growth functions just please let me know. 11451

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