Oh God no we discussed the cord.
But the solution of an action that occurs in maybe a linear action or non-linear occasion.
So in the MATLAB you wouldn't just type seems s y m s with the Space X and you can type again F is equal
to function on X function on X means that this like it will be X minus one x squared minus nine executed
minus four.
Okay.
And at the end here you will write thus semicolons.
Then you work by about solve and inside the blackboard you will write F and at the end semicolon then
you will press to enter Britain after pressing the internal button.
You will find the solution in the MATLAB OK novel take that hold this sort of work in MATLAB with an
example.
Type seems as white and messed with Space X and then type now function F is equal to.
I'm writing this like it is X q minus one.
Then this is the function solve inside the parentheses you will write f after pressing the interim button
you will get the solution.
So this is the solution of this function.
Now we will take an order function and this function is F is equal to 7.
It is saying 1 X squared
plus 4 x plus 3.
So this is the function.
So and instead of the parentheses we will write f pressed the interpreter.
And this is the solution of this function.
Now we will take and other function we d this like F is equal to X. give a scare minus 4.
So this is the function just like you are right sort of inside the bracket.
You will write F but ask the interpreter minus 2 and 2 is the solution of this function.
What a simple matlab so this is the beauty of Matlab.
You can solve in seconds so I'm picking again and other function F is equal to just like X get plus
two X plus 1
Yes solve all f solution off f.
This is the solution of this motion minus one and a minus one.
No I am again taking and that function and other action just like
since X Uh yes.
X and uh type the function.
This is f is equal to 9 x squared plus three X and uh yes.
Okay.
My next good plus six.
Yes.
Change okay.
Plus 1.
So this is the function of two more solid inside of the brackets you will write F. press the interpreter
Yes.
This is the solution.
Number three and minus one by three.
Now we want to plot this function easy blocked off f easy Lord of f into Lebanon.
Okay press then that.
So this is the graph of this function which is really a worry is a if we change easy plot block off
this function and uh the horizontal that a meter is 20 to 30.
Okay Don t to put it this is like 20 to 30 min scale is skim is 20 to 30.
So this is the scale on the horizontal 20 to 30.
Yes this is 30 and 20 to 30.
You can see or hear.
Okay.
So then you will write f command 20 to 30 you will look at this the graph will be just like that.
Okay.
And here we are not changing the vertical position I'd just like as it is centered in the matlab
or we are taking another function since X and Y is equal to do this like x squared minus nine yes.
This is the function and we want to find a solution.
So Sol insert the bracket rule right.
Y plus the interim button and the guess of course is the solution minus three and three easy plot easy
plot y then we will get this.
So this is the graph of this function.
And uh.