 Okay, so just connect to this Wi-Fi, and you can actually go to 10.42.0.1, colon 8000, and you can actually download everything from there. So, should I just write it here, or do you guys see my address? I think I should write it. I'm not seeing the SSID. Yeah, sorry. You are not able to see the SSID? Is it a hidden? No. If you are making an insertion, how would you compare me? You cannot understand Wi-Fi. We can see it in the security profile. Yeah, I can see it in the security profile. So, does anyone know how to close a Wi-Fi network? Okay, edit connections, I guess. Why? Okay, close. So, Wi-Fi security is set to none. So, you guys should be able to connect it without any problem. So guys, can anyone actually make a hotspot? Yeah, that one. Okay, you have one. I really have one. Okay, you have one. I have one more. So, I don't need any of this? You need all these people to sign for me next door. Okay, fine. Okay, fine. Thank you guys. Okay, can you adjust the screen? Do you have an icon for reading? Can you adjust the screen? No, I don't have one. You don't have one? Oh, it's another one. Okay, I have one. I think I have one. I should have an icon for reading. Okay, I will... Okay, so you're going to connect to South Asia? Send Wi-Fi there without any password? Okay. Okay. If you guys are facing problem, feel free to use... Let me just... I'm actually pretty sure I have one. I just think I have one. Yes, it's on the side. I think it's just at the end of the line. It's connected to South Asia. Yeah. Just take a look if that works, okay? If the website actually opens, just take a look. Okay, and there's actually a tutorial on GitHub. Here is the tutorial. If you guys are not able to see it, okay? So just go ahead and clone it. You guys should be able to access the Internet too. Can the Wi-Fi work? It's okay. Yeah, so the Wi-Fi is actually working. It's open and it has Internet access. It's for South Asia. You just connect to it and just go to my IP which is this one and download it. Okay. I don't know. Yeah, so... I'm not confident about it. Oh, no, I just installed it. So I think it's just not working. So all the details will be there on the GitHub. And then there will be this one. So you guys can go there, clone it, and it contains all the instructions that you guys need. Just clone it. And all the details are here. So let me give you a brief introduction about what this is about. So this is actually a combined workshop of Simpa and PyDai. And Simpa is actually a computer algebra system. So it actually does computations based on symbols. So it contains everything from calculus, mathematics, physics, and everything in between. And PyDai is actually... It was basically the physics module of Simpa, but it actually had so much extra which were not symbolic. So they actually created a separate organization which we call PyDai. And they actually... Simpa is actually one part of the SciPy stack. So SciPy stands for Scientific Python and it includes a Simpa in Empire, SciPy, Maclaury, and iPython. So that's about it. So you guys need to actually install the SciPy stack which you guys should be able to do by installing the Anaconda which is being transferred to you by the USB drives. So if anyone needs Anaconda, this is payment. Order. And it's available on the Wi-Fi too. It's working on the Macs at least. And after installing or actually running this script of installing Anaconda, you guys need to update your packages and here's the command on the GitHub. So we will be using iPython notebooks which is actually a very awesome way of running Python in your browser. And we will be doing tutorials over there. So it includes all the iPython notebooks that we will be using. This GitHub repository. So anyone fixing any issues there? I have access. You will be able to access it after the installation. So is there anyone who still don't have the Anaconda installation by the USB or the hotspot? You don't have it just once. You have the Anaconda? Yeah. Who doesn't have the Anaconda? Okay. I can try one of these. So it's probably even no good. I mean, so there's an EXT panel. Okay. And if you guys need, I can actually make an hotspot in my browser too. There are actually two hotspots. One is named Sahil and you can connect to it to actually access the internet. Another is AK Tech. Yeah. So there's two hotspots. One is AK Tech and one is Sahil. So you guys should be able to access the internet to actually connect to these hotspots. Okay. Yeah. But if you don't use, don't download torrents or just go to YouTube because we have limited internet access. So just go to this ID and just clone it. This repository on GitHub. Anyone facing any issues? Sorry. Are these dependent software available? Yeah. Most of them are. Yes. Yeah. No. All of them are. But it's actually easy to use an Anaconda. Yeah. Okay. Just thinking about it. Yeah. If you need issues, just make some noise. Just let me know that you're facing an issue. Okay. So until you guys actually download stuff and just have some setup ready, we can actually go through the basics of iFighting Notebook or the, I mean the basics in general. Okay. Okay. So here are some commands. So you run iFighting Notebook by running iFighting space notebook in your terminal. And it will actually open all the files which are in that directory. And the extension of iFighting Notebook is actually ipynb. So I don't know if I can actually show you guys. This is how an iFighting Notebook looks like. You can add new cells. And the cells can be just text, headings or code. And you can actually run your Python code in the Notebooks. Okay. And there are some shortcuts. If you press enter, it will actually add a new cell. And a shift enter will actually run the code in the cell. And you can actually run the code shift enter will actually run the code in the cell which can be just text or heading or the Python code. Okay. And a control enter will execute all cells in place and escape an edge to display the keyboard shortcut. So let's see here that this is up. This line is a Python code, right? And I can actually run it by pressing shift plus enter and actually import it. So I'm not facing any issues. What is that? Sorry? What is that? Jupiter? Type Jupiter Notebook. Jupiter space Notebook. Go. Jupiter space Notebook. No, no. This iFighting Notebook. Both of them. Oh, okay. Okay. iFighting Notebook command is the beginning. I'll show you. Jupiter space Notebook. Yeah. No, no, no, no. Inside the term, I'm actually correct. Oh, okay. I'm gonna put it here. So where does this thing say? I've got it. I've got it. I've got it. I've got it. I've got it. So now it's okay. People only, the files, they reopen that. And if the decisions are IP and NV, they will open them. There's no force. They say, oh, they look like this. They say, oh, okay. So essentially, all of this. Yeah. I know. You don't have IP, but it should be. It should be. Yeah. So you, usually, you run the EXE file. Oh, and I wanted that. Yeah. Okay. Okay. Okay. Okay. Yeah. Okay. So sorry. I didn't get it. So seriously. Yeah. I'll be in the desk. This is clicking. Just, it's even half. Okay. This is the shell? Because I love music on Windows. Yeah. I'm just being hesitant about, I'll experience it, I'll be back as soon as I'm open. Okay. It works for me to directly from, what does that mean? I didn't do anything. I just say, I can't open it. It's like, no force. I don't get it. Is it working fine? It's still working. Do you have, do you have, do you want to change that? Okay. Okay. Just, changing that, the entry, and just run, I've got to come through that. Okay. Okay. Okay. Like, see, there's everything that is, I've got to come through that. Okay. And then just run, I've got to just see what's going on. So, do you, do you, do you, do you, do you want to come through that? I don't know what's going on. Because, I can't see what's going on. So, one is ec-take, and, if you want to do more than first, one is style, F. It's your only, if you need to, you should be working on it. It's open. Okay. Okay. One is ec-take, and one is style. Yeah, that's both of them. Okay, is it locked, locked out? You do, ec-take, and mine is, you always do, you can do more than first style, okay. So, you can do both styles, you can do both styles, you can do both styles, you can do both styles, you can do both styles, okay, yeah. So, it's a few points, so, maybe you can screw it again, or just control C and then, okay, and see if you can, it should be fast. It's not a problem. So, guys, if you're not able to access internet, just connect to the hotspot style, it's 40, and it's faster now. Yeah, so just go with the, I should be, so now we have both one boot, and you can actually open them, and if once everyone is done, now it's just, it's a stream area. So, it's a stream area, so, it's a stream area, like, version machine is a stream area, so, it's a stream area, it's a stream area, so, it's like a new engine model, and you can install, you can add like, yeah, so once you apply that, actually, all that, so, it's like, so like, you want to use, you're using the version, you can use the version, so, you can basically, which one you want to use, but you can also use the version, which is like, super, and then, you can just, like, you can add to it. Yeah, so, you know? Yeah, so, you can see, you can add further, and then, just run, or you just go from here, you can add further. Yeah, so now, I don't have, no, no, no, these are not, you need to clone that, you need to clone that, oh, I just, okay, okay, so, okay, awesome, awesome, awesome, awesome, it's, it's, it's, it's, it's, yeah, so just change, you can do this, actually, you can do it, and yeah, and then, install, just, run these commands, okay, so all the details are there, in the repositories, readme file, you guys can see, that, just, okay, so it's all there, into the readme file, so just, install the Anaconda, that was given to you, as a script, or an exe file, then run these two commands, and you guys will have, all the packages, you guys can check, if you have all the packages, by running python, check env.py, which is, into the repository, and, if it exists, without any error, then you know, that, you have, all the packages you need, to, once it's installed, you need to, run these two commands, run this one, inside the shell, and then, no, no, it's just, normal term, normal term, so, it's all there, it's just, I imagine, it's all there. The big, big, big, I imagine, is very awesome, and, if you guys, should definitely, check it out, by a code, or everything, other than, I'm certain, you guys, can, use, or, excel it, in run one, it will run all the, send it from, run one, so, once it's done, So the problem is that there are commands which are specific to, I think what looks like this. You can actually load the two files here by this. So once you load a file, the code, by executing that to HD, add the code to that cell, but you have not run that code. So if you do cell run-on, it will just import that code into your run-on. And the table will give you added in an excerpt. So it's better to just look at the ship enter. The ship enter will just run one. Just click on that. And just do ship enter, ship enter, ship enter. No, no. For the one, where you have to load that code, you will do it twice. And then you will do run-on. Oh, okay. Yeah, just that one cell. So this is a cell, which is the one. So you're creating the code. Okay, you're creating the code. Okay. How many cells are there in there? Which are? Which are some strange processing things. Yeah, I mean, I guess one or maximum two. How many of you have everything open running? We have everything open running. That's not a difference. How many cells are there? How many? How many cells are there? Well, we didn't check there. I was just wondering if you wanted to start an open running. Okay, it seems sort of cool. So this cell is the power thing? No, this is actually five cells. Oh, okay. So this stays at this? Oh, okay. So that's an effect, huh? Yeah. Okay. Okay. Okay. Okay, guys. So who is not open running? It's not my idea. Okay, dollar. Okay, cool. Just one more thing, guys. Dollar is just a prompt that you get in your terminal to just let you guys know that you have to run this command into the terminal. It's not the power of the command. Okay. So you guys just run from the Conda. I don't know. Okay, guys. You can start yourself on this one. What do we do about it? You said it's worth running it. What is it worth? It's usually less expensive. Okay. Okay. I'm going to say the first thing about it, it's very annoying. And the second thing is, what do we do about it? It's like from a large number of cells to a large number of cells to a large number of cells. Okay. Okay. Okay. Okay. Okay. Okay. Okay. Okay. Okay. Okay. Okay. We are going to start a second while we are here on question start this part. So if you guys need the instructions, it's into the readme file, another repository that you guys have just flown, and we can just start it. So what do you think is up and running for you? So once you are up and running and you do ibyte notebook into that directory, you will see something like this. So it will contain all the notebooks. And if you are seeing a folder named notebooks, just click on that folder and you will see all the notebooks there. So we have a lot of stuff here. So let's just start here. So what we will do is actually not go into that much detail into the physics or the dynamics because we just want to give you an overview and I don't think it would be worth it. So what we are doing is actually, we are dealing with rigid body dynamics. So we know the Newton's second law, which basically comes down to forces with 2MA. And we know vectors, right? Everyone knows vectors here from that math class, that boring math class, yeah. So there are different things that you can do with vectors. You can actually do dot products and you can do cross products. So just to remind you guys, this dot product is actually a scalar, it's just a value. And the cross product is a vector which is perpendicular to both the vectors, okay? So I think you guys remember the right hand thumb rule and all that stuff, okay, cool. So in a vector, we have three unit vectors which are basically perpendicular to each other, right? So we have x-axis, y-axis and z-axis, which are basically perpendicular to each other. So here, as you can see, we have, we are actually using SimPy because SimPy actually contains all the things that actually use in PiDive because it was once a part of the PiDive and then we actually shifted it outside the SimPy because it was no longer uses only the symbols, it was doing numerical calculations and visualizations too. So it is actually capable to take differential equations and then just give some initial values like the G constant, the gravitational constant, okay? And then you can actually plot it and just visualize it and just see what happens there, okay? So I am just going to do that thing, okay, and then reference frame. So these are just the basics. So reference frame is something with respect to you actually define a vector, okay? So you do x-axis, y-axis, z-axis, so they are actually stationary in a reference frame according to reference frame, okay? So nothing is absolute here, cool? Okay, you can actually define a vector and here you can see that, okay, I have done actually n is the reference frame and x is the x-unit vector, unit vector is the vector whose length is 1, just some basic stuff, okay? And c is a symbol, it's a variable, okay? And we were not able to do that in Python before, okay? You need to actually use a variable. So what we are doing is actually we are multiplying a variable with a unit vector, okay? And then we are adding it and we are saying that, okay, this is a variable and this goes, this multiplies to a unit vector, okay? So it's like c-unit into this x-unit axis, x-unit vector, d-unit into the y-unit vector and e-units into the z-unit vectors. So here we are actually defining a vector, okay? So it is actually represented by this one, okay? Cool? Here we actually define another vector called vector b. Quick question. How are you getting the math symbols? Sorry? The math symbols. Is that auto-generated? No, no. It's actually mag-x. Oh, man. Yeah. Actually, it has a... Sympy has a pretty pretty support. So... That pretty pretty is when we are in the latex and the latex is done up by mag-x and pro. Yeah. Oh, okay. So what kind of syntax are you using in the code itself? So it's automatically generated? Yeah. So we actually generated mag-x and iPython is actually converting that mag-x and printing it in this code. Oh, okay. Okay. So it's... So because the n-underscore x or the sub-index, so that is automatically generated... Yes. From the mag-x. Yeah. From the mag-x code and iPython actually converted it to this code. Okay. Okay. So here we added two vectors. So as you can... As you guys know, if we add two vectors, we add the scalar symbols corresponding to that unit vectors. Okay? So like here we have the x-unit vectors. And so if we add a and b, we add c plus f into the x-unit vectors. Similarly, d plus g into the y-unit vector e plus h into the z-unit vector. Okay? So here we can see that. It is doing that. Okay? And you can actually scale a vector. You can multiply a number, two or three or a variable and it will be multiplied to all the unit vectors in the vector. Okay? So here basically multiply two to the vector a and two gates multiplied to all the unit vectors. And you can just multiply minus one and it will do the same thing. Okay? And we can do the dot product. So dot product was a dot b equals to mod of a into mod of b into the cos of theta, which is the angle between the vectors a and b. Okay? So we are able to do that into Python using SimPy. So this is just to give you guys what SimPy is actually capable of doing and what is actually happening behind the scenes. Okay? Because Pyta actually uses all these things and then a differential equation is actually created from the SimPy using the symbolic engine and then we actually give it some initial conditions. Okay? So let's say that we have a vector which is actually pointing downwards. Okay? So it represents the gravitational force and so if we imagine that this is the z vector which is going downwards and all the other unit vectors are actually zero. So we can say zero into x unit vector and zero into y unit vector and then we only have the z unit vector which is actually g into z unit vector because g is the gravitational constant. So into the differential equation it will be g because it is generated from the SimPy and then in the Pyta we actually give some initial value to that symbol. We say that okay g equals to 9.81. Okay? And then we can actually change it according to our needs. We can say okay this is not earth, this is moon. So we change that value but that differential equation does not change. You don't need to do anything to change anything. Just change that initial value and you are done. Okay? So here we actually use, we can do the dot product and in the dot product x unit vector into x unit vector is actually one and you guys can see here that we did dot a into b, a b i a vectors and we got the product here. Okay? And similarly, similarly the cross products. Let's say that these two are vectors, my fingers are actually vectors and you need to do a cross b. So you do a b and this is the direction of a cross b and its length is actually a mod into b mod into sin theta and theta is the angle between the vectors. Okay? And we are able to do this right there. So here you can see that we are actually using the physics module from SimPy. Okay? So we can run a cross product and it will give us a vector. So we have different vector properties. You can add it, you can multiply it and so on. Okay? So we don't have much time so I am just going to skim over it and just show you guys what the package is capable of doing. And you guys can actually run these notebooks on your own and just change the code whatever you want and all the docs are actually at, okay, okay, so all the docs are actually docs.SimPy.org. So you can have all the documentations here and if you go to the physics module, here is the physics module and we have everything here and this is basically the classical mechanics that Newtonian physics that we talked about. Here you can find everything that you need. Okay? So I am just going to skim over it. We will not go into deep. Okay? So we have NumPy and NumPy is actually for the numerical calculations. You can create arrays and so SimPy is like for the symbols and NumPy is for the numerical calculations which we assign numbers and then do stuff. So PyDi actually uses SimPy and NumPy. SimPy generates the differential equations and NumPy actually does the numerical calculations that we need. Okay? So to actually visualize something you need exactly the values that should be there. So let's say that we have a pendulum. Okay? Then you need to have the exact coordinates, let's say per second. Okay? And it will then be able to visualize it. So we use SimPy to generate the equation and then we have the NumPy. It will generate the array which contains all the values that the different points will be going through. Okay? So we will see that later. Okay? And we have Matplotlib. It's another library which is into the sci-fi stack and it actually generates graphs and you are able to visualize some awesome things. So we'll just go there and just see. This is the dynamics, right? Yeah. Okay. So Matplotlib inline is specific to iPad 2 notebook and it tells it that you have to plot the graph into the notebook. You don't have to create another window. Okay? So we didn't run all these cells. So just run all the cells. Okay? We'll see it. So run all. We'll run all the things that are there. And you guys should be able to see the graph. Okay? And this. Okay? Okay? So we have actually generated a graph using the Matplotlib and you can say, okay, the x-axis, the label in the x-axis should be x-axis and label in the y-axis should be y-axis and these are the colors that you want and you can place the legends anywhere that you want. Okay? So this is an example of Matplotlib. So the sci-fi stack is very awesome. It plays well together. So different people developed this but it is just awesome working with these libraries. Okay? So we're actually standing on the giant side. That's typical statements. Okay? So just back to the vectors. We have matrices. Okay? Just, and just skip this because a lot of people here are not just physics majors. And, okay. Sorry? You need it for physics? I'm not a computer. You don't really need it only for physics. Yeah, I'm using it for a lot of things. No, no. This is not a normal matrix. This is a directional cosine matrix which is specific to physics. Okay. Yeah. So this is just not a symbol. Do you say dynamases? Yeah. So this is basically a directional cosine matrix which is used into the dynamics. It is specific to dynamics. But yeah. If you use it very often, it's an optimization. Yeah. So I guess, so angular velocity and angular acceleration. So angular velocity is the velocity of something which is actually revolving. Okay? So it is actually a vector and it is actually perpendicular to the direction of revolving. And we have the angular acceleration which is the acceleration by which a body is actually accelerating. It's angular velocity. So it is similar to what we have the velocity and the acceleration which is for a straight line. But here we have the angular velocity and angular acceleration. So these are the basic things. So we have the velocity, we have the position and we have the acceleration which actually corresponds to this. So because we have a lot of material here, I'm just going to just talk about the main headings and just skip over it. Because we have about three to four hours worth of material here. Okay. So we have different forces, right? So yeah. So I guess everyone knows about force. So let's say that this is the bottle and if I actually put it from head to head, I apply the force into this direction and it gets from head to head. Okay. Similarly we have movement or togs which are actually the force which are actually applied to a body which increases its angular velocity and gives it an angular acceleration by which it gives an increase its angular velocity, right? And then the equation of motion. So Newton's second law states that the force is equals to mass into acceleration, right? This is the basic thing. And so the, so acceleration is actually the difference in acceleration between the starting position and the end position of a body. Okay. And it actually gives us the force. So we actually calculate the equation of motion of a body using SimPy. Okay. So let's say that we have a vector. Okay. Like the vector that we saw earlier called A and a vector called B. And we say that, okay, A is the acceleration of the body initially. And after we applied some force, its acceleration changed to a vector B. Okay. Then we can actually calculate the force. Force is actually a vector and it's equals to mass. It's basically a scalar thing and into the difference into the vectors which is B minus A. So B is the final acceleration and A is the initial acceleration. Okay. Yeah. So problem introduction. Okay. So we are actually, so, okay, we have a human body and it contains some points here and here. And we have different forces applying here. We have different, we have different talks and we need to balance it. So our aim is to have a balanced human body. Yeah. I'm already about time. So just, I'll define the problem statement and then see what happens when we solve it. Okay. So here we have a human body and, okay. So this is the distance to which we are applying a torque. This and here, here and here. Okay. And these are the points of, let's say, zero velocity with respect to each other. Okay. So this part is independent. It actually includes a reference frame of itself. It includes a reference frame of itself. And this point here have zero velocity in both the reference frames. Okay. So it is actually connecting two parts of the body together. And if you apply different talks here or then the body will actually move and it may fall. So like the human base, we have to stand straight. Okay. And after that, our aim is actually balance the human body so that it doesn't fall. Okay. So we have different geometry. So are you guys actually able to run the notebooks in your systems? Okay. Awesome. Okay. So just one more thing. We have center of mass. Okay. So center of mass is actually a point. Okay. Let's say we have a body. Okay. And its size is, okay. So let's say that we have this bottle. Okay. So center of mass is actually a point where I can imagine that, okay, all the mass of this body is there at a single point. And I can remove this body and place a point mass there with mass equal to that body. And I can just apply all the things on that mass. And the equation of motion will not change. So we have, we have a center of mass. So that is called a center of mass. So we know about gravity. Gravity actually works downwards. And it is responsible for the body. So this is the reason the body is actually falling. Okay. We have different talks. Talks are the forces which increase the angle of velocity. Okay. So let's just go to this, to the visualization. Visualization. Okay. Just see that, okay. Okay. So you can actually see all the documentations by running question mark. So we have a session on SimPy right after this one. So we're actually generating the equation of motion from SimPy. So we will learn how, what are the functions by which we can actually do different things using SimPy. But here is the pie die. And we have a module called visualization module. And it contains all the different shapes. Okay. So as we learned that everybody have a center of mass. And we actually assigns a shape to that center of mass. Okay. So let's say that we assigned a shape square to a center of mass. So it helps us to actually visualize things. Because you can't actually visualize things when they are actually masses at a point. Okay. So here we have pie die dot wedge dot shapes. And we are using cylinder and space to represent the body. So as we saw earlier. So this is the body. And it contains two points. We can actually call them joints. And it is actually connected to the ground here. And there are the three parts. So we will see that this is a cylinder. This is a square. This is a cylinder, square cylinder. Okay. And we have a visualization frame. So visualization frame is the main frame in which everything is happening. So everything is actually related. And so reference frame does that. So we have different scenes and scenes. We can add multiple scenes to a frame. Okay. So here you can see the documentation of something in the iPad notebook by adding question mark to it. So we have ankle shape, knee shape, hip shape and head shape as squares. Okay. And we are assigning the color black and the radius. So this is all in the pie die. Okay. We can define a space. And these are the things that we have here. So we have visualization frames. We created different visualization frames for that. So we know that we... Okay. So we have reference frames for body. Okay. And we... And like we said that we have two parts and they have their own reference frames. And the point in the middle have zero velocity angle or the simple velocity zero. Okay. So we have different frames here. And we can actually define points. We can define the point that, okay, this is head and we can actually set its position. So we are actually able to set this position using NumPy. Okay. Because we have the equation of motions and we are setting... Okay. We're just saying that, okay, just go there. And then we have the head which frame. So the advantage of doing that is that you don't have to actually use SimPy and do this stuff because it's very complicated. So here you can say that, okay, we have a point and you just set its point and display the visualization frame. Okay. And we do this for each part. We have head. We have lower leg. Okay. Okay. So we have this here. Okay. And this is a human body. We have a head and we have represented all with the space and the cylinders. And we can just run it right into the iPhone notebook. Okay. So as you can see that the human actually fall is actually falling because of gravity and different joints. Because the position was not actually straight. So if it would have been into the same position, it would have actually fallen. It would not have been fallen. Okay. And then we just go to the control. That's the last iPython notebook that we have. Okay. So here we actually balanced it. And you can actually display the iPython visualization right into the box. Okay. Okay. So this didn't work. Okay. So I just need to run it one by one. Okay. Okay. So now we've basically controlled the human being. And it is now standing straight. Okay. And all this is happening in the Python world. So if you are a physician, okay. So if you are a physicist and or a general researcher, so you can actually use a sci-fi stack and specifically PI die to visualize a physical system in which you can add different forces. You can create different bodies. You can then visualize it and see what happens. So we have different functions in SimPy which actually gives you the energy at a certain point. So you can say that, okay, just tell me what the kinetic energy of this body is. And it will give you that. You can say that, okay, just give me what the potential energy is. It will give you that. So you are generating it into the computer and just seeing what happens to the body. So that's it. So you guys have the notebooks and you guys just wind around and just see what happens. Okay. So now we have a talk from SimPy.