# cs/00qDnWrCeC7x.xml.gz
# en/00qDnWrCeC7x.xml.gz


(src)="1"> V tomhle videu Vám ukážeme jak vyrobit mačkací vypínač
(trg)="1"> In this video , we 're going to show you how to make a bumper switch for your bit- zee bot .

(src)="2"> Takže , máme dráty připojené k 1 a 3 , elektřina jde do 1 a 3 .
(trg)="2"> So , we 've got the wires connected to 1 and 3 , the power 's connected to 1 and 3 and you can see the LED light up there .

(src)="3"> Můžeme vidět , že se Led dioda rozsvítí .
(trg)="3"> And then when we switch the power to 1 and 2 , the LED turns off when we push the switch , instead of on .

(src)="4"> Potom , když prohodíme dráty na 1 a 2 .
(trg)="4"> So , we want to connect the wires to 1 and 3 .

(src)="5"> Dioda zhasne když zmáčkneme vypínač .
(trg)="5"> We 're just gonna double check this with our multimeter .

(src)="6"> Nerozsvítí se .
(trg)="6"> And so , when we connect our contacts to 1 and 2 , you can see that it turns off when the button is pressed .

(src)="7"> Takže musíme připojit dráty k 1 a 3 .
(trg)="7"> And then when connected to 1 and 3 , it turns on when pressed .

(src)="8"> Radši si to předem zkontrolujeme multimetrem .
(trg)="8"> So we want to connect to 1 and 3 .

(src)="9"> Když připojíme naše dráty na 1 a 2 .
(trg)="9"> And you can see there 's a 1 and 3 , really small on the lever switch there .

(src)="10"> Můžete vidět že nám dioda zhasne když je tlačítko zmáčknuté .
(trg)="10"> And you can buy micro- lever switches like this from Radioshack or a variety of places online .

(src)="11"> Když je připojíme na 1 a 3 , rozsvítí se když ho zmáčkneme .
(trg)="11"> And so , now we 've got our alligator clips , and we 're going to bend the wire around the 1 and 3 contacts , so that we can get a good connection .

(src)="12"> Takže je musíme připojit na 1 a 3
(trg)="12"> And then we 're going to solder those wires in place , to make sure they don 't come out .

(src)="13"> Jak vidíte 1 a 3 jsou docela málé na spodní části vypínače .
(trg)="13"> And we 'll use the needle- nose pliers to squeeze the wire against the connection there .

(src)="14"> Můžete si koupit mikro vypínače s páčkou z obchodu radioshack , nebo kdekoliv jinde .
(trg)="14"> And I 've already put some solder on those connections to make them a little easier to solder to .

(src)="15"> Tak teď si to dáme do krokodýlků ( svorky )
(trg)="15"> There we go ; we 've got the first wire in place .

(src)="16"> A obtočíme drát kolo kontaktů 1 a 3 , abychom tam měli dobré propojení .
(trg)="16"> And the number 3 connection : we 're going to just clamp that down , and then we 'll go ahead and heat it up , and we 've got that soldered in place too .

(src)="17"> Potom tam ty dráty přiletujeme a ujistíme se , že neodpadnou .
(trg)="17"> So now those wires are soldered well , and to make sure that the connection is good , and that we have everything soldered correctly , we 're going to go ahead and turn on our multimeter and check the ends of the wire .

(src)="18"> Použijeme špičaté kleště ke zmáčknutí drátu aby neodpadl .
(trg)="18"> So , we 'll strip the ends of the wire off there , and use some alligator clips , and we 'll clip to the ends of the leads on our multimeter .

(src)="19"> Už jsem předem dal trochu cínu na dráty .
(trg)="19"> That way we can make sure that , yea , the switch is wired correctly , and it 's working .

(src)="20"> Ulehčí to letování .
(trg)="20"> So now we 're going to take the outer housing that surrounds the bot off , and we 're going to try and position the switch , so we 're going to drill some holes .

(src)="21"> Tak jeden už nám drží .
(trg)="21"> And we 'll use the holes that are actually in the switch as a guide for our drill .

(src)="22"> Spojení drátu a čísla 3 . Ocínované dráty pořádně přimáčkneme a následně jenom zahřejeme .
(trg)="22"> It 's important that you make sure that you don 't drill into your fingers when you 're doing this kind of close work .

