Scilab/C2/Iteration/Khasi

From Script | Spoken-Tutorial
Revision as of 16:57, 26 July 2017 by Pdiangburom (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Time Narration
00:01 Ngi pdiangsngewbha ia phi sha ka spoken tutorial halor ka iterative calculations da kaba pyndonkam ia ka Scilab.
00:07 Nga pyndonkam da ka Scilab version 5.2 ha ka Mac operating system
00:11 Tangba kine ki jingkhein kidei ban treikam ha kiwei ki versions bad kumjuh ruh ha ka Scilab kaba run ha ka Linux bad Windows.
00:17 Ngan pyndonkam ia u code ba don ha ka file 'iteration.sce'.
00:22 Nga la plie ia kane ka file da kaba pyndonkam ia ka Scilab editor kaba nga la thmu ban pyndonkam tang kum ka editor.
00:29 To ngin create ia u vector da kaba pyndonkam ia u colon operator. 'i' is equal to 1 colon 5,
00:38 Un create ia uwei u vector naduh 1 haduh 5 , ha ka jingpynkiew da 1.
00:42 Ha kane ka command, 'i' is equal to 1 colon 2 colon 5.
00:51 Ngi iohi ba u middle argument jong 2 u kdew ia u jingkiew.
00:56 1 udei u argument banyngkong ha kaba u vector u sdang. ‘i’ um lah ban iaid palat ia u 5.
01:01 U lah ban iaryngkat bad 5, tangba
01:04 Phin iohi ba lada u argument ba kut u kylla sha 6 ka result ka neh kumjuh hi.
01:09 Kam dei kaba eh ban batai ia kane ka jinglong.
01:13 Hato phi lah ban pyrkhat shipor balei kane ka jia?
01:15 Ngin batai mynta ia ka jingdonkam jong ka for statement ban leh iterative calculations.
01:22 for i is equal to 1 colon 2 colon 7 disp i end jong ka for loop.
01:28 Ngan cut ia kane, paste ha ka scilab console , shon “Enter”
01:34 Une u code un print out ‘i’ katba ngi dang iaid lyngba ha ka loop
01:37 Ka display kadei na ka daw jong ka command “disp” – u passed “argument” lah pyni.
01:42 Kynmaw ba ka for loop la ju pyndonkam na ka bynta ki integer values.
01:45 Ha kane ka bynta, saw tylli ki integer values , kita ,1, 3, 5 and 7 lah pyni.
01:50 Katta sien ba ki iterations ki iaid la khot ia ka kum ka priori ha ka for loops.
01:56 Ha kiwei pat ki bynta jong kane ka jinghikai, ngin bud beit ia u default argument 1.
02:01 To ngin sdang da ka loop kaba pyni 'i' equal to 1 to 5.
02:10 Ngin pynpher ia une u code da ka lamphrang sha ka break statement.
02:18 Phi iohi ba u i’’ la pyni tang haduh 2.
02:22 Ka iteration kam iaid shaduh u value ba khatduh jong u i, kata 5.
02:27 Ha ka por ba u i u iaryngkat bad 2, ka ‘if’ la execute ha ka sien ba nyngkong.
02:30 Ka “break” command pat, ka pynkut ia ka loop.
02:34 Lada ngi kwah ban mih noh shabar ka loop haba ynda katto katne ki kyndon ki iahap, ngi lah ban pyndonkam ia ka “break” statement.
02:40 Phi iohi ba ka statement "i is equal to 2"ka pyndonkam ia u "equal to" sign arsien.
02:45 Kane kadei ka rukom ba biang eh ban ianujor ia ka jingiaryngkat ha ki programming languages.
02:50 Ka result jong kane ka comparison statement kadei ka Boolean: true or false.
02:56 Ngin pynithuh ia ka “continue ” statement hangne, paste , shon “Enter”
03:06 Kane kan pynmih ia u ‘i’ uba la display tang na bynta 4 bad 5.
03:10 Na ka bynta 'i' less than or equal to 3, kumba la ai da ka ‘i’ less than or equal to 3 statement, ka khlem jia eiei.
03:18 Ka continue statement ka pynlong ia ka program ban skip lane ieh noh ia kaba sah ha ka loop.
03:22 Ym kum ka “break” statement, kam ju mih noh shabar na ka loop
03:25 U parameter ‘i’ la pynkiew bad baroh ki jingkhein jong ka loop la execute na ka bynta u i ba thymmai.
03:32 Ngi sangeh shiphang ban pyni kumno ban ioh jingiarap na ka bynta ki operators jong ka jait 'less than or equal to' (<=).
03:38 To ngin type 'less than or equal to with help'.
03:46 Kane ka plie ia ka Scilab “Help Browser”
03:51 Ngi iohi ba u help u don hapoh ka opshon “less”
03:56 Te mynta hadien ba la khang ia kane, ngi type “help less”
04:06 Ngi iohi ia ki “help” instructions ba donkam hangne. Ngan khang noh ia kane.
04:11 Ka “for” statement ha Scilab ka kham khlain bor ban ha kiwei pat ki programming languages.
04:16 Kum ka nuksa, to ngin pyntreikam ia ka “loop” halor jong u vector:
04:24 Kane ka script kan pyni ia baroh ki values jong ‘v’
04:28 Haduh mynta ngi la pyni tang ia ki variables.
04:32 Ngi lah ban pyni ia ka result jong ka jingkhein ruh kumjuh.
04:35 U code ba harum u pyni ia ka square jong ki numbers.
04:44 Ngi la dep pynlut bun por bha ha kaban batai ia ka “for loop”
04:48 To ngin mynta ngin iaid noh sha ki while loops.
04:50 Ka while statement ka ailad ban pyntreikam ia ka loop haba ka Boolean expression kadei true.
04:55 Ha kaba sdang jong ka loop, lada ka expression kadei true,
04:58 Ki statements ha ka body jong ka while loop kin execute.
05:02 Lada ia ka program la thoh bha, ka expression kan long false bad ka loop ka kut noh.
05:08 Mynta to ngin peit ia ka nuksa na ka bynta ka while loop:
05:15 Ki values jong u 'i', naduh 1 haduh 6 la pyni.
05:19 Break bad continue statements hapoh jong ka while loop ki treikam thik kumjuh kumba ki treikam ha ka for loop kumba ngi la batai da kaba pyndonkam break:
05:33 Ngi iohi ba ka khyllipmat ba u ‘i’ u iaryngkat bad 3, ka program kan mih noh na ka “loop”, ka jingsngewnguh ia ka break statement.
05:39 Phi lah ruh ban pyrshang ia ka nuksa na ka bynta ka continue statement ha ka while loop.
05:44 Bad da kane ngi la poi sha kaba kut jong kane ka jinghikai halor ka iterative calculations da kaba pyndonkam ia ka Scilab.
05:50 Spoken tutorials kidei shi bynta jong ka Talk To a Teacher project, ba la kyrshan da ka National Mission on Education lyngba ka ICT.
05:57 Kham bun ki jingtip halor kine kidon ha ka link ba la ai harum [1].
06:00 Nga i Meboreen na Shillong nga pynkut ia kane. Khublei shibun .

Contributors and Content Editors

Pdiangburom