Scilab/C4/Linear-equations-Gaussian-Methods/Khasi

From Script | Spoken-Tutorial
Jump to: navigation, search
Time Narration
00:01 Paralok, ngi pdiangsngewbha ia phi sha ka Spoken Tutorial halor ka Solving System of Linear Equations using Gauss Elimination and Gauss-Jordan Methods.
00:12 Ha kaba kut jong kane ka jinghikai, phin sa nang kumno ban:
00:15 Solve ia ki system jong ki linear equations da kaba pyndonkam ia ka Scilab
00:20 Develop Scilab code ban solve linear equations.
00:25 Ban record ia kane ka jinghikai, nga pyndonkam da ka
00:27 Ubuntu 12.04 kum ka operating system
00:31 Ryngkat bad ka Scilab 5.3.3 version.
00:36 Ban pyrshang ia kane ka jinghikai, u nongpule udei ban don ia ki jingtip ba donkam jong ka Scilab
00:40 Bad dei ban tip kumno ban solve Linear Equations.
00:45 Ban pule ia ka Scilab, sngewbha leit sha ki jinghikai ba iadei ba don ha ka Spoken Tutorial website.
00:52 Ka system jong ki linear equations kadei ka
00:55 Jinglum ryntih jong ki linear equations jong kajuh ka set jong ki variables.
01:00 To ngin pule ia ka Gauss elimination method.
01:04 La ai ia ki system jong ki equations
01:06 A x equal to b
01:08 Ryngkat bad m equations bad
01:10 n unknowns.
01:12 Ngi thoh ia ki coefficients jong ki variables a one shaduh a n
01:16 Ryngkat bad ki constants b one shaduh b n jong ki system of equations
01:22 I ha kawei ka matrix la khot ka augmented matrix.
01:27 Kumno ngi convert ia ka augmented matrix sha ka upper triangular form matrix?
01:33 Ngi leh ia ka da kaba leh ia ka row wise manipulation jong ka matrix.
01:40 To ngin solve ia kane ka system jong ki equations da kaba pyndonkam ia ka Gaussian elimination method.
01:45 Shwa ban solve ia ka system, to ngin iaid lyngba jong u code na ka bynta ka Gaussian elimination method.
01:52 Ka lain banyngkong jong u code kadei ka format e comma twenty.
01:58 Kane ka define katno tylli ki digits dei ban pyni ha ka jubab.
02:04 U dak 'e' hapoh single quotes u thew ba ia ka jubab dei ban pyni ha ka scientific notation.
02:12 The number twenty is the number of digits that should be displayed.

U number twenty udei u number jong ki digits ba hap ban pyni.

