Are you going for the streamer/gamer video stile? I like that :) The camera looks good, allow me to suggest you to get a condenser microphone if you crave that clean and deep studio voice and it would probably remove a little bit of keyboard noise too. The sound is almost always more important than the video, especially for headphones users and especially if you talk a lot in your videos, wich you do. I would remove that thick black outline in the camera overlay, i think it would look sharper and more modern, and i would also reframe it in a 16:9 ratio in but that's my personal taste. As for the location of the overlay on the screen, try to see which one works best for your type of videos. I've been watching your videos all week, you are a talent, i've never coded in my life but i'm installing jupyter right now, have a good day :)
Awesome! I learned something new that integrating a dataset using the cumulative_trapezoid function removes the noise and actually produces a smooth curve! Very nice ❤️❤️❤️
I shouldn’t ask this because I’m not worth it, but could you upload something related with fenics and python? *********** Many thanks for all your videos, I really appreciate them!
I love watching your tutorials. Now, two years later and python3.11 and whatever is the newest version of sympy, one can get a solution involving the gamma function for the first example of an "unsolvable" integral at 6:49. I'm getting a solution.
Hmm. Any expression I can write down. . . 🤔 $\int\limits_{-\infty}^{\infty} \frac{\log{\left(x^{4} + 1 ight)}}{x^{2} + 1}\, dx = \;ln\left(6+4\sqrt{2} ight)^{\pi} \; = \;7.71542$ Haven't got many teeth left. Most of them are already bitten out. 😒 What we need is someone as sharp as a knife who knows how to instruct Scipy to take a stab at it; or owns a woodsman's Hatchet that helps him hack the function to bits. 🙄
I tried to duplicate your Covid example. I have a .csv file with two columns for date and total cases. The dates are formatted like this: 2023-03-14 When I run your example, np.loadtxt keeps giving the error: "could not convert string '2023-0314' to object at row 0, column 1" What's the solution to this problem? Thanks very much!
Yes, your lectures are tremendously useful in terms of promoting accurate thinking. Speaking of Pyhsics and all the struggle pertaining to an obsolescent energy source such as oil, please forgive us for throwing this in, I tend to think that Einstein's thinking led us into a blind alley; restricting us to Light Speed with one's reasoning limited to the paradigm of space-time, in light of the fact that Laplace had set out, and succeeded to transform all functions of time. Where does this lead us philosophically? A Hyperspace or S-Domain reality too abstract to get us across the galaxy in no time at all? 🤔 This, of course, brings us to the issue of Gravity and the utilization of its underpinning principles for the purpose of obtaining free Energy. Given Newton's intuition that Gravity can't possibly be a quality of matter, but a force introduced into matter-matter interaction as the result of an external phenomenon, described by Dr. Nieper in the 1970s, as a latent, omnipresent scalar field. Rather than the Einsteinian space curvature caused by putting lecture room planets on the fabric of a dormitory bedsheet space. Nieper goes on, that if disturbed correctly, let's say by way of a 3D in itself rotating magnetic field, energy greater than the power needed to create that magnetic field was produced. Allegedly, the measured efficiency of such a system was at least 300%. I'm still trying to get my head around that part of electromagnetic theory. Maybe you can do better. 😦
Hello!I need little bit help from you.I have a maths course "Time Scale Calculus", and I want to do coding in python of this course.When I import timescalecalculus as tsc, module not found error came,please help how I can get this tsc module in my python.please help 😭
How about integrating over matrix elements? So every matrix element is an f(x). Could you cover that or give some references, that would really help! (Without just looping over entries)
you guys can try this code snippet that i made , just the difference is in my case you won't need quad method to solve integrals numerically.check it out . def integrate_analytically(): import numpy as np import scipy as sp import sympy as smp from scipy.integrate import quad x=smp.symbols('x',real=True) a,b=smp.symbols('a b',real=True,positive=True) f=eval(input("ENTER FUNCTION WHOSE INTEGRAL IS NEEDED : ")) print("") print("") print(" IF YOU NEED INTEGRAL AS EXPRESSION PRESS - 1 ") print("") print("") print(" IF YOU NEED ANSWER AS AREA UNDER THE CURVE PRESS - 2 ") q1=eval(input(" ENTER 1 OR 2 :")) if q1==1: print("") print("") fdx=smp.integrate(f,x).simplify() print("THE INTEGRAL OF f(x) is = ",fdx) print("") print("") print("THE INTEGRAL OF ",f," is = ",fdx) return fdx if q1==2: r=eval(input("ENTER LOWER LIMIT :")) s=eval(input("ENTER UPPER LIMIT :")) print("") print("") fdx=smp.integrate(f,(x,r,s)).evalf() print("The Area under curve (",f,") between",r,"and",s,"is = ",fdx) return fdx
f = sp.exp(-x**4) - $\frac{\gamma\left(\frac{1}{4}, 1 ight)}{4} + \frac{\gamma\left(\frac{1}{4}, 16 ight)}{4}$ Therefore the Integral has a definite solution that can be further evaluated to return a numeric result for the given area under the curve: intgral_sol.evalf() = 0.0615638789309999
Of course, SymPy can't give us an analytical solution when the variables [a, b = 2, 3] are not defined. By pre-defining, `a` and `b`, our functions look much more manageable ==> $\color{blue}{\frac{1}{\left(2 - \cos{\left(x ight)} ight)^{2} + \left(3 - \sin{\left(x ight)} ight)^{2}}}$ Hence: sp.integrate(f, (x, 0, 2*sp.pi)).simplify() = π/6, rather than, 0.5235987755982989
Very nice presentation and thank you so much. This is the best way to teach programming i think. One should not just spell out the correct syntax. The learner needs to understand the errors as well. Surely with chatGPT, now it is easier to identify the errors. Still this was helpful.
Thank you brother, I was working on problem regoriously last 5 days continuously . I was stuck . I just needed one command which i understand from you video. Thamnks a lot, man.
@Mr. P Solver Great video, very helpful! I was wondering how you are able to automatically display your output as formal equations rather than code? Also, is there somewhere I can find the sample data you used in this tutorial?
Jeez, the algorithm is getting good. I needed this today for a real world data set. I think I arrived at an OK answer but in an incredibly roundabout way. Integration of real world time series data is so useful in my line of work. Thank you so much.
Probably because cumulative trapezoid on its own doesn't take into account the spacing in x (which is probably 0.1 in this case). Did I make this error in this video?