http://wiki.math.bme.hu/history/Informatika2-2016/Gyakorlat13?feed=atom&Informatika2-2016/Gyakorlat13 - Laptörténet2024-03-29T09:07:54ZAz oldal laptörténete a wikibenMediaWiki 1.18.1http://wiki.math.bme.hu/index.php?title=Informatika2-2016/Gyakorlat13&diff=11655&oldid=prevNyida: /* Gauss-elimináció kézzel */2016-05-12T05:48:01Z<p><span class="autocomment">Gauss-elimináció kézzel</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←Régebbi változat</td>
<td colspan='2' style="background-color: white; color:black;">A lap 2016. május 12., 05:48-kori változata</td>
</tr><tr><td colspan="2" class="diff-lineno">18. sor:</td>
<td colspan="2" class="diff-lineno">18. sor:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Tároljuk el a lépéseket egy tömbben és plotoljuk ki a pontokat a matplotlib segítségével!</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Tároljuk el a lépéseket egy tömbben és plotoljuk ki a pontokat a matplotlib segítségével!</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Gauss-elimináció kézzel==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Gauss-elimináció kézzel==</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Oldjuk meg Gauss-eliminációval az <math>3x_1-x_2+x_3-x_4+2x_5=13</math><math> x_1-2x_2+3x_3-x_4=5</math><math>x_1-x_2-x_3-x_4-x_5=-1</math><math>x_2-2x_3+x_4-4x_5=-7</math><math>x_1+x_3+3x_4-x_5=5</math> egyenletrendszert!</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Oldjuk meg Gauss-eliminációval az  </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">* </ins><math>3x_1-x_2+x_3-x_4+2x_5=13</math></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">* </ins><math> x_1-2x_2+3x_3-x_4=5</math></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">* </ins><math>x_1-x_2-x_3-x_4-x_5=-1</math></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">* </ins><math>x_2-2x_3+x_4-4x_5=-7</math></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">* </ins><math>x_1+x_3+3x_4-x_5=5</math> egyenletrendszert!</div></td></tr>
</table>Nyidahttp://wiki.math.bme.hu/index.php?title=Informatika2-2016/Gyakorlat13&diff=11654&oldid=prevNyida: /* Gauss-elimináció kézzel */2016-05-12T05:47:34Z<p><span class="autocomment">Gauss-elimináció kézzel</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←Régebbi változat</td>
<td colspan='2' style="background-color: white; color:black;">A lap 2016. május 12., 05:47-kori változata</td>
</tr><tr><td colspan="2" class="diff-lineno">18. sor:</td>
<td colspan="2" class="diff-lineno">18. sor:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Tároljuk el a lépéseket egy tömbben és plotoljuk ki a pontokat a matplotlib segítségével!</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Tároljuk el a lépéseket egy tömbben és plotoljuk ki a pontokat a matplotlib segítségével!</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Gauss-elimináció kézzel==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Gauss-elimináció kézzel==</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Oldjuk meg Gauss-eliminációval az <math>3x_1-x_2+x_3-x_4+2x_5=13<del class="diffchange diffchange-inline">, </del>x_1-2x_2+3x_3-x_4=5</math></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Oldjuk meg Gauss-eliminációval az <math>3x_1-x_2+x_3-x_4+2x_5=13<ins class="diffchange diffchange-inline"></math><math> </ins>x_1-2x_2+3x_3-x_4=5</math><ins class="diffchange diffchange-inline"><math>x_1-x_2-x_3-x_4-x_5=-1</math><math>x_2-2x_3+x_4-4x_5=-7</math><math>x_1+x_3+3x_4-x_5=5</math> egyenletrendszert!</ins></div></td></tr>
</table>Nyidahttp://wiki.math.bme.hu/index.php?title=Informatika2-2016/Gyakorlat13&diff=11653&oldid=prevNyida: /* Gradiens módszer */2016-05-12T05:45:22Z<p><span class="autocomment">Gradiens módszer</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←Régebbi változat</td>
<td colspan='2' style="background-color: white; color:black;">A lap 2016. május 12., 05:45-kori változata</td>
</tr><tr><td colspan="2" class="diff-lineno">16. sor:</td>
<td colspan="2" class="diff-lineno">16. sor:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Gradiens módszer==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Gradiens módszer==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Egy kétváltozós függvény minimumát a következőképp közelítjük. Elindulunk egy <math>(x_0,y_0)</math> pontból, majd <math>\nabla f(x,y)\cdot \epsilon</math>-t kivonunk belőle. Ezt csináljuk addig, amíg a lépés abszolútértéke 0.0001 alatt nem lesz. Írjuk meg numpy segítségével az <math>f(x,y)=x^2+y^2</math> függvény minimumkeresését! <math>\epsilon = 0.01, (x_0,y_0)=(-1,-1)</math>!</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Egy kétváltozós függvény minimumát a következőképp közelítjük. Elindulunk egy <math>(x_0,y_0)</math> pontból, majd <math>\nabla f(x,y)\cdot \epsilon</math>-t kivonunk belőle. Ezt csináljuk addig, amíg a lépés abszolútértéke 0.0001 alatt nem lesz. Írjuk meg numpy segítségével az <math>f(x,y)=x^2+y^2</math> függvény minimumkeresését! <math>\epsilon = 0.01, (x_0,y_0)=(-1,-1)</math>!</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* Tároljuk el a lépéseket egy tömbben és plotoljuk ki a pontokat a matplotlib segítségével!</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">==Gauss-elimináció kézzel==</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">Oldjuk meg Gauss-eliminációval az <math>3x_1-x_2+x_3-x_4+2x_5=13, x_1-2x_2+3x_3-x_4=5</math></ins></div></td></tr>
</table>Nyidahttp://wiki.math.bme.hu/index.php?title=Informatika2-2016/Gyakorlat13&diff=11652&oldid=prevNyida: /* Feladatok */2016-05-12T04:54:42Z<p><span class="autocomment">Feladatok</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←Régebbi változat</td>
<td colspan='2' style="background-color: white; color:black;">A lap 2016. május 12., 04:54-kori változata</td>
</tr><tr><td colspan="2" class="diff-lineno">10. sor:</td>
<td colspan="2" class="diff-lineno">10. sor:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Hozzunk létre egy véletlen, 5 dimenziós egységvektort! Először egy véletlen vektor, majd gondoskodjunk róla, hogy egység hosszú legyen!</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Hozzunk létre egy véletlen, 5 dimenziós egységvektort! Először egy véletlen vektor, majd gondoskodjunk róla, hogy egység hosszú legyen!</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Monte-Carlo==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Monte-Carlo==</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Generáljunk 500,000 véletlen pontot a <math>[0,2]\times[0,4]</math> téglalapba. Szánoljuk meg, hogy hány olyan <math>(x,y)</math> pont van, ahol <math>x^2<y</math>. Ez alapján becsüljük meg az <math>\int_0^2x^2</math> értékét!</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Generáljunk 500,000 véletlen pontot a <math>[0,2]\times[0,4]</math> téglalapba. Szánoljuk meg, hogy hány olyan <math>(x,y)</math> pont van, ahol <math>x^2<y</math>. Ez alapján becsüljük meg az <math>\int_0^2x^2</math> értékét<ins class="diffchange diffchange-inline">! Segítség az előadás végén. </ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">* Most ugyanezt csináljuk meg, csak a véletlent zárjuk ki belőle! Osszuk fel a <math>[0,2]</math> és a <math>[0,4]</math> intervallumokat egyenletesen a linspace függvénnyel. A meshgrid és a ravel segítségével létrehozzuk a <math>[0,2]\times[0,4]</math> rácspontjait. Most ezekre a pontokra csináljuk meg a Monte-Carlot!</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">==Numerikus integrál==</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">Számoljuk ki az <math>e^{-x^2}</math> függvény integrálját a <math>[-2,5]</math>intervallumon téglalap módszerrel!</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">==Gradiens módszer==</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">Egy kétváltozós függvény minimumát a következőképp közelítjük. Elindulunk egy <math>(x_0,y_0)</math> pontból, majd <math>\nabla f(x,y)\cdot \epsilon</math>-t kivonunk belőle. Ezt csináljuk addig, amíg a lépés abszolútértéke 0.0001 alatt nem lesz. Írjuk meg numpy segítségével az <math>f(x,y)=x^2+y^2</math> függvény minimumkeresését! <math>\epsilon = 0.01, (x_0,y_0)=(-1,-1)</math></ins>!</div></td></tr>
</table>Nyidahttp://wiki.math.bme.hu/index.php?title=Informatika2-2016/Gyakorlat13&diff=11651&oldid=prevNyida: /* Bevezető */2016-05-11T16:43:26Z<p><span class="autocomment">Bevezető</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←Régebbi változat</td>
<td colspan='2' style="background-color: white; color:black;">A lap 2016. május 11., 16:43-kori változata</td>
</tr><tr><td colspan="2" class="diff-lineno">9. sor:</td>
<td colspan="2" class="diff-lineno">9. sor:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>## Hozzunk lérte egy 30 hosszú listát véletlen számokkal -3 és 2 között!</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>## Hozzunk lérte egy 30 hosszú listát véletlen számokkal -3 és 2 között!</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Hozzunk létre egy véletlen, 5 dimenziós egységvektort! Először egy véletlen vektor, majd gondoskodjunk róla, hogy egység hosszú legyen!</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Hozzunk létre egy véletlen, 5 dimenziós egységvektort! Először egy véletlen vektor, majd gondoskodjunk róla, hogy egység hosszú legyen!</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">==Monte-Carlo==</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">Generáljunk 500,000 véletlen pontot a <math>[0,2]\times[0,4]</math> téglalapba. Szánoljuk meg, hogy hány olyan <math>(x,y)</math> pont van, ahol <math>x^2<y</math>. Ez alapján becsüljük meg az <math>\int_0^2x^2</math> értékét!</ins></div></td></tr>
</table>Nyidahttp://wiki.math.bme.hu/index.php?title=Informatika2-2016/Gyakorlat13&diff=11650&oldid=prevNyida: /* Feladatok */2016-05-11T16:32:46Z<p><span class="autocomment">Feladatok</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←Régebbi változat</td>
<td colspan='2' style="background-color: white; color:black;">A lap 2016. május 11., 16:32-kori változata</td>
</tr><tr><td colspan="2" class="diff-lineno">7. sor:</td>
<td colspan="2" class="diff-lineno">7. sor:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Hozzunk létre egy 3x3-as mátrixot, 0-tól 8-ig növekvő számokkal! ''(reshape)''</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Hozzunk létre egy 3x3-as mátrixot, 0-tól 8-ig növekvő számokkal! ''(reshape)''</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Hozzunk létre egy 30 hosszú listát véletlen számokkal 0 és 1 között! Számoljuk ki az elemek átlagát és a szórását! ''(rand, mean, std)''</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Hozzunk létre egy 30 hosszú listát véletlen számokkal 0 és 1 között! Számoljuk ki az elemek átlagát és a szórását! ''(rand, mean, std)''</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>## Hozzunk</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>## Hozzunk <ins class="diffchange diffchange-inline">lérte egy 30 hosszú listát véletlen számokkal -3 és 2 között!</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"># Hozzunk létre egy véletlen, 5 dimenziós egységvektort! Először egy véletlen vektor, majd gondoskodjunk róla, hogy egység hosszú legyen!</ins></div></td></tr>
</table>Nyidahttp://wiki.math.bme.hu/index.php?title=Informatika2-2016/Gyakorlat13&diff=11649&oldid=prevNyida: /* Feladatok */2016-05-11T16:20:29Z<p><span class="autocomment">Feladatok</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←Régebbi változat</td>
<td colspan='2' style="background-color: white; color:black;">A lap 2016. május 11., 16:20-kori változata</td>
</tr><tr><td colspan="2" class="diff-lineno">4. sor:</td>
<td colspan="2" class="diff-lineno">4. sor:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Bevezető==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Bevezető==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Ismerkedésképp néhány egyszerű feladat.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Ismerkedésképp néhány egyszerű feladat.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">1 </del>Hozzunk létre egy 10 hosszú, csupa 0 vektort! Módosítsuk a 4. elemét 1-re! ''(zeros)''</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"># </ins>Hozzunk létre egy 10 hosszú, csupa 0 vektort! Módosítsuk a 4. elemét 1-re! ''(zeros)''</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">1 </del>Hozzunk létre egy 3x3-as mátrixot, 0-tól 8-ig növekvő számokkal! ''(reshape)''</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"># </ins>Hozzunk létre egy 3x3-as mátrixot, 0-tól 8-ig növekvő számokkal! ''(reshape)''</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">1 </del>Hozzunk létre egy 30 hosszú <del class="diffchange diffchange-inline">véletlen </del>listát! Számoljuk ki az elemek átlagát és a szórását! ''(mean, std)''</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline"># </ins>Hozzunk létre egy 30 hosszú listát <ins class="diffchange diffchange-inline">véletlen számokkal 0 és 1 között</ins>! Számoljuk ki az elemek átlagát és a szórását! ''(<ins class="diffchange diffchange-inline">rand, </ins>mean, std)''</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">11 a</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">## Hozzunk</ins></div></td></tr>
</table>Nyidahttp://wiki.math.bme.hu/index.php?title=Informatika2-2016/Gyakorlat13&diff=11648&oldid=prevNyida: /* Feladatok */2016-05-11T15:30:26Z<p><span class="autocomment">Feladatok</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←Régebbi változat</td>
<td colspan='2' style="background-color: white; color:black;">A lap 2016. május 11., 15:30-kori változata</td>
</tr><tr><td colspan="2" class="diff-lineno">3. sor:</td>
<td colspan="2" class="diff-lineno">3. sor:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[http://www.math.bme.hu/~nyida/info2/e12_16i2_outputs.html Az előadás anyaga.]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[http://www.math.bme.hu/~nyida/info2/e12_16i2_outputs.html Az előadás anyaga.]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Bevezető==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==Bevezető==</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">Ismerkedésképp néhány egyszerű feladat.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">1 Hozzunk létre egy 10 hosszú, csupa 0 vektort! Módosítsuk a 4. elemét 1-re! ''(zeros)''</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">1 Hozzunk létre egy 3x3-as mátrixot, 0-tól 8-ig növekvő számokkal! ''(reshape)''</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">1 Hozzunk létre egy 30 hosszú véletlen listát! Számoljuk ki az elemek átlagát és a szórását! ''(mean, std)''</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">11 a</ins></div></td></tr>
</table>Nyidahttp://wiki.math.bme.hu/index.php?title=Informatika2-2016/Gyakorlat13&diff=11647&oldid=prevNyida: Új oldal, tartalma: „=Feladatok= ==Előadás== [http://www.math.bme.hu/~nyida/info2/e12_16i2_outputs.html Az előadás anyaga.] ==Bevezető==”2016-05-11T15:23:12Z<p>Új oldal, tartalma: „=Feladatok= ==Előadás== [http://www.math.bme.hu/~nyida/info2/e12_16i2_outputs.html Az előadás anyaga.] ==Bevezető==”</p>
<p><b>Új lap</b></p><div>=Feladatok=<br />
==Előadás==<br />
[http://www.math.bme.hu/~nyida/info2/e12_16i2_outputs.html Az előadás anyaga.]<br />
==Bevezető==</div>Nyida