tag:blogger.com,1999:blog-60435892856941968782024-03-13T11:59:41.184-07:00IT+M pamokosInformacinės technologijos ir matematikaitpamokoshttp://www.blogger.com/profile/06289702319636407756noreply@blogger.comBlogger45125tag:blogger.com,1999:blog-6043589285694196878.post-79710181268459864212018-11-10T02:47:00.000-08:002018-11-10T02:47:10.761-08:00“Vektorių skaliarinė sandauga, žinant vektorių koordinates” 2018-11-16<b id="docs-internal-guid-6b408347-7fff-cbe3-72c2-09d3c40f171f" style="font-weight: normal;"></b><br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<br /></div>
<b id="docs-internal-guid-6b408347-7fff-cbe3-72c2-09d3c40f171f" style="font-weight: normal;"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Times New Roman'; font-size: 12pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;">Matematikos pamokos tema</span></div>
</b>„Vektorių skaliarinė sandauga, žinant vektorių koordinates“<b id="docs-internal-guid-6b408347-7fff-cbe3-72c2-09d3c40f171f" style="font-weight: normal;"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<br /></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Times New Roman'; font-size: 12pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;"><b id="docs-internal-guid-77f69015-7fff-23dc-1e41-66d59f08698c" style="font-weight: normal;"><span style="background-color: transparent; color: black; font-family: 'Times New Roman'; font-size: 12pt; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;">Mokymo(si) uždavinys: </span></b></span> </div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
Prisiminę skaliarinės sandaugos skaičiavimo formulę, kai žinomi vektorių ilgiai ir kampas tarp vektorių, ir išsiaiškinę skaliarinės sandaugos formulę, kai žinomos vektorių koordinatės, ją taikydami dauguma mokinių išspręs bent 6-8 užduotis.</div>
</b><b id="docs-internal-guid-6b408347-7fff-cbe3-72c2-09d3c40f171f" style="font-weight: normal;"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<br /></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<b><span style="background-color: transparent; color: black; font-family: "Times New Roman"; font-size: 12pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span style="background-color: transparent; color: black; font-family: "Times New Roman"; font-size: 12pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Užduotis:</span></span></b></div>
</b><br />Pasirinkite vieną iš užduočių variantų. Atlikite užduotis sąsiuvinyje, o atsakymus parašykite atsakymų formoje:<b id="docs-internal-guid-6b408347-7fff-cbe3-72c2-09d3c40f171f" style="font-weight: normal;"><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Times New Roman'; font-size: 12pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;"><br /></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<b><span style="background-color: transparent; color: black; font-family: "Times New Roman"; font-size: 12pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">I. <a href="https://docs.google.com/forms/d/e/1FAIpQLSeSMu0pVekbi35xK0rP0DJ9oJJQp-U0jDvs5uJJBmiZlQqdHA/viewform?usp=sf_link" target="_blank">Lengvesnės + Vidutinės</a></span></b></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<br /></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: 'Times New Roman'; font-size: 12pt; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; white-space: pre;"><b>II. <a href="https://docs.google.com/forms/d/e/1FAIpQLSd6tbSrBhbGfE6QWJCL9RtlLmBdx-otYJaSjmOiPLqsb7sPYw/viewform?usp=sf_link" target="_blank">Vidutinės + Sunkesnės</a></b></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<br /></div>
</b><br class="Apple-interchange-newline" />itpamokoshttp://www.blogger.com/profile/06289702319636407756noreply@blogger.com0tag:blogger.com,1999:blog-6043589285694196878.post-48928155209397896482016-09-22T23:05:00.003-07:002016-09-22T23:05:47.090-07:00Kompiuterinė leidyba. KL1 spalvų aprašasSpalvų aprašas KL1 užduočiai<br />
<br />
<div class="MsoNormal">
<span style="font-family: "Times New Roman","serif"; font-size: 11.0pt; line-height: 118%; mso-bidi-font-size: 10.0pt;">Raudona
spalva. Padeda atgaivinti žmonių jausmus. Stimuliuoja pojūčius. Tinka žmonėms,
kurie jaučiasi pavargę</span>.<o:p></o:p></div>
<div class="MsoNormal">
<span style="font-family: "Times New Roman","serif"; font-size: 11.0pt; line-height: 118%; mso-bidi-font-size: 10.0pt;"> Geltona
spalva. Padeda į pasaulį žvelgti paprasčiau. Suteikia optimizmo ir pasitikėjimo
savo jėgomis. „Geltoni žmonės” visada
švyti, yra kupini sveikos energijos ir juoko.</span><o:p></o:p></div>
<div class="MsoNormal">
<span style="font-family: "Times New Roman","serif"; font-size: 11.0pt; line-height: 118%; mso-bidi-font-size: 10.0pt;"></span> Oranžinė spalva. Leidžia tapti
aktyvesniems. Jaunina ir stiprina organizmą. Simbolizuoja optimizmą.<o:p></o:p></div>
<div class="MsoNormal">
<span style="font-family: "Times New Roman","serif"; font-size: 11.0pt; line-height: 118%; mso-bidi-font-size: 10.0pt;">Žalia
spalva. Padeda įveikti apatiją, tapti atviresniems ir ramesniems. Sukuria taikos
ir pusiausvyros, ramybės ir atsinaujinimo pojūtį. Gaivina, ramina.</span><o:p></o:p></div>
<div class="MsoNormal">
<span style="font-family: "Times New Roman","serif"; font-size: 11.0pt; line-height: 118%; mso-bidi-font-size: 10.0pt;"></span> Mėlyna
spalva Suteikia saugumo jausmą. Padeda įveikti nepasitikėjimą savimi. Nuramina
jausmus.<o:p></o:p></div>
<div class="MsoNormal">
<span style="font-family: "Times New Roman","serif"; font-size: 11.0pt; line-height: 118%; mso-bidi-font-size: 10.0pt;"></span> Violetinė
spalva Nuramina jausmus. Suteikia gerų emocijų. Siejama su aristokratija ir loginiu
mąstymu.<o:p></o:p></div>
<div class="MsoNormal">
<span style="font-family: "Times New Roman","serif"; font-size: 11.0pt; line-height: 118%; mso-bidi-font-size: 10.0pt;"></span> Rožinė
spalva Ramina nervų sistemą. Mažina įtampą, gerina nuotaiką. Dvasiškai
atpalaiduoja.<o:p></o:p></div>
<div class="MsoNormal">
<span style="font-family: "Times New Roman","serif"; font-size: 11.0pt; line-height: 118%; mso-bidi-font-size: 10.0pt;"></span> Juoda
spalva Padeda susikaupti. Drausmina.<o:p></o:p></div>
<br />
<div class="MsoNormal">
<span style="font-family: "Times New Roman","serif"; font-size: 11.0pt; line-height: 118%; mso-bidi-font-size: 10.0pt;"></span> Balta
spalva Suteikia harmonijos, vidinės ramybės. Padeda atsikratyti vidinės įtampos.<o:p></o:p></div>
itpamokoshttp://www.blogger.com/profile/06289702319636407756noreply@blogger.com0tag:blogger.com,1999:blog-6043589285694196878.post-41994374965173887462016-05-03T22:44:00.000-07:002016-05-03T22:45:16.709-07:00Duomenų rikiavimas ir atranka<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b><span style="font-size: 12.0pt; line-height: 115%; mso-bidi-font-size: 11.0pt;">Užduotis:</span></b></div>
<div class="MsoNormal">
<span style="font-size: 7pt; font-stretch: normal; text-indent: -18pt;">1. </span><span style="text-indent: -18pt;">Surinkti duomenis apie 28 Europos sąjungos
šalis: plotas ir gyventojų skaičius, ir juos surašyti į skaičiuoklės darbo
knygos lentelę:</span></div>
<div class="MsoListParagraphCxSpFirst" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<o:p></o:p></div>
<table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; margin-left: 36.0pt; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184;">
<tbody>
<tr>
<td style="border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 47.4pt;" valign="top" width="63"><div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0.0001pt;">
Eil. Nr.<o:p></o:p></div>
</td>
<td style="border-left: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 49.6pt;" valign="top" width="66"><div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0.0001pt;">
Šalis<o:p></o:p></div>
</td>
<td style="border-left: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 99.2pt;" valign="top" width="132"><div class="MsoListParagraphCxSpLast" style="margin: 0cm 0cm 0.0001pt;">
Gyventojų skaičius<o:p></o:p></div>
</td>
<td style="border-left: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 155.95pt;" valign="top" width="208"><div class="MsoNormal" style="margin-bottom: 0.0001pt;">
Plotas (tūkstančiais km²)<o:p></o:p></div>
</td>
</tr>
<tr>
<td style="border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 47.4pt;" valign="top" width="63"><div class="MsoListParagraphCxSpFirst" style="margin: 0cm 0cm 0.0001pt;">
1<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 49.6pt;" valign="top" width="66"><div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0.0001pt;">
<br /></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 99.2pt;" valign="top" width="132"><div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0.0001pt;">
<br /></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 155.95pt;" valign="top" width="208"><div class="MsoListParagraphCxSpLast" style="margin: 0cm 0cm 0.0001pt;">
<br /></div>
</td>
</tr>
<tr>
<td style="border-top: none; border: solid windowtext 1.0pt; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 47.4pt;" valign="top" width="63"><div class="MsoListParagraphCxSpFirst" style="margin: 0cm 0cm 0.0001pt;">
2<o:p></o:p></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 49.6pt;" valign="top" width="66"><div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0.0001pt;">
<br /></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 99.2pt;" valign="top" width="132"><div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0.0001pt;">
<br /></div>
</td>
<td style="border-bottom: solid windowtext 1.0pt; border-left: none; border-right: solid windowtext 1.0pt; border-top: none; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt; padding: 0cm 5.4pt 0cm 5.4pt; width: 155.95pt;" valign="top" width="208"><div class="MsoListParagraphCxSpLast" style="margin: 0cm 0cm 0.0001pt;">
<br /></div>
</td>
</tr>
</tbody></table>
<div class="MsoListParagraph">
<br /></div>
<div class="MsoNormal">
Naudokite <a href="http://europa.eu/">http://europa.eu/</a>
, pasirinkite lietuvių kalbą.<o:p></o:p></div>
<div class="MsoNormal">
Meniu rinkitės <b><i>Apie
ES ->Faktai ir skaičiai -> Gyvenimas ES</i></b><o:p></o:p></div>
<div class="MsoNormal">
Atsidarys diagramos langas, o šalia jų atskiroje kortelėje <b><i>Lentelė,</i></b>
kurioje rasite visus skaičius.<o:p></o:p></div>
<div class="MsoListParagraphCxSpFirst" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span style="font-size: 7pt; font-stretch: normal;"> 2. </span>Surinkę duomenis, padarykite turimos lentelės 2
kopijas į kitus du lapus. Juos pavadinkite <b>Gyventojai</b>
ir <b>Plotas</b>.<o:p></o:p></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span style="font-size: 7pt; font-stretch: normal;"> 3. </span><b>Gyventojų</b>
lape duomenis surikiuokite pagal gyventojų skaičių (nuo didžiausio iki
mažiausio).</div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span style="text-indent: -18pt;"><span style="font-size: xx-small;"> 4. </span></span><b style="text-indent: -18pt;">Ploto </b><span style="text-indent: -18pt;">lape
pritaikykite atrankos kriterijų (filtravimą).</span><span style="text-indent: -18pt;">
</span><span style="text-indent: -18pt;">Lentelėje turi būti rodomos tos šalys, kurių plotas yra didesnis nei 50.</span></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span style="font-size: 7pt; font-stretch: normal; text-indent: -18pt;"> 5. </span><span style="text-indent: -18pt;">Atliktą darbą atsiųsti mokytojai el. paštu </span><a href="mailto:it.atsiskaitymai@gmail.com" style="text-indent: -18pt;">it.atsiskaitymai@gmail.com</a><span style="text-indent: -18pt;">.</span></div>
<div class="MsoListParagraphCxSpLast" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<o:p></o:p></div>
itpamokoshttp://www.blogger.com/profile/06289702319636407756noreply@blogger.com0tag:blogger.com,1999:blog-6043589285694196878.post-11628607262234328892016-04-24T22:06:00.002-07:002016-04-25T02:27:09.067-07:00Integruota rusų k. ir IT pamoka „Sveika mityba"<div style="text-align: center;">
<img src="http://tinklarastis.fitfood.lt/wp-content/uploads/2015/03/fork.jpg" height="112" width="320" /></div>
<div style="text-align: center;">
<b><span style="font-size: large;"><br /></span></b></div>
<div style="text-align: center;">
<b><span style="font-size: large;">„Sveika mityba"</span></b></div>
<div style="text-align: center;">
<br /></div>
<b>Mokymosi uždavinys(-iai): </b><br />
<br />
1.Naudodamiesi pateiktais klausimais rusų k., žodynėliu bei savo patirtim, atlikti apklausą apie mitybą.<br />
2. Naudodamiesi skaičiuokle sudaryti duomenų lentelę, nubraižyti diagramą bei dauguma mokinių turėtų ją suformatuoti pagal pateiktus reikalavimus.<br />
3. Naudodamiesi išmokta rusų k. leksika, diagramą pakomentuoti.<br />
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<img src="http://mansab2.stud.if.ktu.lt/wp-content/gallery/mityba/piramid.jpg" height="320" width="312" /> </div>
<b><br /></b>
<b>Pamokos eiga:</b><br />
<br />
1. Pakartoti rusų kalbos žodžius. Atlikti mankštelę.<br />
<br />
2. Atsakykite į mokytojų pateiktą apklausą: (<a href="http://goo.gl/forms/bAzKl4eZm0">http://goo.gl/forms/bAzKl4eZm0</a>)<br />
<br />
3. Atsisiųsti savo skaičiuoklės darbo knygą (kartu su žodynėliu).<br />
<br />
4. Užpildykite pateiktą lentelę nagrinėdami ir suskaičiuodami atliktos apklausos rezultatus (Apklausos rezultatų failas <a href="http://tinyurl.com/hoybfaf" target="_blank"> <b style="background-color: white; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12.8px;">http://tinyurl.com/hoybfaf</b></a>). <br />
<br />
5. Tuomet pasirinkite vieną iš IT užduoties variantų ir atlikite jį:<br />
<b><i><br /><span style="color: orange;">IT užduotis (2 balams):</span></i></b><br />
<br />
1. Savo turimoje skaičiuoklėje (atsisiųsti iš savo pašto). Skaičiuoklėje sukurkite naują lapą.<br />
2. Sukurkite duomenų lentelę pasinaudodami apklausa. Pasirinkite Jums skirto klausimo rezultatus.<br />
3. Nubraižykite išskaidytą skritulinę diagramą 3-D erdvėje. <br />
4. Turi būti užrašytas diagramos pavadinimas - rusų kalba pateiktas klausimas.<br />
5. Didžiausios diagramos srities užpildas turi atitikti Jūsų klausimo temą, t.y. turi būti pritaikytas paveikslėlio užpildas, pvz.: daržovės, jei klausimas susijęs su daržovėmis.<br />
6. Diagramoje turi būti pateiktos duomenų etiketės, kuriose turi būti užrašytas atsakymo variantas bei rezultatas procentais.<br />
7. Atliktą darbą atsiųsti mokytojai <a href="mailto:it.atsiskaitymai@gmail.com">it.atsiskaitymai@gmail.com</a>. <br />
<br />
<b><i><span style="color: red;">IT užduotis (3 balams):</span></i></b><br />
1. Savo turimoje skaičiuoklėje (atsisiųsti iš savo pašto). Skaičiuoklėje sukurkite naują lapą.<br />
2. Sukurkite duomenų lentelę pasinaudodami apklausa. Pasirinkite Jums skirto klausimo rezultatus.<br />
3. Nubraižykite skritulinę diagramą.<br />
4. Turi būti užrašytas diagramos pavadinimas - rusų kalba pateiktas klausimas.<br />
5. Didžiausios diagramos srities užpildas turi atitikti Jūsų klausimo temą, t.y. Turi būti pritaikytas paveikslėlio užpildas. Likusios diagramos sritys nuspalvintos pritaikant užpildo raštus.<br />
6. Diagramoje turi būti pateiktos duomenų etiketės, kuriose turi būti užrašytas atsakymo variantas bei rezultatas procentais.<br />
7. Padarykite diagramos kopiją ir pakeiskite diagramos tipą į 3-D kūginę diagramą.<br />
8. Kūginėje diagramoje panaikinkite tinklelį, duomenų etiketėse turi būti užrašytas atsakiusiųjų skaičius. <br />
9. Atliktą darbą atsiųsti mokytojai <a href="mailto:it.atsiskaitymai@gmail.com">it.atsiskaitymai@gmail.com</a>. <br />
<br />
<br />
6. Pakomentuoti savo diagramą.itpamokoshttp://www.blogger.com/profile/06289702319636407756noreply@blogger.com0tag:blogger.com,1999:blog-6043589285694196878.post-12953848502728069452016-04-04T04:21:00.003-07:002016-04-04T04:21:37.383-07:00SukiniaiSukiniai<br />
<br />
Užduotis: <a href="http://tinyurl.com/hee3gl8" target="_blank"> <b style="background-color: white; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12.8px;">http://tinyurl.com/hee3gl8</b></a>itpamokoshttp://www.blogger.com/profile/06289702319636407756noreply@blogger.com0tag:blogger.com,1999:blog-6043589285694196878.post-1936660335132062172016-03-30T09:14:00.002-07:002016-03-30T09:21:38.485-07:00Projektinis darbas<iframe frameborder="0" height="311" src="http://www.powtoon.com/embed/brn88pZENaB/" width="480"></iframe>itpamokoshttp://www.blogger.com/profile/06289702319636407756noreply@blogger.com0tag:blogger.com,1999:blog-6043589285694196878.post-4345864870394458472016-03-29T10:19:00.005-07:002016-03-29T10:19:34.010-07:00Planimetrijos uždaviniai su sprendimais<a href="https://issuu.com/norbertasairo/docs/geogebra_knyga" target="_blank">https://issuu.com/norbertasairo/docs/geogebra_knyga </a><br />
<br />itpamokoshttp://www.blogger.com/profile/06289702319636407756noreply@blogger.com0tag:blogger.com,1999:blog-6043589285694196878.post-5536079462121257032016-03-29T07:18:00.004-07:002016-03-29T07:20:05.781-07:00C++ programavimo pamokos (video): Duomenų tipai ir kintamieji<h1 class="yt watch-title-container" style="background: rgb(255, 255, 255); border: 0px; color: #222222; display: table-cell; font-family: Roboto, arial, sans-serif; font-size: 24px; font-weight: normal; margin: 0px 0px 13px; padding: 0px; vertical-align: top; width: 824px; word-wrap: break-word;">
<span class="watch-title " dir="ltr" id="eow-title" style="background: transparent; border: 0px; margin: 0px; padding: 0px;" title="C++ pamokos - 14 - Duomenų tipai ir kintamieji (1 dalis)">Duomenų tipai ir kintamieji</span></h1>
<br />
<br />
<iframe allowfullscreen="" frameborder="0" height="315" src="https://www.youtube.com/embed/9iuEWD7hLgs?list=PL6yQDD0c2AlZ55nlhAEcPGRP--IlRu_s1" width="560"></iframe>
itpamokoshttp://www.blogger.com/profile/06289702319636407756noreply@blogger.com3tag:blogger.com,1999:blog-6043589285694196878.post-65918542823136410412016-03-29T07:14:00.004-07:002016-03-29T07:15:10.575-07:00C++ programavimo pamokos (video): Ciklas FOR<h1 class="yt watch-title-container" style="background: rgb(255, 255, 255); border: 0px; color: #222222; display: table-cell; font-family: Roboto, arial, sans-serif; font-size: 24px; font-weight: normal; margin: 0px 0px 13px; padding: 0px; vertical-align: top; width: 824px; word-wrap: break-word;">
<span class="watch-title " dir="ltr" id="eow-title" style="background: transparent; border: 0px; margin: 0px; padding: 0px;" title="C++ pamokos - 23 - Ciklas FOR (Full HD)">Ciklas FOR</span></h1>
<br />
<br />
<iframe allowfullscreen="" frameborder="0" height="315" src="https://www.youtube.com/embed/UTMOb28U4bg?list=PL6yQDD0c2AlZ55nlhAEcPGRP--IlRu_s1" width="560"></iframe>itpamokoshttp://www.blogger.com/profile/06289702319636407756noreply@blogger.com0tag:blogger.com,1999:blog-6043589285694196878.post-74785587349818484612016-03-29T07:12:00.002-07:002016-03-29T07:12:36.861-07:00C++ programavimo pamokos (video): Ciklas While<h1 class="yt watch-title-container" style="background: rgb(255, 255, 255); border: 0px; color: #222222; display: table-cell; font-family: Roboto, arial, sans-serif; font-size: 24px; font-weight: normal; margin: 0px 0px 13px; padding: 0px; vertical-align: top; width: 824px; word-wrap: break-word;">
<span class="watch-title " dir="ltr" id="eow-title" style="background: transparent; border: 0px; margin: 0px; padding: 0px;" title="C++ pamokos - 21 - Ciklas „while"">Ciklas „while"</span></h1>
<br />
<iframe allowfullscreen="" frameborder="0" height="315" src="https://www.youtube.com/embed/D0t2ZnjpLQM?list=PL6yQDD0c2AlZ55nlhAEcPGRP--IlRu_s1" width="560"></iframe>itpamokoshttp://www.blogger.com/profile/06289702319636407756noreply@blogger.com0tag:blogger.com,1999:blog-6043589285694196878.post-45383177652251291202016-03-29T07:07:00.000-07:002016-03-29T07:10:17.515-07:00C++ programavimo pamokos (video): If sakinys ir sąlyginiai operatoriai<h1 class="yt watch-title-container" style="background: rgb(255, 255, 255); border: 0px; color: #222222; display: table-cell; font-family: roboto, arial, sans-serif; font-size: 24px; font-weight: normal; margin: 0px 0px 13px; padding: 0px; vertical-align: top; width: 824px; word-wrap: break-word;">
<span class="watch-title " dir="ltr" id="eow-title" style="background: transparent; border: 0px; margin: 0px; padding: 0px;" title="C++ pamokos - 7 - If sakinys ir sąlyginiai operatoriai">If sakinys ir sąlyginiai operatoriai<br /><br /><iframe allowfullscreen="" class="YOUTUBE-iframe-video" data-thumbnail-src="https://i.ytimg.com/vi/8bvPVYx9wWU/0.jpg" frameborder="0" height="266" src="https://www.youtube.com/embed/8bvPVYx9wWU?feature=player_embedded" width="320"></iframe></span></h1>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen="" class="YOUTUBE-iframe-video" data-thumbnail-src="https://i.ytimg.com/vi/tIfamWqEMnE/0.jpg" frameborder="0" height="266" src="https://www.youtube.com/embed/tIfamWqEMnE?feature=player_embedded" width="320"></iframe></div>
<br />
<h1 class="yt watch-title-container" style="background: rgb(255, 255, 255); border: 0px; color: #222222; display: table-cell; font-family: Roboto, arial, sans-serif; font-size: 24px; font-weight: normal; margin: 0px 0px 13px; padding: 0px; vertical-align: top; width: 824px; word-wrap: break-word;">
</h1>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<iframe allowfullscreen="" frameborder="0" height="315" src="https://www.youtube.com/embed/NMAtsKdnAew?list=PL6yQDD0c2AlZ55nlhAEcPGRP--IlRu_s1" width="560"></iframe><br />
<br />
<h1 class="yt watch-title-container" style="background: rgb(255, 255, 255); border: 0px; color: #222222; display: table-cell; font-family: Roboto, arial, sans-serif; font-size: 24px; font-weight: normal; margin: 0px 0px 13px; padding: 0px; vertical-align: top; width: 824px; word-wrap: break-word;">
<span class="watch-title " dir="ltr" id="eow-title" style="background: transparent; border: 0px; margin: 0px; padding: 0px;" title="C++ pamokos - 7 - If sakinys ir sąlyginiai operatoriai"><br /></span></h1>
itpamokoshttp://www.blogger.com/profile/06289702319636407756noreply@blogger.com0tag:blogger.com,1999:blog-6043589285694196878.post-57619213587277596422016-03-29T07:05:00.005-07:002016-03-29T07:05:41.829-07:00C++ programavimo pamokos (video): Kintamųjų reikšmių perrašymas<h1 class="yt watch-title-container" style="background: rgb(255, 255, 255); border: 0px; color: #222222; display: table-cell; font-family: Roboto, arial, sans-serif; font-size: 24px; font-weight: normal; margin: 0px 0px 13px; padding: 0px; vertical-align: top; width: 824px; word-wrap: break-word;">
<span class="watch-title " dir="ltr" id="eow-title" style="background: transparent; border: 0px; margin: 0px; padding: 0px;" title="C++ pamokos - 6 - Kintamųjų reikšmių perrašymas">Kintamųjų reikšmių perrašymas<br /></span></h1>
<div class="separator" style="clear: both; text-align: center;">
<iframe width="320" height="266" class="YOUTUBE-iframe-video" data-thumbnail-src="https://i.ytimg.com/vi/49TM6muG4q0/0.jpg" src="https://www.youtube.com/embed/49TM6muG4q0?feature=player_embedded" frameborder="0" allowfullscreen></iframe></div>
<br />
<h1 class="yt watch-title-container" style="background: rgb(255, 255, 255); border: 0px; color: #222222; display: table-cell; font-family: Roboto, arial, sans-serif; font-size: 24px; font-weight: normal; margin: 0px 0px 13px; padding: 0px; vertical-align: top; width: 824px; word-wrap: break-word;">
<span class="watch-title " dir="ltr" id="eow-title" style="background: transparent; border: 0px; margin: 0px; padding: 0px;" title="C++ pamokos - 6 - Kintamųjų reikšmių perrašymas"><br /><br /></span></h1>
itpamokoshttp://www.blogger.com/profile/06289702319636407756noreply@blogger.com0tag:blogger.com,1999:blog-6043589285694196878.post-65582504462887621322016-03-29T07:02:00.002-07:002016-03-29T07:04:35.476-07:00C++ programavimo pamokos (video): Aritmetiniai veiksmai, operatoriai <br />
<br />
<h1 class="yt watch-title-container" style="background: rgb(255, 255, 255); border: 0px; color: #222222; display: table-cell; font-family: Roboto, arial, sans-serif; font-size: 24px; font-weight: normal; margin: 0px 0px 13px; padding: 0px; vertical-align: top; width: 824px; word-wrap: break-word;">
<span class="watch-title " dir="ltr" id="eow-title" style="background: transparent; border: 0px; margin: 0px; padding: 0px;" title="C++ pamokos - 5 - Aritmetiniai veiksmai, operatoriai">Aritmetiniai veiksmai, operatoriai</span></h1>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div>
</div>
<h1 class="yt watch-title-container" style="background: rgb(255, 255, 255); border: 0px; color: #222222; display: table-cell; font-family: Roboto, arial, sans-serif; font-size: 24px; font-weight: normal; margin: 0px 0px 13px; padding: 0px; vertical-align: top; width: 824px; word-wrap: break-word;">
<br /></h1>
<h1 class="yt watch-title-container" style="background: rgb(255, 255, 255); border: 0px; color: #222222; display: table-cell; font-family: Roboto, arial, sans-serif; font-size: 24px; font-weight: normal; margin: 0px 0px 13px; padding: 0px; vertical-align: top; width: 824px; word-wrap: break-word;">
<br /></h1>
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen="" class="YOUTUBE-iframe-video" data-thumbnail-src="https://i.ytimg.com/vi/wnISTqUXn20/0.jpg" frameborder="0" height="266" src="https://www.youtube.com/embed/wnISTqUXn20?feature=player_embedded" width="320"></iframe></div>
itpamokoshttp://www.blogger.com/profile/06289702319636407756noreply@blogger.com0tag:blogger.com,1999:blog-6043589285694196878.post-37136935104648371952016-03-15T23:34:00.001-07:002016-03-29T22:49:15.764-07:00For ciklas. Savarankiško darbo užduotys<br />
1. Architektas suprojektavo salę, kurioje bus n eilių. Pirmoje eilėje stovės k kėdžių, o kiekvienoje kitoje eilėje – 2 kėdėmis daugiau, negu prieš tai buvusioje. Parašykite programą, kuri apskaičiuotų, kiek iš viso kėdžių (s) reikia užsakyti, kad architekto sumanymas būtų įgyvendintas.<br />
<br />
<i>Pasitikrinkite. Kai n = 3, o k = 8, turi būti spausdinama: s = 30 kėdžių.</i><br />
<br />
2. Šachmatų išradėjas iš valdovo paprašė tokio atlygio: ant pirmo šachmatų lentos langelio padėti vieną grūdą,ant antrojo – du, ant trečiojo – keturis ir t. t., vis dvigubinant, kol pasibaigs langeliai. Valdovas tik nusijuokė ir paliepė atseikėti grūdų. Kiek grūdų gaus šachmatų išradėjas? Šachmatų lentoje yra 64 langeliai. Parašykite programą šiam uždaviniui spręsti. Rezultato reikšmei atmintyje laikyti panaudokite double duomenų tipą.<br />
<br />
<i>Pasitikrinkite. Ekrane turi būti spausdinama: Šachmatų išradėjas gaus 18446744073709551616 grūdų.</i><br />
<i><br /></i>
<br />
<br />
<i><br /></i>
<i>-------------------------</i><br />
<i>PAVYZDYS:</i><br />
Elektros grandinę sudaro n lygiaigrečiai sujungtų laidininkų, kurių varžos r1, r2, ..., rn omų.Parašykite programą, kuri apskaičiuotų grandinės varžą r.<br />
<br />
Pasitikrinkite: Kai n = 4, o r1 = 2, r2 = 4, r3 = 1, r4 = 4, turi būti spausdinama: Elektros grandinės varža r = 11,5.<br />
<i><br /></i>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">#include <iostream></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">#include <iomanip></span></div>
<b id="docs-internal-guid-734801d2-c609-6a62-eac2-36c86cfbd737" style="font-weight: normal;"><br /></b>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">using namespace std;</span></div>
<b style="font-weight: normal;"><br /></b>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">int main()</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">{</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> int i; //žinomo kartojimų skaičiaus ciklo kintamasis</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> int n; // laidininkų skaičius</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> double r; //elektros grandinės varža</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> double rlaid; //laidininko varža</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> cout << "Kiek laidininkų yra elektros grandinėje? "; cin >> n;</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> r = 0;</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> for (i = 1; i <= n; i++){</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> cout << "Įveskite laidininko varžą "; cin >> rlaid;</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> r = r + rlaid;</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> }</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> cout << "Elektros grandinės varža: " << setw(6) << fixed << setprecision(2) << r << endl;</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> return 0;</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> </span></div>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">}</span></div>
<div>
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><br /></span></div>
itpamokoshttp://www.blogger.com/profile/06289702319636407756noreply@blogger.com0tag:blogger.com,1999:blog-6043589285694196878.post-7566902010565361572016-03-08T09:05:00.003-08:002016-03-08T09:05:33.756-08:00Matematika mokslų karalienė<div class="separator" style="clear: both; text-align: center;">
<iframe width="320" height="266" class="YOUTUBE-iframe-video" data-thumbnail-src="https://i.ytimg.com/vi/8mve0UoSxTo/0.jpg" src="https://www.youtube.com/embed/8mve0UoSxTo?feature=player_embedded" frameborder="0" allowfullscreen></iframe></div>
<br />itpamokoshttp://www.blogger.com/profile/06289702319636407756noreply@blogger.com0tag:blogger.com,1999:blog-6043589285694196878.post-70467078640894610612016-02-09T23:08:00.002-08:002016-02-16T22:48:41.074-08:00Ciklas While. Struktūra.Veiksmų kartojimas daug kartų vadinamas ciklu.<br />
Ciklo sakinį sudaro antraštė, prasidedanti žodžiu while, po to skliausteliuose rašoma sąlyga ir po jos einantis sakinys, kuris kartojamas tol, kol tenkinama antraštėje nurodyta sąlyga.<br />
Ciklo užrašymas:<br />
<br />
<br />
<b>While </b>(sąlyga)<br />
Kartojimo sakinys;<br />
<br />
ARBA <br />
<br />
<b>While</b> (sąlyga)<br />
{<br />
Kartojimo sakinys1;<br />
Kartojimo sakinys2; <br />
Kartojimo sakinys3;<br />
}<br />
<br />
Kaip atliekamas ciklas? Pirmiausia tikrinama sąlyga. Jeigu ji netenkinama, tai ciklo sakinys neatliekamas nė karto. Jeigu sąlyga tenkinam, tai atliekamas sakinys einantis po sąlygos ir vėl grįžtama prie sąlygos tikrinimo. Veiksmai kartojami tol, kol tenkinam sąlyga. Kai sąlyga netenkinama, ciklas baigiamas ir vykdomas po ciklo einantis sakinys.<br />
<br />
<br />
Kiek kartų atliekamas ciklas?<br />
while (x <= y)<br />
{<br />
y = y - 3;<br />
x = x + 3;<br />
}itpamokoshttp://www.blogger.com/profile/06289702319636407756noreply@blogger.com0tag:blogger.com,1999:blog-6043589285694196878.post-61101427084267611912016-02-09T22:51:00.005-08:002016-02-16T22:56:36.583-08:00Ciklas While. Užduotys savarankiškam darbui1. Parašykite programą, kuri suskaičiuotų natūraliojo duotojo skaičiaus <b>a</b> (neturinčio nulinių skaitmenų) skaitmenų sandaugą <b>sand.</b><br />
<br />
2. Parašykite programą, kuri suskaičiuotų natūraliojo duotojo skaičiaus <b>a </b>skaitmenų sumą<b> s</b>.<br />
<i>Pasitikrinkite. Jei a = 65421, tai jo skaitmenų suma s = 18</i>.<br />
<br />
3. Parašykite programą, kuri suskaičiuotų natūraliojo duotojo skaičiaus<b> a </b>skaitmenų kiekį <b>kiek</b>.<br />
<i>Pasitikrinkite. Jei a = 611221, tai kiek = 6.</i><br />
<br />
4. Martynas labai mėgsta saldainius. Mamos slėptuvėje jis rado <b>m</b> saldainių. Pirmą dieną jis suvalgė 1 saldainį, antrąją - 2, trečiąją - 3. Kiekvieną kitą dieną jis suvalgydavo vienu saldainiu daugiau negu prieš tai buvusią dieną. Per kelias dienas <b>d</b> Martynas suvalgys visus saldainius? Paskutinei dienai gali likti mažiau saldainių.<br />
<i>Pasitikrinkite, kai m = 11, turite gauti d = 5.</i><br />
<i><br /></i>
5. Parašykite programą, kuri rastų duoto skaičiaus <b>a</b> nenulinių skaitmenų sandaugą.<br />
<i>Pasitikrinkite. Jei a=60203, tai turi būti išvesta: skaičiaus 60203 nenulinių skaitmenų sandauga yra 36.</i><br />
<i>________________________</i><br />
<i>PASTABA:</i><br />
<i><b>Prieš ciklą </b>skaičiuojant sumą ir kiekį, jų pradinės reikšmės lygios 0,t.y.:</i><br />
<i>suma = 0;</i><br />
<i>kiekis = 0;</i><br />
<i><br /></i>
<i>Skaičiuojant sandaugą, pradinė reikšmė lygi 1:</i><br />
<i>sand = 1;</i><br />
<i><br /></i>
<i><b>Cikle</b> atliekant skaičiavimus:</i><br />
<i>suma = suma + n; arba suma +=n;</i><br />
<i>kiekis = kiekis +1; arba kiek++;</i><br />
<i>sand = sand * n; </i><br />
<i>________________________</i><br />
<i>1. pratimo sprendimas:</i><br />
<i><br /></i>
<i>#include <iostream></i><br />
<i><br /></i>
<i>using namespace std;</i><br />
<i><br /></i>
<i>int main()</i><br />
<i>{</i><br />
<i> int a, sand, p;</i><br />
<i> cout << "Įveskite skaičių a"; cin >> a;</i><br />
<i> sand = 1;</i><br />
<i> while (a > 0)</i><br />
<i> {</i><br />
<i> p = a % 10; //atskiriamas paskutinis skaitmuo</i><br />
<i> sand = sand * p; //sand *= p</i><br />
<i> a = a/10; //sumažinamas skaičiaus skaitmenų kiekis</i><br />
<i> }</i><br />
<i> cout << "Skaičiaus skaitmenų sandauga = " << sand;</i><br />
<i> return 0;</i><br />
<i></i><br />
<i>}</i>itpamokoshttp://www.blogger.com/profile/06289702319636407756noreply@blogger.com0tag:blogger.com,1999:blog-6043589285694196878.post-71560686979994778422016-02-07T09:21:00.001-08:002017-04-28T04:37:20.676-07:00III B kurso IT užduotys<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://mokiniams.weebly.com/uploads/1/8/6/2/18621616/1421152913.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://mokiniams.weebly.com/uploads/1/8/6/2/18621616/1421152913.png" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="text-align: start;"><b>(</b></span><b style="text-align: start;"><a href="http://gabija.simnet.lt/it/pk/home.html" target="_blank">http://gabija.simnet.lt/it/pk/home.html</a>)</b></div>
<div class="separator" style="clear: both;">
<br /></div>
Iš vadovėlio "Pasaulis kompiuteryje" skaičiuoklės užduotys:<br />
<div class="separator" style="clear: both;">
<span style="text-align: start;"><b><i><u>II pusmetis:</u></i></b></span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;"><b><br /></b></span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;"><b>1 Pažymys:</b></span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;">9 psl. 3 užduotis;</span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;">11 psl. - 1, 2, 3 užduotys;</span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;">15 psl. grafikas;</span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;">17 psl. - 4 užduotis "Viešbutis";</span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;">19 psl. 6 pratimo a arba b eilutę;</span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;">20 psl. 7, 8 užduotys.</span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;"><b>2 pažymys:</b></span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;">"Suma ir kiekis"</span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;">25 psl. - 2 užduotis;</span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;">"Truputis logika"</span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;">28 psl. - 1 užduotis.</span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;"><b>3 pažymys:</b></span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;">"Duomenis rikiuojame ir sijojame" </span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;">34-35 psl. - 1, 3 užduotys;</span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;">"Apvaliname skaičius"</span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;">42 psl. - 1, 2 užduotys.</span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;"><br /></span></div>
<div class="separator" style="clear: both;">
<b>4 pažymys:</b></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;">"Sudėtingesni sąlyginės funkcijos taikymo atvejai"</span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;">45-48 psl. : Lyginiai PC Nr.: 1.a, d, f, 2.</span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;"> Nelyginiai PC Nr.: 1.b, c, e, 2.</span></div>
<div class="separator" style="clear: both;">
"Trigonometrinių funkcijų grafikai"</div>
<div class="separator" style="clear: both;">
53-56 psl. - 2, 4, 5 užduotys.</div>
<div class="separator" style="clear: both;">
<span style="text-align: start;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;"><b>5 pažymys:</b></span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;">"Kuriame vaizdingas diagramas"</span></div>
<div class="separator" style="clear: both;">
62-65 psl. - 1, 2, 3, 4, 6, 7 užduotys.</div>
<div class="separator" style="clear: both;">
<span style="text-align: start;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;"><b><span style="color: red;">NEREIKIA! </span><strike>6 pažymys:</strike></b></span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;"><strike>"Skaičiuojame laiką"</strike></span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;"><strike>69-73 psl. - 1, 6, 9 užduotys</strike></span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;"><b><span style="color: red;">NEREIKIA! </span></b><b><strike>7 pažymys:</strike></b></span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;"><b><strike>Pateiktys</strike></b></span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;"><strike>R.Zabarausko pratybos. 9 psl. užduotis. Medžiaga pateikties rengimui knygoje "Pasaulis kompiuteryje II dalis" 102-115 psl.</strike></span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;"><b><br /></b></span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;"><b><span style="color: red;">Atlikti namuose</span> 8 pažymys:</b></span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;">Pristatymas naudojantis prezi.com: </span><a href="http://tinyurl.com/jopkzhz" target="_blank"><b style="background-color: white; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12.8px;">http://tinyurl.com/jopkzhz</b> </a></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;"><b>9 pažymys:</b></span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;"><a href="http://www.itmpamokos.blogspot.lt/2015/05/iii-kl-uzduotis-web-20-saityno-paslaugos.html" target="_blank">http://www.itmpamokos.blogspot.lt/2015/05/iii-kl-uzduotis-web-20-saityno-paslaugos.html </a></span></div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both;">
</div>
<hr />
<span style="text-align: start;"><b>10 pažymys:</b></span><br />
<span style="text-align: start;"><b>Teorija: (</b></span><b><a href="http://gabija.simnet.lt/it/pk/home.html" target="_blank">http://gabija.simnet.lt/it/pk/home.html</a>)</b><br />
<b>V skyrius "Saugus ir teisėtas naudojimasis informacija bei e. paslaugomis"</b><br />
<b>116-164 psl. perskaityti ir pasiruošti teorijos testui.</b><br />
<div class="separator" style="clear: both;">
<span style="text-align: start;"><br /></span></div>
<div class="separator" style="clear: both;">
<span style="text-align: start;"><br /></span></div>
itpamokoshttp://www.blogger.com/profile/06289702319636407756noreply@blogger.comtag:blogger.com,1999:blog-6043589285694196878.post-67314705738882099042016-02-04T08:38:00.001-08:002016-02-04T08:39:18.801-08:00Secrets of Mental Math<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen="" class="YOUTUBE-iframe-video" data-thumbnail-src="https://i.ytimg.com/vi/1JW9BA57aR8/0.jpg" frameborder="0" height="266" src="https://www.youtube.com/embed/1JW9BA57aR8?feature=player_embedded" width="320"></iframe></div>
<br />itpamokoshttp://www.blogger.com/profile/06289702319636407756noreply@blogger.com0tag:blogger.com,1999:blog-6043589285694196878.post-6448572764734084892016-01-18T11:17:00.001-08:002016-01-18T11:18:40.903-08:00Sąlyginė funkcija IF<span id="docs-internal-guid-b6715675-5621-ce1d-d36f-fa05190650a5"></span><br />
<b><span style="font-size: large;">Loginiai operatoriai</span></b><br />
<div>
<br /></div>
<div>
<div dir="ltr" style="line-height: 1.811454; margin-bottom: 11pt; margin-top: 6pt; text-align: justify;">
<span id="docs-internal-guid-b6715675-5622-48b1-db29-635ae788f737"><span style="background-color: white; font-family: "arial"; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;">== </span><span style="background-color: white; font-family: "arial"; vertical-align: baseline; white-space: pre-wrap;"> tikrinama ar kintamieji lygus</span></span><br />
<span style="background-color: white; font-family: "arial"; font-weight: 700; line-height: 1.81145; vertical-align: baseline; white-space: pre-wrap;">!=</span><span style="background-color: white; font-family: "arial"; line-height: 1.81145; vertical-align: baseline; white-space: pre-wrap;"> </span><span style="background-color: white; font-family: "arial"; line-height: 1.81145; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: white; font-family: "arial"; line-height: 1.81145; vertical-align: baseline; white-space: pre-wrap;">tikrinama ar kintamieji nelygūs</span><br />
<span style="background-color: white; font-family: "arial"; font-weight: 700; line-height: 1.81145; vertical-align: baseline; white-space: pre-wrap;"><</span><span style="background-color: white; font-family: "arial"; line-height: 1.81145; vertical-align: baseline; white-space: pre-wrap;"> </span><span style="background-color: white; font-family: "arial"; line-height: 1.81145; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: white; font-family: "arial"; line-height: 1.81145; vertical-align: baseline; white-space: pre-wrap;">tikrinama ar pirmas kintamasis mažesnis už antrą</span><br />
<span style="background-color: white; font-family: "arial"; font-weight: 700; line-height: 1.81145; vertical-align: baseline; white-space: pre-wrap;">></span><span style="background-color: white; font-family: "arial"; line-height: 1.81145; vertical-align: baseline; white-space: pre-wrap;"> </span><span style="background-color: white; font-family: "arial"; line-height: 1.81145; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: white; font-family: "arial"; line-height: 1.81145; vertical-align: baseline; white-space: pre-wrap;">tikrinama ar pirmas kintamasis didesnis už antrą</span><br />
<span style="background-color: white; font-family: "arial"; font-weight: 700; line-height: 1.81145; vertical-align: baseline; white-space: pre-wrap;"><=</span><span style="background-color: white; font-family: "arial"; line-height: 1.81145; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: white; font-family: "arial"; line-height: 1.81145; vertical-align: baseline; white-space: pre-wrap;">tikrinama ar pirmas kintamasis mažesnis už antrą arba lygus jam</span><br />
<span style="background-color: white; font-family: "arial"; font-weight: 700; line-height: 1.81145; vertical-align: baseline; white-space: pre-wrap;">>= </span><span style="background-color: white; font-family: "arial"; line-height: 1.81145; vertical-align: baseline; white-space: pre-wrap;"> tikrinama ar pirmas kintamasis didesnis už antrą arba lygus jam</span><br />
<span style="background-color: white; font-family: "arial"; font-weight: 700; line-height: 1.81145; vertical-align: baseline; white-space: pre-wrap;">||</span><span style="background-color: white; font-family: "arial"; line-height: 1.81145; vertical-align: baseline; white-space: pre-wrap;"> </span><span style="background-color: white; font-family: "arial"; line-height: 1.81145; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: white; font-family: "arial"; line-height: 1.81145; vertical-align: baseline; white-space: pre-wrap;">tikrinama ar bent vienas iš kintamųjų tinka pagal sąlygą (loginis ARBA)</span><br />
<span style="background-color: white; font-family: "arial"; font-weight: 700; line-height: 1.81145; vertical-align: baseline; white-space: pre-wrap;">&&</span><span style="background-color: white; font-family: "arial"; line-height: 1.81145; vertical-align: baseline; white-space: pre-wrap;"> </span><span style="background-color: white; font-family: "arial"; line-height: 1.81145; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="background-color: white; font-family: "arial"; line-height: 1.81145; vertical-align: baseline; white-space: pre-wrap;">tikrinama ar visi kintamieji tinka pagal sąlygą (loginis IR)</span></div>
<div dir="ltr" style="margin-bottom: 11pt; margin-top: 6pt;">
<div style="line-height: 1.81145;">
<span style="background-color: white; font-family: "arial"; font-size: 18.6667px; vertical-align: baseline; white-space: pre-wrap;">******************************************************</span></div>
<span style="font-size: large;"><b>Sąlyginė funkcija IF</b></span></div>
<div dir="ltr" style="margin-bottom: 11pt; margin-top: 6pt;">
<span id="docs-internal-guid-17b9781e-5623-62d9-8eb1-c47bdb361b33"></span><br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span id="docs-internal-guid-17b9781e-5623-62d9-8eb1-c47bdb361b33"><span style="font-family: "arial"; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;">if </span><span style="color: #cc0000; font-family: "arial"; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;">(Sąlyga)</span></span></div>
<span id="docs-internal-guid-17b9781e-5623-62d9-8eb1-c47bdb361b33">
</span>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span id="docs-internal-guid-17b9781e-5623-62d9-8eb1-c47bdb361b33"><span style="font-family: "arial"; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="color: #38761d; font-family: "arial"; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;">Sakinys1;</span></span></div>
<span id="docs-internal-guid-17b9781e-5623-62d9-8eb1-c47bdb361b33">
</span>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span id="docs-internal-guid-17b9781e-5623-62d9-8eb1-c47bdb361b33"><span style="font-family: "arial"; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;">else</span></span></div>
<span id="docs-internal-guid-17b9781e-5623-62d9-8eb1-c47bdb361b33">
<span style="font-family: "arial"; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="color: #0b5394; font-family: "arial"; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;">Sakinys2;</span></span></div>
Pvz.: </div>
<br />
a = 7;<br />
if (a > 4)<br />
b = a + 3;<br />
else<br />
b = a – 3;<br />
<div>
<br />
<div>
<span style="background-color: white; font-family: "arial"; font-size: 18.6667px; line-height: 33.8138px; white-space: pre-wrap;">******************************************************</span></div>
<div>
<span id="docs-internal-guid-9a74628d-5624-8ff9-ab64-eef43793fe60"><span style="color: #424242; font-family: "inconsolata"; vertical-align: baseline; white-space: pre-wrap;"><span style="font-size: large;"><b>Sąlygos sakinys ir sakinių grupė</b></span></span></span></div>
<div>
<span id="docs-internal-guid-9a74628d-5625-0a21-4ce1-b76562808c6b"></span><br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span id="docs-internal-guid-9a74628d-5625-0a21-4ce1-b76562808c6b"><span style="font-family: "arial"; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;">if </span><span style="color: red; font-family: "arial"; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;">(Sąlyga)</span></span></div>
<span id="docs-internal-guid-9a74628d-5625-0a21-4ce1-b76562808c6b">
</span>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span id="docs-internal-guid-9a74628d-5625-0a21-4ce1-b76562808c6b"><span style="font-family: "arial"; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="font-family: "arial"; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;">{</span></span></div>
<span id="docs-internal-guid-9a74628d-5625-0a21-4ce1-b76562808c6b">
</span>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span id="docs-internal-guid-9a74628d-5625-0a21-4ce1-b76562808c6b"><span style="font-family: "arial"; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;"> </span><span style="font-family: "arial"; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="color: #38761d; font-family: "arial"; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;">Pirma sakinių grupė</span></span></div>
<span id="docs-internal-guid-9a74628d-5625-0a21-4ce1-b76562808c6b">
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: "arial"; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="font-family: "arial"; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;">}</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: "arial"; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;">else</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: "arial"; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="font-family: "arial"; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;">{</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: "arial"; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;"> </span><span style="font-family: "arial"; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="color: #0b5394; font-family: "arial"; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;">Antra sakinių grupė</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: "arial"; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="font-family: "arial"; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;">}</span></div>
<div>
<span style="font-family: "arial"; font-size: 24px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;"><br /></span></div>
</span></div>
<div>
<span id="docs-internal-guid-9a74628d-5625-552d-b69d-42658657a308"></span><br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span id="docs-internal-guid-9a74628d-5625-552d-b69d-42658657a308"><span style="font-family: "arial"; vertical-align: baseline; white-space: pre-wrap;">PVZ.:</span></span></div>
<span id="docs-internal-guid-9a74628d-5625-552d-b69d-42658657a308">
</span>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span id="docs-internal-guid-9a74628d-5625-552d-b69d-42658657a308"><span style="font-family: "arial"; vertical-align: baseline; white-space: pre-wrap;">x = 5;</span></span></div>
<span id="docs-internal-guid-9a74628d-5625-552d-b69d-42658657a308">
</span>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span id="docs-internal-guid-9a74628d-5625-552d-b69d-42658657a308"><span style="font-family: "arial"; vertical-align: baseline; white-space: pre-wrap;">if </span><span style="color: red; font-family: "arial"; vertical-align: baseline; white-space: pre-wrap;">(x <= 8)</span></span></div>
<span id="docs-internal-guid-9a74628d-5625-552d-b69d-42658657a308">
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: "arial"; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="font-family: "arial"; vertical-align: baseline; white-space: pre-wrap;">{</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: "arial"; vertical-align: baseline; white-space: pre-wrap;"> </span><span style="font-family: "arial"; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="color: #38761d; font-family: "arial"; vertical-align: baseline; white-space: pre-wrap;">x = x + 3;</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="color: #38761d; font-family: "arial"; vertical-align: baseline; white-space: pre-wrap;"> </span><span style="color: #38761d; font-family: "arial"; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="color: #38761d; font-family: "arial"; vertical-align: baseline; white-space: pre-wrap;">y = x + 5;</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: "arial"; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="font-family: "arial"; vertical-align: baseline; white-space: pre-wrap;">}</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: "arial"; vertical-align: baseline; white-space: pre-wrap;">else</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: "arial"; vertical-align: baseline; white-space: pre-wrap;"> </span><span style="font-family: "arial"; vertical-align: baseline; white-space: pre-wrap;"><span class="Apple-tab-span" style="white-space: pre;"> </span></span><span style="color: #0b5394; font-family: "arial"; vertical-align: baseline; white-space: pre-wrap;">y = x – 3;</span></div>
<div>
<span style="color: #0b5394; font-family: "arial"; vertical-align: baseline; white-space: pre-wrap;"><br /></span></div>
</span></div>
<div>
<span style="background-color: white; font-family: "arial"; font-size: 18.6667px; line-height: 33.8138px; white-space: pre-wrap;">******************************************************</span></div>
<div>
<span style="background-color: white; font-family: "arial"; font-size: 18.6667px; line-height: 33.8138px; white-space: pre-wrap;"><b>Užduotis 1:</b></span></div>
<div>
<span id="docs-internal-guid-85e19553-5626-0b9b-4c4f-35a005dfbe07"><span style="color: #424242; font-family: "source code pro"; vertical-align: baseline; white-space: pre-wrap;">Duoti du teigiami sveikieji skaičiai a ir b. Nustatykite kuris skaičius didesnis.</span></span></div>
<div>
<span style="color: #424242; font-family: "source code pro"; vertical-align: baseline; white-space: pre-wrap;"><br /></span></div>
<b>#include <iostream><br />#include <iomanip><br />#include <cmath><br /><br />using namespace std;<br /><br />int main()<br />{<br /> int a,b;<br /> cout << "Iveskite skaičių a "; cin >> a; <span style="color: #666666;">//Įvedame skaičių a</span><br /> cout << "Iveskite skaičiu b"; cin >> b; <span style="color: #666666;"> // Įvedame skaičių b</span><br /> if (a > b) <span style="color: #666666;">//Tikriname, kuris skaičius didesnis</span><br /> cout << "Skaičius a yra didesnis" << endl; <span style="color: #666666;">// atsakymas, jei sąlyga teisinga</span><br /> else<br /> cout << "Skaicius b yra didenis" << endl; <span style="color: #666666;"> //atsakymas, kai sąlyga neteisinga</span><br /> return 0;<br />}</b></div>
<div>
<span style="background-color: white; font-family: "arial"; font-size: 18.6667px; line-height: 33.8138px; white-space: pre-wrap;">******************************************************</span></div>
<div>
<span style="background-color: white; font-family: "arial"; font-size: 18.6667px; line-height: 33.8138px; white-space: pre-wrap;"><b>Užduotis 2:</b></span></div>
Reikia rasti kvadratinės lygties ax² + bx + c = 0 sprendinius; čia a, b ir c sveikieji skaičiai, nelygūs nuliui.<br />
<div>
<br /></div>
<div>
<span id="docs-internal-guid-801cbbd6-562b-602c-e61d-e60d0ca6e48f"><img height="540px;" src="https://lh5.googleusercontent.com/7ISSxaN1l1vKpAf1DkyR--BoZck8WhrigIGdc9nHOaXl6spSvtdhHEuMblWtnu2BAdc9QcWNMeMc1c-3h3wpSQJBW_Uz4CNHolNZo14zwvhStrr6YmNn9NqqOZT-vEQZ9xpoEAQldA" width="608px;" /> </span><br />
<div>
<span style="background-color: white; font-family: "arial"; font-size: 18.6667px; line-height: 33.8138px; white-space: pre-wrap;"><br /></span></div>
<div>
<span style="background-color: white; font-family: "arial"; font-size: 18.6667px; line-height: 33.8138px; white-space: pre-wrap;"><br /></span></div>
</div>
itpamokoshttp://www.blogger.com/profile/06289702319636407756noreply@blogger.com0tag:blogger.com,1999:blog-6043589285694196878.post-58875540338214554832016-01-13T11:22:00.001-08:002016-01-13T21:41:59.570-08:00Matematikos pamoka „Kreivinių trapecijų plotų skaičiavimas“<div align="center" class="MsoNormal" style="text-align: center;">
<b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%; mso-bidi-font-size: 11.0pt;">Matematikos pamoka „Kreivinių
trapecijų plotų skaičiavimas“<o:p></o:p></span></b></div>
<div align="center" class="MsoNormal" style="text-align: center;">
<b><span style="font-family: "Times New Roman",serif; font-size: 14.0pt; line-height: 107%; mso-bidi-font-size: 11.0pt;"><br /></span></b></div>
<div class="MsoListParagraphCxSpFirst" style="mso-list: l2 level1 lfo2; text-indent: -18.0pt;">
1. <span style="font-family: "Times New Roman",serif; font-size: 12.0pt; line-height: 107%;">Planšetėje
atverkite Google diską (Google drive).<o:p></o:p></span><br />
<span style="font-family: "Times New Roman",serif; font-size: 12.0pt; line-height: 107%;"><br /></span></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l2 level1 lfo2; text-indent: -18.0pt;">
2. <span style="font-family: "Times New Roman",serif; font-size: 12.0pt; line-height: 107%;">Diske
rasite aplanką „Matematikos pamoka IV kl. A kursas“. Jį atverkite.<o:p></o:p></span><br />
<span style="font-family: "Times New Roman",serif; font-size: 12.0pt; line-height: 107%;"><br /></span></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l2 level1 lfo2; text-indent: -18.0pt;">
3. <span style="font-family: "Times New Roman",serif; font-size: 12.0pt; line-height: 107%;">Susiraskite
dokumentą pavadintą <b>Jūsų vardu ir
pavarde. </b><o:p></o:p></span><br />
<span style="font-family: "Times New Roman",serif; font-size: 12.0pt; line-height: 107%;"><b><br /></b></span></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l2 level1 lfo2; text-indent: -18.0pt;">
4. <span style="font-family: "Times New Roman",serif; font-size: 12.0pt; line-height: 107%;">Užpildykite
nurodytą informaciją. (užduočių pasirinkimas žemiau).<o:p></o:p></span><br />
<span style="font-family: "Times New Roman",serif; font-size: 12.0pt; line-height: 107%;"><br /></span></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l2 level1 lfo2; text-indent: -18.0pt;">
5. <span style="font-family: "Times New Roman",serif; font-size: 12.0pt; line-height: 107%;">Naudodamiesi programėle desmos </span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: "Times New Roman",serif; font-size: 12.0pt; line-height: 107%;"> <a href="https://d3e7x39d4i7wbe.cloudfront.net/uploads/product/image/214/thumb_desmos_icon_large-1426447279-1428742766-1428750848.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://d3e7x39d4i7wbe.cloudfront.net/uploads/product/image/214/thumb_desmos_icon_large-1426447279-1428742766-1428750848.png" /></a> <span style="font-family: "Times New Roman",serif; font-size: 12pt; line-height: 107%;"> (arba </span><span style="font-family: "Times New Roman",serif; font-size: 12pt; line-height: 107%;"><a href="https://www.desmos.com/calculator">https://www.desmos.com/calculator</a>)</span><span style="font-family: "Times New Roman",serif; font-size: 12pt; line-height: 107%;">
nubraižykite pateiktų užduotyse funkcijų grafikus, kurie riboja kreivinių
trapecijų plotus.</span></span></div>
<br />
<span style="font-family: "Times New Roman",serif; font-size: 12.0pt; line-height: 107%;"><br /></span></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l2 level1 lfo2; text-indent: -18.0pt;">
<span style="font-family: "Times New Roman",serif; font-size: 12.0pt; line-height: 107%; mso-fareast-font-family: "Times New Roman";"><span style="font-family: 'Times New Roman'; font-stretch: normal; line-height: normal;"> 6. </span><span style="font-family: 'Times New Roman'; font-size: 7pt; font-stretch: normal; line-height: normal;"> </span></span><!--[endif]--><span style="font-family: "Times New Roman",serif; font-size: 12.0pt; line-height: 107%;">Padarykite
brėžinių kopijas. Tai galite padaryti 2 būdais:<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="margin-left: 54.0pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<ul>
<li><span style="font-family: "Times New Roman",serif; font-size: 12pt; line-height: 107%;">Paspausdami įjungimo/išjungimo bei
pagrindinio meniu mygtukus kartu;</span></li>
<li><span style="font-family: "Times New Roman",serif; font-size: 12pt; line-height: 107%;">Perbraukdami ranka per ekraną.</span></li>
</ul>
</div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l2 level1 lfo2; text-indent: -18.0pt;">
7. <span style="font-family: "Times New Roman",serif; font-size: 12.0pt; line-height: 107%;">Nurodę
atliekamos užduoties numerį, įterpkite savo padarytų brėžinių nuotraukas į „Mokinio
lapą - 1“. (Nuotraukos kaupiamos „Galerijoje“).<o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l2 level1 lfo2; text-indent: -18.0pt;">
<br />
<span style="font-family: "Times New Roman",serif; font-size: 12.0pt; line-height: 107%;"> 8. Pateiktame
<b>„Mokinio lape - 2“ </b>(popieriniame variante) atlikite visus skaičiavimus. <o:p></o:p></span></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l2 level1 lfo2; text-indent: -18.0pt;">
<span style="font-family: "Times New Roman",serif; font-size: 12.0pt; line-height: 107%;"><br /></span>
9. <span style="font-family: "Times New Roman",serif; font-size: 12.0pt; line-height: 107%;">Užpildę
<b>„Mokinio lapą - 1“</b> jį pabendrinkite </span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: "Times New Roman",serif; font-size: 12.0pt; line-height: 107%;"><a href="http://www.prolificoaktree.com/images/articlecontent/google_sheets_sparklines/docs_share_icon.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://www.prolificoaktree.com/images/articlecontent/google_sheets_sparklines/docs_share_icon.jpg" /></a> <span style="font-family: "Times New Roman",serif; font-size: 12pt; line-height: 107%;">su </span><a href="mailto:it.atsiskaitymai@gmail.com"><span style="font-family: "Times New Roman",serif; font-size: 12.0pt; line-height: 107%;">it.atsiskaitymai@gmail.com</span></a><span style="font-family: "Times New Roman",serif; font-size: 12pt; line-height: 107%;">.</span></span></div>
</div>
<div class="MsoListParagraphCxSpLast">
<br /></div>
<div class="MsoNormal">
<span style="font-family: "Times New Roman",serif; font-size: 12.0pt; line-height: 107%;"><b> Užduotis pasirinkite čia:</b></span></div>
<div class="MsoListParagraphCxSpFirst" style="mso-list: l1 level1 lfo3; text-indent: -18.0pt;">
<ul>
<li><span style="font-family: Symbol; font-size: 12.0pt; line-height: 107%; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="color: red; font-family: 'Times New Roman'; font-stretch: normal;">I variantas</span><span style="font-family: 'Times New Roman'; font-size: 7pt; font-stretch: normal;"><span style="color: red;"> </span> </span></span><span style="font-family: "Times New Roman",serif; font-size: 12pt; line-height: 107%;">Lengvos užduotys: </span><b><span style="background: white; font-family: Verdana, sans-serif; font-size: 9.5pt; line-height: 107%;"><a href="http://tinyurl.com/zhdmp33" target="_blank">http://tinyurl.com/zhdmp33</a></span></b></li>
<li><span style="font-family: Symbol; font-size: 12.0pt; line-height: 107%; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="color: #e69138; font-family: 'Times New Roman'; font-stretch: normal;">II variantas</span><span style="font-family: 'Times New Roman'; font-size: 7pt; font-stretch: normal;"> </span></span><span style="font-family: "Times New Roman",serif; font-size: 12pt; line-height: 107%;">Vidutinio sunkumo užduotys: </span><b><span style="background: white; font-family: Verdana, sans-serif; font-size: 9.5pt; line-height: 107%;"><a href="http://tinyurl.com/zwppejw" target="_blank">http://tinyurl.com/zwppejw</a></span></b></li>
<li><span style="font-family: Symbol; font-size: 12.0pt; line-height: 107%; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;"><span style="color: #274e13; font-family: 'Times New Roman'; font-stretch: normal;">III variantas</span><span style="font-family: 'Times New Roman'; font-size: 7pt; font-stretch: normal;"><span style="color: #274e13;"> </span> </span></span><span style="font-family: "Times New Roman",serif; font-size: 12pt; line-height: 107%;">Sunkios užduotys: </span><b style="background-color: white; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 12.8px;"><a href="http://tinyurl.com/hdd6kn9" target="_blank">http://tinyurl.com/hdd6kn9</a> </b></li>
</ul>
<!--[if !supportLists]--></div>
itpamokoshttp://www.blogger.com/profile/06289702319636407756noreply@blogger.com0tag:blogger.com,1999:blog-6043589285694196878.post-36167118394067782862015-11-17T04:02:00.002-08:002015-11-17T04:49:58.274-08:00Skaičiaus skaitmenų atskyrimo algoritmai<b>Dviženklis skaičius:</b><br />
S1 = S /10;<br />
S2 = S % 10;<br />
<b><i>Skaičiaus sudarymas iš skaitmenų:</i></b><br />
S = S1 * 10 + S2;<br />
<br />
<b>Triženklis skaičius: </b><br />
S1 = S /100;<br />
S2 = (S /10) % 10;<br />
S3 = S % 10;<br />
<b><i>Skaičiaus sudarymas iš skaitmenų:</i></b><br />
S = S1 * 100 + S2 * 10 + S3; <br />
<br />
<b>Keturženklis skaičius:</b><br />
<div>
S1 = S /1000;<br />
S2 = (S /100) % 10;<br />
S3 = (S /10) % 10;<br />
S4 = S % 10;<br />
<b><i>Skaičiaus sudarymas iš skaitmenų:</i></b><br />
S = S1 * 1000 + S2 * 100 + S3 * 10 + S4;<br />
<br />
<b>Penkiaženklis skaičius:</b></div>
<div>
S1 = S /10000;<br />
S2 = (S /1000) % 10;<br />
S3 = (S /100) % 10;<br />
S4 = (S /10) % 10;<br />
S5 = S % 10;<br />
<b><i>Skaičiaus sudarymas iš skaitmenų:</i></b><br />
S = S1 * 10000 + S2 * 1000 + S3 * 100 + S4 * 10 + S5;<b><br /></b>
<b>--------------------------------------</b><br />
<b>Pavyzdžiai:</b><br />
<b><br /></b>
<b>Užduotis 1:</b> Duotas keturženklis skaičius x. Parašykite algoritmą, kuris rastų skaičiaus x skaitmenų kvadratų sumą.<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><br /></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.6667px; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><b><i>Sprendimas:</i></b></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><br /></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">#include <iostream></span></div>
<span style="font-family: "arial"; font-size: 14.6667px; line-height: 1.38; white-space: pre-wrap;">using namespace std;</span><br />
<b style="font-weight: normal;"><br /></b>
<br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">int main()</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">{</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> int x, x1, x2, x3, x4, kvsum;</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> cout << "Iveskite keturzenkli skaiciu "; cin >> x;</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> x1 = x /1000; </span><span style="background-color: transparent; color: #666666; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> </span><span style="background-color: transparent; color: #6fa8dc; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">// skaitmenų atskyrimo algoritmas</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> x2 = (x /100) % 10;</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> x3 = (x /10) % 10;</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> x4 = x % 10;</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> </span><span style="font-family: "arial"; font-size: 14.6667px; line-height: 1.38; white-space: pre-wrap;">kvsum = x1*x1 + x2*x2 + x3*x3 + x4*x4; <span style="color: #666666;"> </span><span style="color: #6fa8dc;"> //rezultato - skaitmenų kvadratų sumos skaičiavimas</span></span></div>
<span style="font-family: "arial"; font-size: 14.6667px; line-height: 1.38; white-space: pre-wrap;"> cout << "Skaičiaus skaitmenų kv.suma yra: " << kvsum << endl; </span><span style="font-family: "arial"; font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;"><span style="color: #6fa8dc;">// rezultato išvedimas</span></span><br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> </span><span style="font-family: "arial"; font-size: 14.6667px; line-height: 1.38; white-space: pre-wrap;">return 0;</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="background-color: transparent; color: black; font-family: "arial"; font-size: 14.666666666666666px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">}</span></div>
___________________________<br />
<br />
<b>Užduotis 2:</b> Duotas keturženklis skaičius x. Parašykite algoritmą, kuris skaičių x užrašytų atvirkščiai. (pvz.: x - 1234, tai atvirkščias - 4321)<br />
<br />
<b><i>Sprendimas: </i></b><br />
<br />
<span style="font-family: "arial" , "helvetica" , sans-serif;">#include <iostream><br />using namespace std;<br /><br />int main()<br />{<br />int x, x1, x2, x3, x4, atvsk;<br />cout << "Įveskite 4-ženklį skaičių "; cin >> x;<br />x1 = x /1000; <span style="color: #f4cccc;"> </span><span style="font-family: "arial"; font-size: 14.6667px; line-height: 20.24px; white-space: pre-wrap;"><span style="color: #6fa8dc;">// skaitmenų atskyrimo algoritmas</span></span><br />x2 = x /100 % 10;<br />x3 = x /10 % 10;<br />x4 = x % 10;</span><span style="font-family: "arial" , "helvetica" , sans-serif;"><span id="docs-internal-guid-8be8c3a8-1551-e7b6-2c6c-a8a929bad6b8"></span></span><br />
<span style="font-family: "arial" , "helvetica" , sans-serif;">atvsk = (x4*1000)+(x3*100)+(x2*10)+x1; <span style="color: #6fa8dc;">// atvirkščio skaičiaus sudarymas</span><br />cout <<"Atvirkščias skaičius " << atvsk << endl; <span style="color: #6fa8dc;"> // atvirkščio skaičiaus išvedimas</span><br />return 0;<br />} </span><br />
<br />
Užduotis 3: Atlikti mokytojos pateiktas 3 užduotis. Main.cpp programos tekstus atsiųsti el. paštu.<br />
<br /></div>
itpamokoshttp://www.blogger.com/profile/06289702319636407756noreply@blogger.com0tag:blogger.com,1999:blog-6043589285694196878.post-48820942052169611872015-10-30T03:53:00.001-07:002015-10-30T03:53:20.295-07:00Stebuklingas kėlimas kvadratu "Magical Squaring"<iframe allowfullscreen="" frameborder="0" height="315" src="https://www.youtube.com/embed/_FoONg5Meyc?rel=0" width="560"></iframe>itpamokoshttp://www.blogger.com/profile/06289702319636407756noreply@blogger.com0tag:blogger.com,1999:blog-6043589285694196878.post-57786563290048170202015-10-30T03:34:00.003-07:002015-10-30T03:34:39.885-07:00"MatheMagic"<iframe allowfullscreen="" frameborder="0" height="315" src="https://www.youtube.com/embed/M4vqr3_ROIk?rel=0" width="420"></iframe>itpamokoshttp://www.blogger.com/profile/06289702319636407756noreply@blogger.com0tag:blogger.com,1999:blog-6043589285694196878.post-40305763864320441402015-10-30T03:33:00.003-07:002015-10-30T03:33:42.132-07:00Fibonačio skaičiai<iframe allowfullscreen="" frameborder="0" height="315" src="https://www.youtube.com/embed/SjSHVDfXHQ4?rel=0" width="560"></iframe>itpamokoshttp://www.blogger.com/profile/06289702319636407756noreply@blogger.com0