Hello.
Welcome to my second lecture of distinction in this lecture.
We'll talk about functions now functions are one of the most important part in commerce and metaphysics
especially when you are doing advanced simulation where you need to input your own equations in your
simulation.
So I'll go one by one and explain what are these.
So we have analytic function interpolation piece wise and we have more functions.
So if we click on analytic we have an analytic function here.
Now in the expression if I write X squared.
Argument is X and if I choose to see a lower limit two minus one.
And if I click on plot b c I get uh parabolic which is why equal to X squared.
So this is a very basic example.
Suppose you want to use a parabolic intuition inside your simulation somewhere in some form.
You can use in one to call this parable inside your simulation.
So this is the analytic function.
Okay nice.
Now let us check where this interpolation.
Suppose a t equal to 1.
I say that the function of value is 10 adequate to it is 20 a decoded 3 it is 50.
Now if I plot.
You see we get a plot where at t equal to one we have 10 uh equal to two we have 20 and be equal to
three we have fifty which is equal to this value but basically this is why.
And these are X values.
So interpolation is used when you know the time and the functional value of your model what is peace
price.
Nobel Peace Prize.
I think you have already understood that um.
Suppose you have a function which is peace Y is continuous.
So what does that mean.
Now I define minus 1 to 1 and then to function the X now are defined from 1 to 3 as 7 times X if I click
on plot what you see is from minus 1 to 1
y equal to X is being plotted from 1 to t y equal to 7 x is plotted right.
So this is a piece voice can heroes function.
So in many kind of simulation for example if you are doing um let's say if you're working on my step
index fiber.
So basically if you're working on optical fiber whether refractive index very stepwise.
So at the center we have the maximum effective index and then it's having stepwise effective index drop
so you can define the effective index as a step function or as a piece rise and then carry on in your
simulation.
So the example I do not necessarily have to do that way.
There are different other ways.
First this is one scenario where you can use this option now in more option.
You have a predefined function.
For example you have a caution post.
If you plot you get Al Gore's impulse for rectangle you have a rectangular way.
So all these predefined functions are already built in form so so that we can use it in a simulation
for whatever need you have to get your results.
So I hope that I could explain um the properties of the function pan in my next video.
I'll talk about um selection color and probe.
Thank you for watching.
See you around.