In this letter I will describe that how to find the chief returns and how to find that integration of
our function.
So let me start.
How to find the derivatives and what are the following that on Main used for derivatives and integrations
in Matlab.
So you will just type seems OK right over here.
Sims and
Sims X then you write the function just like clean writing or here f is equal to in line and inside
the parenthesis so you will write the function.
Okay.
Yes you will go to the function that I am writing the function or here it is X X clear X squared plus
1 Okay inside a double quotation mark then you will write the comma and after writing the comma inside
the double quotation marks you will write x.
So this means that you are going to finding the true written with respect to X..
Okay.
Yes.
No it will be equal to this function and to know will you will just type differentiation.
D I would love inside the pen since you will write f of x f of x or more X yes and then you'll press
the internal button.
So this is that she wrote a love X plus one note will take another function just like before taking
on the functions.
I will first cleared it clear command window.
Okay again you will write Sims X seems X and not here.
Yes G is equal to I am taking with here G is equal to in line G is equal to an inside the parenthesis
you and uh insert the parenthesis and inside the double quotation mark will right over here.
Sign of X yes sign off X and do it by.
It is because of X cause of X
and yes since we have to write it inside the double quotation mark.
And here you write that insert the comma and since we are going to fly in the derivative with respect
to no real insert the double quotation marks and then you will grade X. So G is equal to.
Okay so that is equal to this function sine of X do it because of X..
Okay here you can take that just like G N to 0.
Yes the interval 0 is equal to zero.
So this means that the function is defined because when the value of a function exist then that means
that there are two you can find that add to it.
So trivial can be found only for a finite function.
Okay so this means that we can find that limit.
So differentiation of T affects G of X with respect to X..
Okay so the definition differentiation on deal X with respect to X it will be equal to.
Yes.
This is you can avoid the pretense at the party and say that yes pretty arms and insert the Britain.
So this is actually the answer.
Same skill X due about two plus one.
Okay.
Science X development cost X not let us do spirit X extra by cost could x last one.
Okay now we take.
So there are a lot of courts to find that true bit of Matlab course to find the tutors.
Here I am taking without wasting any time since x is equal to F is equal to three yes three multiplied
by three multiplied by exponential exponential of X plus sign of X plus sine of x and yes minus five
who would X clear minus.
Yes it is five divided by X and skill.
Okay this and uh now we're fine we want to find the transition.
Uh yes this is a function differentiation of o f Okay so the defense transition of F is.
So this is a good answer.
And if we want to see the pretty answer then you will tie this to like s answer.
So this is the pretty answer we call the x plus three it is to the x plus then do it by X Cube is the
answer.
Okay.
No it isn't the pink that if we want to find the double G 12 since this is a single derivative.
And if we want to find that trigger to then uh yes f commando means that we want to find the topology.
And so this is that ambiguity in this was the director of causes sine minus sign.
So this is the.
Okay.
And similarly if you want to find the third derivative third T riddles of this function f come on three.
Okay then the third tree with two of this function is this.
Okay.
And suppose that uh easy plot.
We want to these C plot of.
Well uh suppose if I want to control let's see and you go to the control plus V easy plot okay.
A C plot yes this is
okay we will insert the same function over here and or under section.
When we have one this easy plot off for this then it'll find.
Yes this is the graph okay uh in the last uh functions that we find of sort of secondary event territory.
Okay.
No we check the those uh things just like uh.
Uh first of all cleared it and was cleared out foot.
And here a little.
Again uh if we want to work in display command window.
Okay so this is a command window.
Uh yes I would like to work in command window.
Sims and so we hear about Sims and Sims X and we will do the functions f you and fun is equal to execute.
It is X cube last for x plus four and it is four x plus eight plus eight.
And this function is a portal.
And no we want to find out the front section of this function f of x 1 f n one comma X..
Okay then this is the derivative.
Okay.
And if we want to print that integration integration of this function 0 1 and 2 comma X complex and
comma 2 comma 3 the limits are from 2 to 3 for the definite intent on you know integration of this function
and gays are definitely integral from total total.
It will be equal to.
This is your answer 137 or 4.
Okay.
And I would change the function just like I am taking over here one is equal to.
Here it is just like a complete complicated functions they might cause cause uh and to cause just like
guess cost too much to fly by X and plus three plus sign in two three.
Call my x 3 and uh and multiply by x.
Okay so this is equal to uh cause 2 x Yes Los Angeles X and Y NC isn't all this function.
Yeah.
Function with respect to x and it will be equal to yes 3 sine prequels 3x minus 2 sine do X okay.
And suppose if you want to find the integration integration of this function and to do over 3 to 4 or
so on some will be equal just like s.
And if we want to check the 40 answer then it is just like.
So this is your pretty answer.
And no
I would like to.
This is the GMAT.
Okay and control plus C.
Well if you want to check it it's a graph of the left move to the middle.
Yes.
Here you are right.
Easy plot easy plot.
Okay.
And uh inside the easy blocked you on the right.
Uh yes.
Easy plot parenthesis
okay.
No.
You could have run this section and so what kind of graph you will get over here.
Yes.
This is your graph.
I'll take all three X and letters to sign 2 x.
So again working towards the command window.
Yes this is your command.
I'll go and I will clear it on here.
Yes we can also read it a little bit.
I hear you a lot so.
Yes.
No we are taking it another.
So there are many ways by which you can find the derivative in MATLAB matlab.
So here we are writing Sims and x.
No function is this like Y is equal to y is equal to 6 x 6 multiplied by.
Yes it is just like multiplied by X.
Uh yes let's say it does it.
And uh anyway right.
Easy plot the plot b c blotto.
Yes or Y.
And when you a ride easy plot on y you will get the.
So this is your plotting which is a straight line.
Yes.
This is I'll get no again move towards the other window more here are you right.
Punches.
Oh for y.
It will be equal to the transitional Y is equal to 6.
Yes.
No.
Change the functional head clear this window no.
Z is equal to Z is equal to same sex.
Yes you will frustrate same sex and z is equal to
working over here.
X bar 3.
Yes.
2 multiply
you little by it
in order to avoid from any case of ambiguity
divide also 3 inside up and this is okay.
And then plus uh to execute working well here.
Uh yes.
That is true.
And uh do it by uh do it by X cube
it is X killed.
Okay and to close this parenthesis.
Okay.
Uh no.
It will be equal to this function.
And if we take the easy plot easy plot of this function okay here's the plot of Z.
Yes this will be equal to.
We can check it in the
this is.
This is your output graph to execute and uh plus X Cuba with three.
Again move to the window.
He had to find the derivative differentiation of differentiation of y z.
Here we're taking Z.
So it will be equal to this hand.
The integration and tuition.
Arthur C..
Then it means that integration is this.
And if we want to find a hand did wash it off easy and to want to show this will be close to
okay.
Now we check the record.
Yes.
Most likely in the command window and here will right.
Since has since X and the function is Y is equal to inside the parenthesis and inside the parentheses
you are right it is X all raised the bar skip class 3 x the last 3 x not 3 multiply by x okay.
Two plus three to do what would be inside the parenthesis you will write X squared X say X skill minus
three x minus 3 multiplied by X plus one plus one.
So how do you get this function.
Okay.
Yes yes yes of course.
And no we were contemplating the we want to find our differentiation.
Of course this.
Okay.
It is.
And if we John want to take the party on so
property so
nobody else is this guy okay.
No.
Suppose we want to uh differentiation.
Differentiation all the way.
And the second derivative will be equal to this.
Okay.
You want to check the body of this and the second to it.
It is why this wouldn't be pretty on subsidy right.
Pretty answer.
Okay.
This will be equal to this one.
Okay.
Yes.
It static one is equal to execute minus three x plus one take.
Okay.
And skip.
So what a beautiful you can do very tough calculations just in seconds in Matlab.
Okay.
No.
Who we discuss and those functions just like uh we have same sex scenes X and we are going to yes say
Sams X and uh here we are writing the transition means you can directly find that transition just like
in writing fly multiply by x and despair Y if X skill and plus food x or x plus nine.
Okay all right directly so it will be cool to yes what is simple and uh you can also write on is equal
to one is a good do list like Y if X squared plus nine control plus C
one is equal to this and here you are right.
Once he is shown one section of the conversation one with respect to x.
Okay this one we go to then it's possible again same.
And it will want to find our differentiation off of this function of this function with respect to x
x with respect X at X is equal to three then our answer will be this which is zero okay.
Differentiation of this function then x plus
of this one function at x is a.
So
no it is actually not indexed into it.
This is not X is equal to three.
It is actually targeting it.
Okay.
It is actually third derivative.
Sorry.
What does pollination.
So differentiation inside the pants as you might find on my x commentary.
Then this means that you are finding a third derivative.
Okay so this is the V hole to find that integration and derivatives in MATLAB so all calculus is very
easy o calculus is what is easy in MATLAB since in calculus we saw so many problems for many questions
and they have very long calculations.
But here you can solve it.
Very simple calculations.
Rather you have a very typical functions if you want to find a derivative of integration of all typical
functions a little bit you can see abstract functions Matlab will solve your problem just 10 minutes
and you can sketch about graphs you can plot the graphs off for derivative functions.
Okay so this was the last time my course matlab.
Hope you will enjoy this course.
And if you have any kind of questions then you can ask me the questions in the class answer sections.
I am here and I will give you the prompt response.
It is not just like you will answer and you will work through this.
No you will not be offered through this whenever you will for the answer for the question.
I will give you the answer promptly so goodbye and wish you good luck for your future.