 So let's now look at sort of some pseudocode of how the power function operates remember power You know if I take a number raise it to you know two to the three power is two times two times two eight So if I asked you suddenly what is the t of n of this equation Go ahead take a second maybe pause the video and Calculate it out if you'd like Okay, so hopefully you've paused it. So if we look at this we've got sort of this result and again You could if you're still struggling on the pseudocode you could still think about that as result Equaling one Well, just like we've said in our past videos this is going to have its own Kind of it's a primitive operation. It has to create itself in memory And so we look at that as just having a one I'm going to skip over just for the sake of skipping over The for loop because that's the complicated portion down to this Return now this is actually another primitive operation. I need to take that result and move it elsewhere So we would also classify this as another one Okay, so now we're at the big fancy for loop. So if we kind of looked at this and we we look at it either in Let me use a different color for the for loop use green So if I look at that for for I Starting at one two in I do the following So one of the things I'm going to do is I'm going to ignore sort of that that line three for a second Just worry about this. Well We already discussed how the eye getting created is its own sort of one when I have to exit Let's see Exit that's its own one as well and Then we have to look at well. I want to go from one Two in so that's actually if we kind of again look back at real syntactical code I'm needing to first make my I Plus plus so that's I plus plus so that's gonna get classified as an in and then I need to do a comparison here I need to say is I still less than in so it's another comparison So just like we've seen in the past this sort of statement is going to make two in Plus two So now we've got to look at result arrow result times y So this can get a little kind of hairy because if we we think about it for a second Result by itself. We know that that's going to cause us to access memory, right? I need to find result every single time Now this second result I Actually don't have to access it because I've already accessed it once so we're good We we are solid here Entirely the same thing actually happens when we deal with my why I already have it sort of accessed in memory up here so if I Came in and I did my multiplication for a second you'd see that I'm actually able to just kind of look at this as another calculation This in itself would just be another one multiplication Again why we know Result we know so we don't have to access either of those in memory But here's the issue Those if we added them up are going to create to Problem is I don't do this instruction only two times I'm going to have to do it in times just like I had to do my I plus plus in times Just like I had to do my I less than in two times or in times I'm going to need to do this to In times because I'm going to this gets translated. Let me actually Change my color this Because I have to do it every single time is going to be an in This every single time I have to do it is going to be an in and so as a result This has to become to