Hi guys. Welcome to Sipnayan.
In this video, we continue our series on Latex tutorials.
In the previous five videos
we have learned how to code exponent or superscript,
subscript, fraction, and radicals.
We will combined all of these
to code these formulas.
These are more complicated than the formulas
we coded before but this is for practice.
Okay, for the distance formula, we have
radical sign, exponents, and subscripts.
So let's type the distance formula.
Let's put "\\" for vertical space.
We have "d =" and then "\sqrt."
And inside the curly brackets we have...
We have learned all of these.
Recall that the code for subscript is "_"
and then whatever subscript you write.
And for exponent, we have "^" and then the exponent.
Lastly, the code for square root is "\sqrt".
The texts inside the curly brackets are the texts
inside the square root sign.
Let's save the code and run it.
Okay. So that's our formula.
And in the quadratic formula, there's a fraction.
Let's look at it again in case you didn't memorize.
So "x =" and then we have a fraction
so we will use the "\frac" command.
And
let's see.
The text inside the first pair of curly brackets
that's our numerator.
The code of plus-minus is "\pm."
The first pair of curly brackets,
what's inside is the numerator.
The second pair is the denominator.
Inside the first pair, we also have
another pair of curly brackets
and they are for the "sqrt."
So be careful with the pairing.
Right?
So let's save and there it is.
This is correct. But why is it small?
In typing documents,
if you have the quadratic formula in a sentence
the text is squeezed [to save space].
But we can make this bigger by adding
" \displaystyle" before the "\frac."
See, it's now larger.
Alright.So...
The new codes we learned here is
"\displaystyle" and  "\pm."
And lastly, we have the cofunction formula.
Let's capitalize f for uniformity.
Remember the formula?
In case you can't remember...
Pi halves is a fraction, so we use "\frac."
Depends if British or American [English].
Right?
Okay!
Oh, it's reversed. Anyway, it doesn't matter.
Sine should be on the left hand side.
But I think this formula is also correct.
If you want, we can enlarge the text in this fraction.
We enlarge this by typing "\displaystyle."
Notice that sin, cos, and theta, have "\" before them.
So they are not italicized.
Let's check.
If you notice,
the parentheses are small.
This means that we edit the parentheses.
Instead of parentheses only,
this one and this one,
let's put "\left"
and then we leave the "(" as is
and here we have "\right" and leave the ")" as is.
That enlarges the parentheses.
That's "\left" and then "("
and then  "\right" and then ")."
I don't know if the plural "backslashes" is correct. :D
That's for the vertical distance.
I think we have written the formulas correctly.
Study the other complicated formulas because
I can't teach all of them in this series.
I think we'll have more videos here in Part 1.
The goal of Part 1 in this series
is just to teach you the basic math expressions
that we usually use in textbooks.
In the next videos, we will learn to code expressions
Calculus such as limits, etc.
and we also learn to code matrices, etc.
but of course, I can't teach all the codes here.
We will proceed to the second part of this series
which is on how to create Latex documents.
Here, in the first part, we just learned to code formulas
Alright, that's it.
Don't forget to subscribe to our channel.
Share our videos with your friends
so we can all learn Latex.
