LibreOffice-Suite-Math/C3/Set-Operations-Factorials-Cross-reference-equations/English-timed
Visual Cues | Narration |
---|---|
Show Slide Number 1
Spoken tutorial on LibreOffice Math Learning Objectives
|
Welcome to the Spoken tutorial on LibreOffice Math.
In this tutorial, we will learn how to Write Set operations Write Factorials and Cross reference equations by numbering |
Open the MathExample1.odt (created in part 2) | For this, let us first open our example Writer document that we created in our previous tutorials: MathExample1.odt. |
Scroll to last page, go to the end.
Press Control - Enter to go to a new page Type “Set Operations: ” in Writer on this fresh page. Press enter twice. Click Insert > Object > Formula |
Here let us go to the end of the document and press Control Enter to go to a new page.
And type “Set Operations: ” and press the Enter key twice. Now let us call Math. |
Click Format menu > Font size. Increase size to 18 pt.
Click Format menu > Alignment, choose left option All pink coloured text goes into Formula Editor Window (FEW in short) In FEW, copy and paste: A ~=~ lbrace 1, 2, 3, 4, 5 rbrace newline B ~=~ lbrace 1, 2 rbrace newline C ~=~ lbrace 4, 5 rbrace newline D ~=~ lbrace 6, 7 rbrace newline newline |
Before we go ahead, let us increase the font size to 18 point.
Change the alignment to the left. Let us now learn how to write Set operations. Math has separate mark up to represent Sets, which are collections of distinct elements. Let us write 4 example sets in the Formula Editor window as shown on the screen: Set A with 5 elements Set B Set C And Set D equal to 6, and 7, with 2 elements each. |
Point mouse over the four sets in Writer gray box
In FEW, point mouse over above mark up. In FEW, press enter twice, copy and paste: B union C ~=~ lbrace 1, 2, 6, 4, 5 rbrace newline newline In FEW, point mouse over ‘Union’ word Point mouse over the last formula in Writer gray box In FEW, press enter twice, copy and paste: B intersection D ~=~ lbrace 6 rbrace newline newline Point mouse over the last formula in Writer gray box In FEW, press enter twice, copy and paste: C subset A newline newline Point mouse over the subset symbol in the last formula in Writer gray box In FEW, point mouse over the last line. If elements window not visible, click View >Elements. In the Elements window, click the third icon in the Elements window and slowly mouse over on the elements, to show tool tips. Click File > Save. |
Notice that to write the brackets for sets, we can use the mark up: lbrace and rbrace.
Now we can write set operations such as unions and intersections. First let us write a union operation. The mark up for B union C is the same as we read it; and the resulting set is 1, 2, 6, 4, and 5, which includes all the distinct elements in both the sets. The markup for an intersection operation is again the same as we read it. The intersection includes only the common elements from both the sets. So the result of B intersection D is 6. And we can also write: set C is a subset of set A, as every element in C is in set A. The mark up for this is C subset A. You can learn to write more set operations, by exploring the Elements window by clicking on the third icon there. Go to View> Elements> Set Operations. Let us save our work now. Click on File>Save. |
Click three times slowly outside right of Writer gray box. Now then click again.
Press Control -Enter Type: “Factorial Function: ” and press enter twice Type fn and press F3 Point mouse over E = mc squared in Writer gray box Point mouse over (1) on the right in Writer gray box Double click on E = mc squared in Writer gray box Click Format menu > Font size. Increase size to 18 pt. Click Format menu > Alignment, chooses left option |
Now let us write Factorial functions.
We will designate numbers 1 to 3 for the three formulae we are going to write shortly. These will help to cross reference them anywhere within the Writer document. Let us go to a new page by clicking three times slowly outside the Writer gray box. Press Control -Enter. Type “Factorial Function: ” and press enter twice. Now, we know how to call Math. But there is another way to bring up the Math object into the Writer. For this simply write ‘f n’ on the Writer document and press F3. We are now seeing a new Math object that says E is equal to m c squared; and along with that, the number one within parentheses, on the right. Meaning, we can cross reference this formula with the number 1 anywhere in this document; we will learn the details of how to do this later. For now, let us double click on the Math object And do the formatting. Font size 18 and Left Alignment. |
In FEW, overwrite existing formula. So press Control + A to select all, then copy and paste:
fact 5 = 5 times 4 times 3 times 2 times 1 = 120 In FEW, point mouse over ‘fact’ word in the last line Click outside this Writer gray box three times slowly Press the down arrow key two or three times to go to the end of this page. Type ‘fn’ and press F3 Double click on E = mc squared in Writer gray box Click Format menu > Font size. Increase size to 18 pt. Click Format menu > Alignment, chooses left option In FEW, overwrite existing formula. So press Control - A to select all, then copy and paste: fact n ~=~ prod from k = 1 to n k newline In FEW, point mouse over ‘prod’ word in the last line Click outside this second Writer gray box three times slowly Press the down arrow key two or three times to go to the end of this page. Type ‘fn’ and press F3 Double click on E = mc squared in Writer gray box Click Format menu > Font size. Increase size to 18 pt. Click Format menu > Alignment, chooses left option In FEW, overwrite existing formula. So press Control + A to select all, then copy and paste: fact n ~=~ left lbrace binom{1 ~ "if n = 0"}{fact(n-1) `times` n ~ " if n > 0 "} right none newline newline Point mouse over this formula in Writer gray box In FEW, point mouse over ‘binom’ word in the last line |
Okay, let us now write an example for Factorial.
The mark up ‘fact’ represents the factorial symbol. So let us overwrite the existing formula with ours: 5 Factorial = 5 into 4 into 3 into 2 into 1 = 120. Notice the mark up here. Let us write our next formula in a new Math object here. For this, let us first click outside this Writer gray box three times slowly. Press the down arrow key two or three times to go to the end of this page. And type ‘f n’ and press F3 to bring up the second Math object. Again, we will repeat the formatting and overwrite the existing formula with the factorial definition: N factorial is equal to prod from k = 1 to n of k. Notice the mark up ‘prod’ which denotes product, similar to sigma for summation. Now, let us introduce a third Math object just like the first two and rewrite the factorial definition as two conditional formulae as shown on the screen. Notice the mark up ‘binom’, which displays a vertical stack of two elements and helps with better alignment. |
Click three times outside Writer gray box, press Control + Enter
Type: An example of factorial is provided here: Click Insert menu > Cross reference In the popup, click on Text in the Type list Click on first item in the Selection list on the right Click Reference in the ‘Insert reference to’ list , click on Insert once and click on close Point mouse over (1). Click on (1). Point mouse over the formula numbered 1. Click File > Save |
Let us now see how we can cross reference these formulae.
For this, let us go to a new page and type: An example of factorial is provided here: Now let us click on the Insert menu, and on Cross reference. In the new popup, let us select “Text” in the Type list. Then choose the first item in the Selection list denoting the first factorial formula we wrote. Now choose Reference in the ‘Insert reference to’ list and click on Insert once and close. So the number one in parentheses has appeared next to our text. And we are done. Let us test it by simply clicking on this number; And notice that the cursor has jumped to the location where we wrote the first formula. So this is how we can cross reference Math formulae anywhere within the Writer document. Let us save our work. |
Show Slide Number 2
References for Math: Guide: |
Here are some reference links for Math:
Download guides at libreoffice.org documentation link. You can also visit help.libreoffice.org/Math for more information on Math |
Show Slide Number 3
Math mark up assignment: 1. Using the example Sets in this tutorial: check if A union ( B union C) is equal to (A union B) union C 2. Write the results of subtraction of set B from set A 3. Cross reference the second and third factorial formulae in the example document in the Writer document |
And finally, here is an assignment for you. Use the Writer document.
1. Using the example Sets in this tutorial: check if A union ( B union C) is equal to (A union B) union C 2. Write the results of A minus B 3. And cross reference the second and third factorial formulae in the Writer document |
Show Slide Number 3
Summary:
|
This brings us to the end of this tutorial on Sets, Factorials and Cross Referencing in LibreOffice Math.
To summarize, we learned how to: Write Set operations Write Factorials and Cross reference equations by numbering |
Acknowledgement Slide | Spoken Tutorial Project is a part of the Talk to a Teacher project, supported by the National Mission on Education through ICT, MHRD, Government of India.
This project is co-ordinated by http://spoken-tutorial.org. More information on the same is available at the following link http://spoken-tutorial.org/NMEICT-Intro. This script has been contributed by Priya Suresh, Desicrew Solutions, and this is (the name of the narrator and affiliation and place) signing off. Thanks for joining. |
Contributors and Content Editors
Jyotisolanki, Krupali, Minal, PoojaMoolya, Pratik kamble, Ranjana, Sandhya.np14, Sneha