Thank you You have shown that DCT is very bad for signal processing 1 Hz amplitude is 1 and 10 Hz amplitude is 0.2 but after DCT process 1 Hz amplitude is 5.9 and 10 Hz amplitude is 1.39!
This is the best explanation of Runge-Kutta I've ever seen. I never understood it when it was relevant to my university studies, but I found this video after a renewed interest in numerical methods. This is the kind of resource I wish that I had when I was learning this. Thank you for sharing.
This might be a longshot but, how you implement an initial condition for the velocity? Let's say v0=0 and x0=100, xf=0: dropping the ball from 100 meters above the ground
Why is there an x in the definition of the function when there is no x in the actual function? I get the exact same results when i run the code with "def f(t): return np.cos(t)" and "x = x + h*f(t)" in the for-loop Thanks!
what's so bad about complex numbers? To me its more unnatural to avoid them, given that the transform exist in a realm way too deep in the complex domain
Excellent video, I'm a comp sci undergrad now in grad school for Space Systems Engineering and this kind of learning module is amazing for someone trying to break the Aerospace addition to Matlab. Thanks for making this!!
I tried to run this video on my Pycharm, after i install package matplotlib, it is showed me the error; matplotlib.pyplot.show() NameError: name 'matplotlib' is not defined
Hey, could you help me? I wanna a scipy optimization minimize function with a iteration limit, how can i do this? Example, after 2000 iterations stop the otimize and return the results.
In order to print the little label you have to run the comand as "Markdown". There is a drop down menu where the word "code" is on the Jupyter notebook window.
Ah, I was hoping you'd code it by hand instead of just using the module. I need to use the DCT for a coding project and I don't have access to the module. Plus I want to code it from the ground up to understand it properly and play with it. The problem is it's written everywhere in maths, all those silly symbols baffle me... I'll take a look at the module and see how they did it. As far as I can see it's just a for loop taking the dot product of two vectors. Those goddamn equations make the simplest functions so hard to understand. Why can't everyone just write it in Python and drop this antiquated maths jargon? Grr. Ok, rant over.
You took the words right out of my mouth (or rather, keyboard?). When I first figured out how DCT *actually* worked I was annoyed at how long it took me to grasp, all because of the damn maths notation making it look more complex than it actually is.
These videos are from a course at the University of Pittsburgh. I leave them publicly available in case anyone else finds them useful. "Try it" is an assignment that goes along with the video. In this case, the assignment is for the student to write the code for RK4 by following the setup in this video (9:45).
hi, i tested your code and like your way of description, but i tested the sin(20 * x) and expect one peak in frequency space at omega = 20, but this will not happen, thank you
Why in the name of all that is good in the world don't your videos have more views, they've helped me immensly with my studies. Thank you!
how do you do in 3d?
Feels so bad that amazing channel like yours don't get enough reach , btw loved your content bro
The plot for the frequency domain do not show the correct magnitude and frequency. How can this be achieved
I just got into programming and wanna do some project and this is golden, thanks
How you show that text where the inputs of a function appear ?
Beautifully done. Wish you'd post more videos. I learned a LOT from your posts. Most was how to use python, but all of your content is pristine.
thanks very much for the video. It is great how Python happily deals with the complex numbers
I have a question. For a physical system like a pendulum what would the abs value of the DFT represent?
Thank you You have shown that DCT is very bad for signal processing 1 Hz amplitude is 1 and 10 Hz amplitude is 0.2 but after DCT process 1 Hz amplitude is 5.9 and 10 Hz amplitude is 1.39!
This is the best explanation of Runge-Kutta I've ever seen. I never understood it when it was relevant to my university studies, but I found this video after a renewed interest in numerical methods. This is the kind of resource I wish that I had when I was learning this. Thank you for sharing.
which textbook can you recommend for one to learn the relaxation technique?
Direct, to the point! thanks
Thanks. Very elucidating.
for some reason, It only showed the last value.
now it stopped working entirely.
from IPython import display from time import sleep for i in range(1000): display.clear_output(wait=True) print(i)
.ipynb
but I am using visual studio
sorry for my chopped grammar, but any clues?
Hi. I used the method and got the output. Now I would like to see all the iterations. Can anyone please help?
thank you
you saved my life
Very helpful, thanks!
This might be a longshot but, how you implement an initial condition for the velocity? Let's say v0=0 and x0=100, xf=0: dropping the ball from 100 meters above the ground
Why is there an x in the definition of the function when there is no x in the actual function? I get the exact same results when i run the code with "def f(t): return np.cos(t)" and "x = x + h*f(t)" in the for-loop Thanks!
was wonder if we can create a box and make something like a game inside it. is it possible to do so?
what's so bad about complex numbers? To me its more unnatural to avoid them, given that the transform exist in a realm way too deep in the complex domain
Great work!!!!!
Great video!!!!
Fantastic!
This is terrific!
You really should do more videos. Small videos, like this, help so much, and your other videos are also excellent.
Not clear explained
thanks for the brilliant tutorial, learned a lot.
perfect, thanks!
You helped me a lot with Video, Thank you very much.
Excellent video, I'm a comp sci undergrad now in grad school for Space Systems Engineering and this kind of learning module is amazing for someone trying to break the Aerospace addition to Matlab. Thanks for making this!!
I tried to run this video on my Pycharm, after i install package matplotlib, it is showed me the error; matplotlib.pyplot.show() NameError: name 'matplotlib' is not defined
If you need to constraint the results to be integers, how would you do it?
New video after 2 years, I even forget I turned on the notifications
This video is the only change for now. I'm teaching the class again, and some things have changed with the setup.
keep it up
You'll need two commands. import numpy as np import matplotlib.pyplot as plt
Hey, could you help me? I wanna a scipy optimization minimize function with a iteration limit, how can i do this? Example, after 2000 iterations stop the otimize and return the results.
how do you do the top part
In order to print the little label you have to run the comand as "Markdown". There is a drop down menu where the word "code" is on the Jupyter notebook window.
Ah, I was hoping you'd code it by hand instead of just using the module. I need to use the DCT for a coding project and I don't have access to the module. Plus I want to code it from the ground up to understand it properly and play with it. The problem is it's written everywhere in maths, all those silly symbols baffle me... I'll take a look at the module and see how they did it. As far as I can see it's just a for loop taking the dot product of two vectors. Those goddamn equations make the simplest functions so hard to understand. Why can't everyone just write it in Python and drop this antiquated maths jargon? Grr. Ok, rant over.
You took the words right out of my mouth (or rather, keyboard?). When I first figured out how DCT *actually* worked I was annoyed at how long it took me to grasp, all because of the damn maths notation making it look more complex than it actually is.
Love your teaching style. A pleasant learning experience.
I'm working on diffusion of solute but this video definitely helpful
my code not displaying in Jupyter Notebooks
can we download the project visuasl as vedio?
Where is "try it" from down below ? I need the code for RK4
These videos are from a course at the University of Pittsburgh. I leave them publicly available in case anyone else finds them useful. "Try it" is an assignment that goes along with the video. In this case, the assignment is for the student to write the code for RK4 by following the setup in this video (9:45).
@@physicswithnero Thank you very much , I appreciate your help :)
Thanks for the video (very helpful) I still have a question Where is the code for RK4 ?
Minor correction: At around 14:30 , you need to divide \psi by \sqrt(norm) to get the normalized wavefunctions. Very nice work btw.
hi, i tested your code and like your way of description, but i tested the sin(20 * x) and expect one peak in frequency space at omega = 20, but this will not happen, thank you
You must choose x axia as possible omega then it does work.
Thanks! It was so hard to find a straight-forward easy to understand implementation of Power-Law fitting for Python.