Yes, and welcome back to another class of our course about the complete introduction to that science
show in this class.
I thought that it would be great to have a little bunnies and to add to functions that can work with
numpty as well.
So basically, I just wanted to show you at first all the operations that are that we can do on Python.
But I thought that adding to more functions could be a good thing and at the same time, you guys will
probably love it.
So basically, the two functions that we are going to talk about today would be the exponential function
or at Exponent X and the logarithmic function.
And basically the goal today is just to show you that number is able to well, to make errors and make
those functions work with Eriks.
So basically apply functions on those areas.
So it's pretty it's not something that is too complicated to do.
And at the same time, it's pretty cool.
Well, I mean, at least.
All right.
So the first thing that we will do is pretty simple.
We need to write down our area.
So basically our variables in this case are one would be our variable like always and our variable basically
what we'll do with it.
We will create an area so empty that every.
We open up our apprentices, and in this case, we'll work with just a one dimensional.
So pretty simple.
So like always will use it.
Well, we'll use some other numbers for three, six and nine.
And right now, we have our own.
So the next step is pretty simple, is writing down our functions.
And what's going to happen is that Python will just apply those functions on each number inside of our
own.
So the first function that we are going to have will be the exponential function.
And basically how this function works is pretty simple.
So it's simply EA or two point seven two and some other numbers.
I don't remember them.
Exponent are a number.
So basically if we try it out, so simply write down.
And so, Brent.
And people that likes me.
And in this case, we are one, so basically what I have just done is I wrote my print function, so
I asked Python to print the exponential function of this variable right here.
So basically, since we have an array, what is going to happen is going to apply the exponential function
on all the numbers right here.
So basically the exponential function on this number, this one and this one, and if we can see it
right here.
So basically for the first one.
So basically for the tree, it's going to be this for the six, it's going to be this.
And for the night it's going to be this.
It works pretty much the same way if you want to have a logarithmic function.
So basically, the log function is simply the reverse of the exponential function.
It's not a log and usually it's locked in this case, not a lectern.
So if we try it out, the only thing that you guys have to do is simply exchanged exponential function
by a log function.
So simply change the Peabody Energy.
So a logarithmic function and you can run the app.
And as you can see, you will have the complete well, you will have those answers right here.
So basically, as I said, it's simply the reverse of the exponential function.
So I'm not going to give you guys a complete mathematical course about all this.
But once again, it's well, it's pretty well, it's pretty cool.
Usually it's possible to show it on a graph, but I won't do it because I will need to use matplotlib
for it.
That's the visualization tool and will work with it a bit later in this class.
So you'll see a bit later in the scores will work with different tools that will let us visualize our
data or put everything on graphs.
All right.
So now you guys know how to work with exponential functions as well as logarithmic functions inside
of Python with no bite you can work with?
Well, there are plenty of other functions with which you can work using IRI's, and those are pretty
cool.
So that's it for this part of the course.
Guys, I hope you guys, like nonpaying, learned a lot of things about it and see you in the next part
of this.