02:17 Ka command funcprot la ju pyndonkam ban ailad ia ka Scilab ban tip kaei dei ban leh haba ia ki variables la define biang.
02:26 U argument zero u batai ba ka Scilab kam donkam ban leh eiei lada ia ki variables la define biang.
02:33 Kiwei ki arguments la pyndonkam ban ai ia ki jingmaham lane ki errors lada ia ki variables la define biang.
02:40 Nangta ngi pyndonkam ia ka input function.
02:43 Kan pyni ia ka message sha u user bad pynioh ia ki values jong A bad b matrices.
02:51 Ka message ka dei ban don hapdeng ki double quotes.
02:55 Ki matrices kiba u user u pyndap, yn sa buh ha ki variables A bad b.
03:02 Hangne A udei u coefficient matrix bad b kadei ka matrix liang kamon lane ki constants matrix.
03:11 Nangta define ia ka function naive gaussian elimination.
03:15 Bad ngi ong ba A bad b kidei ki arguments jong ka function naive gaussian elimination.
03:22 Ngi buh ia ka output ha u variable x.
03:27 Nangta ngi wad ia ka size jong ki matrices A bad b da kaba pyndonkam ia ka size command.
03:34 Namar ba kidei ki artylli ki dimensional matrices , ngi pyndonkam n bad n one ban buh ia ka size jong ka matrix A.
03:42 Ha kajuh ka rukom ngi lah ban pyndonkam m one bad p na ka bynta ka matrix b.
03:48 Nangta ngi hap ban pynshai lada ki matrices kidei compatible iwei bad iwei pat bad
03:53 Lada A kadei ka square matrix.
03:57 Lada n bad n one kim iaryngkat nangta ngi pyni ia ka message ba Matrix A must be square.
04:05 Lada n bad m one kim iaryngkat , ngi pyni ia ka message
04:10 incompatible dimension of A and b.
04:15 Lada ki matrices ki long compatible, ngi buh ia ki matrices A bad b ha kawei ka matrix, C.
04:23 Kane ka matrix C la khot ka augmented matrix.
04:28 Ka block jong u code kaba bud ka leh ia ka forward elimination.
04:32 Une u code u pynkylla ia ka augmented matrix to upper triangular matrix form.
04:39 Khatduh eh , ngi leh ia ka back substitution.
04:42 Shisien ba ka upper triangular matrix la ioh, ngi shim ia ka row ba khatduh bad wad ia u value jong ka varible ha kata ka row.
04:52 Nangta shisien ba uwei u variable la solve, ngi shim ia une u variable ban solve ia kiwei pat ki variables.
04:59 Kumta ka system jong ki linear equations la solve.
05:03 To ngin save bad execute ia ka file.
05:06 Phai sha ka Scilab console ban solve ia ka nuksa.
05:10 Ha ka console, ngi don ia u prompt ban pyndap ia u value jong u coefficient matrix.
05:17 Te ngi pyndap ia ki values jong ka matrix A.
05:20 Type: square bracket three point four one space one point two three space minus one point zero nine semi colon
05:33 two point seven one space two point one four space one point two nine semi colon
05:41 one point eight nine space minus one point nine one space minus one point eight nine close square bracket.
05:53 Nion Enter. U prompt ba bud udei na ka bynta ka matrix b.
05:57 Te ngi type open square bracket four point seven two semi colon three point one semi colon two point nine one close square bracket.
06:10 Nion Enter.
06:13 Nangta ngi call ia ka function da kaba type
06:16 naive gaussian elimination open parenthesis A comma b close parenthesis
06:24 Nion Enter.
06:26 Ka solution sha ka system jong ki linear equations la pyni ha ka Scilab console.
06:32 Kaba bud ngin sa pule ia ka Gauss-Jordan method.
06:36 Ha ka Gauss–Jordan Method,
06:38 Ka kyrdan ba nyngkong kadei ban pynlong ia ka augmented matrix.
06:42 Ban leh ia kane, buh ia u coefficient jong matrix A bad ka liang kamon matrix b hajuh ha kawei ka matrix.
06:50 Nangta ngi leh ia ki row operations ban pynkylla ia ka matrix A sha ka diagonal form.
06:56 Ha ka diagonal form, tang ki elements a i i kidei non-zero. Kiwei pat ki elements basah kidei zero.
07:05 Nangta ngi phiah ia u diagonal element bad u element ba iadei jong u element ka liang kamon , da u diagonal element.
07:14 Ngi leh ia kane ban ioh diagonal element ba iaryngkat bad one.
07:19 U resulting value jong ki elements jong man kawei ka row jong ka matrix liang kamon u ai ia u value jong man uwei u variable.
07:27 To ngin solve ia kane ka nuksa da kaba pyndonkam ia ka Gauss-Jordan Method.
07:33 To ngin peit nyngkong ha u code.
07:36 Ka lain banyngkong jong u code ka pyndonkam ia ka format function ban batai ia ka format jong ki jubab ba la pyni.
07:44 U parameter e u batai ba ka jubab kadei ban don ha ka scientific notation.
07:49 Twenty (20) u thew ba tang twenty digits dei ban pyni.
07:55 Nangta ngi ioh A bad b matrix da kaba pyndonkam ia ka input function.
08:00 Ngi define ia ka function Gauss Jordan Elimination ryngkat bad ki input parameters A bad b bad u output argument .
08:11 Ngi ioh ia ka size jong ka matrix A bad buh ia ka ha m bad n.
08:17 Ha kajuh ka rukom, ngi ioh ia ka size jong ka matrix b bad buh ia ka ha r bad s.
08:23 Lada ki size jong A bad b kim iabiang, ngi pyni ia ka error ha ka console da kaba pyndonkam ia ka error function.
08:33 Nangta ngi leh ia ki row operations ban ioh ia ka diagonal form jong ka matrix.
08:38 Hangne pivot ka thew sha u non-zero element ba nyngkong jong ka column.
08:45 Nangta ngi shna ia ka matrix jong ki zeros ba la khot xryngkat m rows bad s columns.
08:52 Shisien ba ngi la don ia ka diagonal form,
08:54 Ngi divide ia ka liang kamon jong ka augmented matrix da ka diagonal element ba iadei ban ioh ia u value jong man uwei u variable.
09:04 Ngi buh ia u value jong man uwei u variable ha x.
09:08 Nangta ngi return ia u value jong u x.
09:11 Khatduh eh ngi end ia ka function.
09:13 Mynta to ngin save bad execute ia ka function.
09:18 U prompt u donkam na ngi ban pyndap ia u value jong ka matrix A.
09:22 Te ngi type open square bracket zero point seven comma one seven two five semi colon
09:31 zero point four three five two comma minus five point four three three close square bracket.
09:41 Nion Enter.
09:43 Ka prompt kaba bud kadei na ka bynta vector b.
09:45 Te ngi type open square bracket one seven three nine semi colon
09:51 three point two seven one close square bracket.
09:55 Nion Enter.
09:58 Nangta ngi call ia ka function da kaba type
10:01 Gauss Jordan Elimination open parenthesis A comma b close parenthesis
10:08 Nion Enter.
10:10 Ki values jong x one bad x two la pyni ha ka console.
10:15 To ngin batai kyllum.
10:18 Ha kane ka jinghikai, ngi la dep pule ban
10:21 Develop Scilab code na ka bynta ban solve ia ka system jong ki linear equations.
10:25 Wad ia u value jong ki unknown variables jong ka system jong ki linear equations.
10:32 Peit ia ka video ba don ha ka link ba la pyni harum.
10:35 Ka kyllum lang ia ka Spoken Tutorial project.
10:38 Lada phim don ia ka bandwidth babiang, phi lah ban shu download bad peit ia ka.
10:43 Ka kynhun jong ka Spoken tutorial project
10:45 Ka pynlong ia ki workshops da kaba pyndonkam da ki spoken tutorials.
10:48 Ka ai certificates sha kito kiba pass bha ha ka online test.
10:52 Na ka bynta kham bun ki jingtip, sngewbha thoh sha ka contact@spoken-tutorial.org.
10:59 Spoken Tutorial Project kadei shibynta jong ka Talk to a Teacher project.
11:03 La kyrshan ia ka da ka National Mission on Eduction lyngba ka ICT, MHRD, Government of India.
11:10 Kham bun ki jingtip halor kane ka mission kidon ha http://spoken-tutorial.org/NMEICT-Intro.
11:21 Nga i Meboreen na Shillong , nga pynkut ia kane.
11:23 Khublei Shibun ia ka jingsnohkti lang jong phi.

Contributors and Content Editors

Meboreen Mary