you must have read my mind! Just starting an in-depth course in classical mechanics, those symbolic Lagrangians will save me a lot of time, thank you! :)
You are really great at teaching, sir! I love the way you show examples, tracing back if something «went too fast». You dont assume we know all the small things you know so really well yourself, which is easy to forget about when explaining things in my opinion. Superb stuff!
The default solution to `sols` on my system has turned out substantially more complex than shown in your video. Consequently, in order to obtain exactly the same results, smp.simplify() had to be added as such: sols[sp.diff(theta, t,t)].simplify() sols[sp.diff(z, t,t)].simplify() Frankly, I'm still awed by the fact that presumably, human engineers, had actually managed to create the SymPy algorithms capable of dealing with such complex expressions flawlessly.
Looks like a typo has occurred in your part of the code (2*n*(sp.factorial(n+l)))) \ If you look at the formula above you will see that it should be (2*n*(sp.factorial(n+1)))) \ leaving us with differing numeric results after substitution further down. Consequently: Interpreting the above formula correctly with SymPy results in a linear relationship with plt.scatter(ns, ds) and not an exponential one. I strongly feel that the discrepancy in the interpretation of the original formula ought to be double-checked, before more students who are not entirely on par with quantum mechanics find themselves stranded.
How is your menu on pressing tab totally different from mine (yours have them sorted in instanced, functions , etc.)? Can you let me know (or make a video) on all the settings and extensions you have on your setup? Thank you!
Excellent video, thank you very much! Not entirely related but do you have any book/course recommendation for an introduction to differential equations?
let's say i solve a differential equation using dsolve. Now i want to use the output say y(t) = .......(something). Is there any way to use the result to solve for t when y=2?
12 mins into, I got this error: multiple generators [y, sin(y**2)] No algorithms are implemented to solve equation y*sin(y**2) + z** It seems I cannot find x,y,z values that make he function F = 0. Any suggestions?
At 26:20, I understand what is happening but I don't understand how the code works. f and g are first instantiated as `UndefinedFunction` type. How is it that I can call them right away with arguments. My understanding is you call a certain method of an object defined within its class type. But here we're calling the object itself? That feels kinda funky to me. What is going on?
Idea - What is energy? - My guess - If you iterate y = model(X) and loss = mean((X-y)**2) that is let y -> X an image then using only one image X it will succeed. But y will not become X completely there is a residual y = X + dX. Its the dX that is the universe energy. Change something with dX and the approximation of the function restores the energy to its vibrant small state. Small compared to the entire universe. Its like hydro if you place something infront of the flow of water it will move it same with dX differences. Thats is energy. So it open ups new opportunities. Energy is dependent on squaring a function the error. So if the err0(t[123]) ^ 2 = err1(t[123]) ^ 4 then you got much stronger energy. So accumulate energy from timed extraction for that super power.
Dude as someone that's new to python but an experienced developer with a Physics undergrad... Python is the best and the worst of everything. The tools are incredible... but EVERYTHING. Literally everything apart from Numpy and Pandas and a few others use this insanely lazy and horribly put together auto-generated documentation. That will be the death of Python I promise.
Also... fun fact... when you highlighted those functions, you can run help(justAboutAnyPackage.thatMysteriousFunction) and it will print a **usually** more informative docstring than what's available on these $%#% autogenerated documentation sites. If you use an ide you'd have to run that in the terminal, but jupyter will print it out right in the output.
Thanks, mate, this helps me a ton. I thought I'd need to completely switch to Mathematica for my project, but this gets me where I need to in Python. Much appreciated.
I don't get why you said that it's a good practice to use smp.Rational(1/2) instead of just writing 1/2 or 0.5 there. In larger problems, will the latter be not more time-saving in nature?
thanks, very useful video! I tried to calculate the integral that is taken by residue (from the theory of a function by a complex variable) but sumpy give useless answer. Do you know how help program and give some advice that it is necessary to solve it residue? so my problem: integrated (dw/((w^2-1)^2+w^2) from -inf to +inf) I now answer, it very simple: pi
Hey Mr. P Solver, great contents on your channel ! new subscriber here. I have a small suggestion, you could flip your camera recording horizontally and it would look like you're looking towards the right area on the screen.
This video takes my math friends to ⇨ SymPy :) Some people use: import sympy as sy, and .n() instead of .evalf() . Application for atom -- thanks for answering my childhood curiosity!