(src)="23"> Tím je přiletujeme k sobě .
(trg)="23"> So you want to keep your fingers away from the drill bit itself .

(src)="24"> Dráty máme přiletované , přesvěčte se , že spojení je dobré a drží .
(trg)="24"> But we 've positioned that switch so that it is right off of the edge of the bit- zee bot .

(src)="25"> Pokud máte všechno dobře přiletované .
(trg)="25"> So , it sticks out over the edge -- you can see right there -- sort of tangent to the circle .

(src)="26"> Pokročíme . zapněte multimetr a zkontrolujte konce drátů .
(trg)="26"> And that 'll be important when we get the rest of our connector there in place .

(src)="27"> Oholte ( svlékněte ) konce drátů a použijte krokodýlky .
(trg)="27"> And we 've put the screws in upside- down .

(src)="28"> Přidělejte je na konce na Vašem multimetru .
(trg)="28"> That 's so that when we put our speaker back in place , the bolts that are protruding won 't interfere with that speaker .

(src)="29"> To je cesta jak se přesvědčit že je vše připojeno , Náš je připojen dobře a funguje !!!
(trg)="29"> So , that 's why they 're sticking up from the underside .

(src)="30"> Teď sundáme kryt .
(trg)="30"> So we 're just tightening those down again with the screwdriver and the needle- nose pliers .

(src)="31"> A zkusíme umístit vypínač na místo , takže vyvrtáme pár děr .
(trg)="31"> And we are using 12 gauge solid copper wire , and the reason is that it 's pretty stiff , so it allows us to extend the lever arm for our switch considerably .

(src)="45"> Takže cokoliv co se nám dostane před robota bude moct spustit vypínač .
(trg)="32"> So anything that gets in front of our bit- zee bot will be able to trigger its bumper switch .

# cs/01D9UwYi1M4v.xml.gz
# en/01D9UwYi1M4v.xml.gz


(src)="1"> Je to stejný problém jako v minulém videu .
(trg)="3"> But instead of trying to figure out whether the data supplies sufficient evidence to conclude that the engines meet the actual emissions requirement , and all of the hypothesis testing , I thought I would also use the same data that we had in the last video to actually come up with a 95 % confidence interval .

(src)="2"> Ale místo toho , abychom se snažili vyřešit zda data poskytují dostatečné důkazy k závěru , že motory splňují aktuální požadavky emisí , a všechny testováné hypotézy , myslel jsem , že bych použil stejná data . která jsme měli v minulém videu pro dosažení 95 % intervalu spolehlivosti .
(trg)="4"> So you could ignore the question right here .
(trg)="5"> You can ignore all of this .
(trg)="6"> I 'm just using that same data to come up with a 95 % confidence interval for the actual mean emission for this new engine design .

(src)="3"> Tuto otázku můžete ignorovat .
(trg)="19"> And we want to find interval of T- values between some negative value here and some positive value here that contains 95 % of the probability .
(trg)="20"> So this right here has to be 95 % .

(src)="4"> Můžete ignorovat všechno z tohohle .
(trg)="21"> And to figure what these critical T- values are at this end and this end , we can just use a T- table .
(trg)="22"> And we 're going to use the two- sided version of this because we 're symmetric around the center .

(src)="5"> Používám ty samé data , abych došel k 95 % intervali spolehlivosti k aktuálním emisím pro tento nový design motoru
(trg)="23"> So you look at the two- sided , we want a 95 % confidence interval , so we 're going to look right over here , 95 % confidence interval .
(trg)="24"> We have 10 data points , which means we have 9 degrees of freedom .
(trg)="25"> So 9 degrees of freedom for our 10 data points .

(src)="6"> Chtěli jsme najít 95 % interval spolehlivosti
(trg)="27"> So if we look over here , so for a T- distribution with 9 degrees of freedom , you 're going to have 95 % of the probability is going to be contained within a T- value of -- so the T- value is going to be between negative , so this value right here is 2 . 262 , and this value right here is negative 2 . 262 .
(trg)="28"> That 's what this right here tells us .

