Difference between revisions of "LibreOffice-Suite-Math-6.3/C2/Matrices-and-Aligning-equations/English"
(2 intermediate revisions by 2 users not shown) | |||
Line 63: | Line 63: | ||
− | Press '''Ctrl '''and '''Enter | + | Press '''Ctrl '''and '''Enter''' keys to go to a new page. |
|- | |- | ||
||Type '''Matrices and Aligning Equations''' | ||Type '''Matrices and Aligning Equations''' | ||
||On the new page, type '''Matrices and Aligning Equations'''. | ||On the new page, type '''Matrices and Aligning Equations'''. | ||
− | |||
|- | |- | ||
Line 98: | Line 97: | ||
− | || | + | || Now let us now see what a''' matrix''' is? |
'''Matrix ''' is a rectangular '''array '''of numbers or symbols, called '''elements'''. | '''Matrix ''' is a rectangular '''array '''of numbers or symbols, called '''elements'''. | ||
Line 120: | Line 119: | ||
'''A ~=~ ( matrix {a # b # c ## d # e# f } ) newline newline''' | '''A ~=~ ( matrix {a # b # c ## d # e# f } ) newline newline''' | ||
|| This is a '''matrix markup''' for a''' 2 by 3 matrix'''. | || This is a '''matrix markup''' for a''' 2 by 3 matrix'''. | ||
+ | |||
+ | |||
+ | This '''matrix '''has''' 2 rows''' and '''3 columns.''' | ||
|- | |- | ||
|| '''Highlight in Formula Editor'''. | || '''Highlight in Formula Editor'''. | ||
Line 136: | Line 138: | ||
Point mouse over '''( '''and ''') ''' in '''Writer ''' gray box | Point mouse over '''( '''and ''') ''' in '''Writer ''' gray box | ||
− | || | + | ||We have used the '''matrix markup'''. |
− | + | ||
− | + | ||
− | We have used the '''matrix markup'''. | + | |
We have included its '''elements''' in curly brackets. | We have included its '''elements''' in curly brackets. | ||
Line 409: | Line 408: | ||
Here, '''2x''', '''y''', '''plus''' sign and '''equal to''' are different parts of the equation. | Here, '''2x''', '''y''', '''plus''' sign and '''equal to''' are different parts of the equation. | ||
+ | |||
+ | |- | ||
+ | ||Press '''Enter''' | ||
+ | || Press '''Enter''' key. | ||
|- | |- | ||
|| In '''Formula Editor''' Window, Press Enter, twice, copy and paste: | || In '''Formula Editor''' Window, Press Enter, twice, copy and paste: | ||
Line 423: | Line 426: | ||
Point mouse over '''<nowiki>## </nowiki>''' symbol | Point mouse over '''<nowiki>## </nowiki>''' symbol | ||
− | + | ||This is a new set of '''matrix markup'''. | |
− | + | ||
− | || | + | |
− | + | ||
− | + | ||
− | This is a new set of '''matrix markup'''. | + | |
Line 440: | Line 438: | ||
||In the '''Writer''' gray box | ||In the '''Writer''' gray box | ||
||This is a perfectly '''aligned ''' set of equations. | ||This is a perfectly '''aligned ''' set of equations. | ||
+ | |- | ||
+ | || | ||
+ | || Let us write another set of equations. | ||
+ | |||
|- | |- | ||
|| In '''Formula Editor''' Window,, press '''Enter''' twice, copy and paste: | || In '''Formula Editor''' Window,, press '''Enter''' twice, copy and paste: | ||
Line 452: | Line 454: | ||
Point mouse over last formula in the '''Writer '''gray box | Point mouse over last formula in the '''Writer '''gray box | ||
− | || | + | ||Notice the equations on the screen. |
− | + | ||
− | + | ||
− | Notice the equations on the screen. | + | |
− | Note that LHS ad RHS do not | + | Note that LHS ad RHS do not show equal number of parts. |
Latest revision as of 12:58, 8 September 2022
Title: Matrices and Aligning Equations
Keywords: Libreoffice Math, Libreoffice Writer, Matrices, equations, align, format, addition, equations, multiplication, spoken tutorial, video tutorial.
Visual Cue | Narration |
Slide:Title Slide | Welcome to this spoken tutorial on Matrices and Aligning Equations. |
Slide:
Learning Objectives |
In this tutorial, we will learn how to:
|
Slide:
System Requirements |
This tutorial is recorded using:
|
Slide:
Prerequisites https:\\spoken-tutorial.org |
To follow this tutorial, learner should be familiar with Math interface.
|
Slide:
Code Files |
|
Open the MathExample1.odt | Let us first open the MathExample1.odt file. |
Pause in each page for a few seconds.
Scroll to the next page and repeat.
|
Notice all the previous example formulae which we had written using Math.
|
Type Matrices and Aligning Equations | On the new page, type Matrices and Aligning Equations. |
Insert menu >> select Object.
From the submenu >> select Formula option.
|
Now let us call the Math application inside Writer.
From the sub-menu, select Formula option. |
Click on Format >> Select Font size.
In the Font sizes dialog box change the Base Size to 18 pt. Click OK button Click on Format >> Select Alignment >> Click Left option. Click OK button |
Let us change the font size to 18 point and alignment to Left. |
Slide:
Matrix
|
Now let us now see what a matrix is?
Matrix is a rectangular array of numbers or symbols, called elements.
|
Show the text editor with examples. | I have written a few examples of matrices in a text editor.
I will copy and paste them to save time. |
Highlight in Formula Editor.
"Example of a 2x3 Matrix:" newline newline A ~=~ ( matrix {a # b # c ## d # e# f } ) newline newline |
This is a matrix markup for a 2 by 3 matrix.
|
Highlight in Formula Editor.
Point mouse over matrix word.
|
We have used the matrix markup.
We have included its elements in curly brackets.
|
Point to the Parentheses.
Point to the elements.
|
Notice that the parentheses are short.
They do not enclose all the elements of the matrix.
|
Point to the elements and parentheses.
Type Left just before ( character and Right before ) character in the formula |
To make the parentheses scalable, we will use Left and Right keywords.
Type Right before closing the parenthesis. |
Point to the Writer gray box | Notice that parentheses have now enclosed all the elements. |
Highlight in Formula Editor.
"Example of 4x1 Matrix: " newline newline B ~=~ Left ( matrix {1##2##3##4} Right ) newline newline
|
Next we will see another example matrix.
|
Point to the Writer gray box | Notice that parentheses have enclosed all the elements. |
Change () to [ ]
B ~=~ Left [ matrix {1##2##3##4} Right ] newline newline
|
Here we can also use square brackets instead of parentheses.
|
Highlight in Formula editor.
|
Let us now write an example for matrix addition.
|
Copy and paste:
"Example of 2x3 Matrix Addition:" newline newline Left( matrix {a # b # c ## d # e# f } Right) Left( matrix {%alpha # %beta # %gamma ## %theta # %eta # %mu } Right) |
Let us write two 2 by 3 matrices one beside the other as shown on the screen.
|
Click in between the gap of these two matrices.
Type ~+~ in between these two matrices
|
Next, let us add a plus sign in between the two matrices to denote addition.
|
Type ~=~ at the end of the last line. | Next let us add an ‘equal to’ symbol at the end with a blank format. |
Copy and paste at the end:
Left( matrix {a+%alpha # b+%beta # c+%gamma ## d+%theta # e+%eta # f+%mu } Right) newline newline
|
The third matrix on the right denotes the addition.
|
Click Save icon on Standard toolbar. | Let us now save the file. |
Copy and paste:
"Example of Matrix Multiplication with a number: " newline newline 4 times Left( matrix {%alpha # %beta # %gamma ## %theta # %eta # %mu } Right) |
Next, let us see an example of multiplying a matrix with a number.
|
Type ~=~ at the end. | Let us write the ‘equal to’ symbol at the end with a blank space. |
Copy and paste at the end:
Left( matrix {4%alpha # 4%beta # 4%gamma ## 4%theta # 4%eta # 4%mu } Right) newline newline newline
|
This is the markup for the matrix product.
|
Click on Format, and point on the sub menu slowly one by one. | Now, we will format the matrices.
|
Click on the Spacing option.
Line Spacing field 3% Column spacing field 30%
|
Let us choose the Spacing option.
Spacing dialog box opens. |
Click on the Category drop down at the bottom, and choose Matrices
Change Line spacing to 20%, Column spacing to 40%
|
In the Category drop down, let us choose Matrices.
|
Point in the Writer gray box | Notice that the matrices and their elements are properly spaced. |
Slide:
Assignment |
Pause the video and do this assignment.
|
Only narration | Now, we will use matrices to write simultaneous equations and align them. |
Press Ctrl and Enter keys. | Press Ctrl and Enter keys to go to a new page. |
Insert menu >> select Object.
From the submenu >> select Formula option.
|
Let us open the Math application.
From the submenu, select Formula. |
Click on Format >> Select Font size.
In the Font sizes dialog box change the Base Size to 18 pt. Click OK button |
Let us change the font size to 18 point. |
In Formula Editor Window, press Enter, key twice,
Copy and paste: "Simultaneous Equations: " newline newline 2x+y = 8 newline x+y=6 newline newline |
Let us now write a set of Simultaneous equations as shown on the screen.
|
Point mouse over the last formula Write Gray box
|
Notice that they are not aligned at the plus sign and equal to character.
|
Press Enter | Press Enter key. |
In Formula Editor Window, Press Enter, twice, copy and paste:
matrix { 2x # {}+{} # y # {}={} # 8 ## x # {}+{} # y # {}={} # 6 }
|
This is a new set of matrix markup.
Also note that a hash symbol is used to separate each element of this equation.
|
In the Writer gray box | This is a perfectly aligned set of equations. |
Let us write another set of equations. | |
In Formula Editor Window,, press Enter twice, copy and paste:
newline newline x+y=2 newline x=2-y newline newline
|
Notice the equations on the screen.
|
In Formula editor window, press Enter, twice, copy and paste:
matrix{ alignr x+y # {}={} # alignl 2 ## alignr x # {}={} # alignl 2-y }
|
Let us write the matrix markup to align them.
|
Point to the equatios. | Here we have used alignr and alignl to align the parts.
|
Ctrl + S | Let us now save the changes. |
Narration only: | With this we come to the end of this tutorial.
|
Slide:
Summary |
In this tutorial we have learnt how to:
|
Slide:
Assignment |
Here is an assignment for you:
|
Slide:
About Spoken Tutorial Project |
|
Slide:
Spoken tutorial workshops |
|
Slide:
Answers for THIS Spoken Tutorial |
Please post your Timed queries in this forum. |
Slide:
Acknowledgement |
The Spoken Tutorial project is funded by the Ministry of Education, Govt. of India. |
Slide: Thank you
Acknowledgement to DesiCrew |
This tutorial was originally contributed by DesiCrew Solutions Pvt. Ltd. in 2011
This is Madhuri Ganapathi along with the Spoken Tutorial team from IIT Bombay. Thank you for watching. |