(src)="7"> A jak si dokážete představit , jelikož tu máme pouze 10 vzorků budeme chtít použít
(trg)="29"> That if you contain all the values that are less than 2 . 262 away from the center of your T- distribution , you will contain 95 % of the probability .
(trg)="30"> So that is our T- distribution right there .
(trg)="31"> Let me make it very clear .

(src)="8"> T- distribuci
(trg)="37"> let me write it this way -- there 's a 95 % chance that a random T- statistic is going to be less than 2 . 262 , and greater than negative 2 . 262 .
(trg)="38"> 95 % percent chance .
(trg)="39"> Now when we took this sample , we could also derive a random

(src)="9"> A hned tady dole mám T- tabulku
(trg)="40"> T- statistic from this .

(src)="10"> Chceme 95 % interval spolehlivosti
(trg)="41"> We have our sample mean and our sample standard deviation , our sample mean here is 17 . 17 -- figured that out in the last video , just add these up , divide by 10 -- and our sample standard deviation here is 2 . 98 .
(trg)="42"> So the T- statistic that we can derive from this information right over here -- so let me write it over here -- the

(src)="11"> Takže chceme přemýšlet o rozmezí T- hodnot kam 95 nebo rozmezí kde 95 % T- hodnot pod ně spadá
(trg)="43"> T- statistic that we could derive from this , and you can view this T- statistic as being a random sample from a
(trg)="44"> T- distribution .
(trg)="45"> A T- distribution with 9 degrees of freedom .

(src)="12"> Pojďme se na to podívat takhle .
(trg)="47"> Or actually you would say the true mean of our sampling distribution , which is also going to be the same as the true mean of our population , because that 's our population mean over there , divided by s , which is 2 . 98 over the square root of our number of samples .
(trg)="48"> We 've seen this multiple times .
(trg)="49"> This right here is the T- statistic .

(src)="13"> Nechte mě nakreslit
(trg)="50"> So by taking this sample you can say that we 've randomly sampled a T- statistic from this 9 degree of freedom
(trg)="51"> T- distribution .

(src)="14"> T- distribuci tady
(trg)="52"> So there 's a 95 % chance that this thing right over here is going to be between -- is going to be less than 2 . 262 and greater than negative 2 . 262 .

(src)="15"> Takže T- distribuce vypadá velmi podobně k normální distribuci , ale má širší čáry .
(trg)="53"> So the 95 % probability still applies to this right here .
(trg)="54"> Now we just have to do some math , calculate these things .
(trg)="55"> So let me get my calculator out .

(src)="16"> Tento konec a tento konec budou silnější než normální distribuce .
(trg)="59"> So what I 'm going to do is I 'm going to multiply both sides of this equation by this expression right over here .
(trg)="60"> So if I do that -- so let me just do that right over -- so if I multiply this entire -- this is really two equations or two inequalities I should say .
(trg)="61"> That this quantity is greater than this quantity and that this quantity 's greater than that quantity .

(src)="17"> A potom chceme najít interval , takže pokud je toto normalizovaná T- distribuce , .. bude 0
(trg)="63"> So what we want to do is multiply this entire inequality by this value right over here .
(trg)="64"> And we just calculated it at that value -- let me write it over here -- that 2 . 98 -- I 'll write it right over here -- 2 . 98 over the square root of 10 is equal to 0 . 942 .

(src)="18"> A chceme najít interval T- hodnot mezi některými zápornýmii hodnotami tady a některými kladnými hodnotami tady , které obsahují 95 % pravděpodobnosti .
(trg)="65"> So if I multiplied this entire inequality by 0 . 942 I get , on this left- hand side over here I have negative 2 . 262 times 0 . 942 -- and it 's a positive number that we 're multiplying the whole inequality by , so the inequality signs are still going to be in the same direction -- is less than -- we 're multiplying this whole expression by the same expression in the denominator so it 'll cancel out .
(trg)="66"> So we 're just going to be less than 17 . 17 minus our population mean , which is going to be less than 2 . 262 times , once again , 0 . 942 .
(trg)="67"> Let me scroll over to the right a little bit .

(src)="19"> Takže tady to musí být 95 %
(trg)="69"> Just be clear , I 'm just multiplying all three sides of this inequality by this number right over here .
(trg)="70"> In the middle this cancels out .
(trg)="71"> So if I multiply -- I 'll just write it over here -- 0 . 942 , 0 . 942 , 0 . 942 .