1st Year Calculus, But in PYTHON

Поділитися
Вставка
  • Опубліковано 2 січ 2025

КОМЕНТАРІ • 149

  • @matthewkinahan3945
    @matthewkinahan3945 3 роки тому +126

    And this is the lad I hangout with everyday. 10/10 content m8

  • @dusanpunosevac7348
    @dusanpunosevac7348 3 роки тому +58

    Man, I am getting more into ML and thinking about PhD, and sometimes when I do math stuff by hand, I want quick validation, and this, this is awesome! Great content!

  • @redserpent
    @redserpent 3 роки тому +26

    Amazing video. You have inspired me to code and continue to learn Calculus. I was about to give up, after 30+ yrs of frustration. Thank you.

  • @hsh7677
    @hsh7677 3 роки тому +72

    I love your channel!!!
    Your content is unique!!
    Please keep it up!!
    As a mechanical engineering student learning python by myself, your channel is my biggest source of inspiration and information.
    Thank you so much 🙏

  • @ehudmigdan
    @ehudmigdan 2 роки тому +6

    Dude you're awesome!!
    Love the intros where you convince us that knowing python is important when we obviously agree.
    Thank you for the informative videos

  • @yusufcelik1494
    @yusufcelik1494 3 роки тому +15

    this is the channel that i've always dreamed of.Excellent content!!!

    • @yusufcelik1494
      @yusufcelik1494 3 роки тому

      @Ali Burak Ahahaha haklı olabilirsiniz 😂 Ya da belki İngilizce yorum yapmaya çekiniyoruzdur.

    • @yusufcelik1494
      @yusufcelik1494 3 роки тому

      @Ali Burak Kesinlikle :) Size de iyi günler

  • @gedavaa1
    @gedavaa1 Рік тому +3

    I am retired mining engineer from Mongolia and your videos helped me to improve my knowledge in python usage for mineral processing modelling.

  • @AhmedMoHassan24
    @AhmedMoHassan24 2 роки тому +7

    You are very great person for providing this tutorial totally for free
    + It is great cuz this math-physics-programming content is really rare

  • @moyndebs6759
    @moyndebs6759 2 роки тому +10

    I’m a geologist & this has helped me a lot. Thanks 🙏

  • @demidevil666
    @demidevil666 Рік тому +3

    I wonder how I managed to pull though my bachelor's degree in mathematics without ever hearing about sympy. This is gold! Thank you for this presentation.

  • @Eighty_80_WAW
    @Eighty_80_WAW 3 роки тому +3

    Awesome. All your contents are unique comparing to several you tubers on Python. interesting.
    I wonder why can not get tens of thousands subscribers.

    • @MrPSolver
      @MrPSolver  3 роки тому +1

      Give it some time, I'm only 4 months old ;)

  • @rljpdx
    @rljpdx Місяць тому

    i noticed your little thing about trig. when i was learning the thing that made trig simple for me was just to simply write out the number instead of the trig function and then it just looks like regular math. this is just something I did to make it easier on me as before I memorized all the the tables I use to have a hangup with trig as well. and then just as a function of time you just automatically end up using the symbols cause it's easier and less writing. great vid

  • @ssutton4455
    @ssutton4455 2 роки тому

    Holy hell, this is life-saving content dude! I've got a very intimidating job that I'm studying for and this is exactly what I need.

  • @Morphine-691
    @Morphine-691 3 роки тому +4

    Awesome bro 👍😌👌❤️, I am Learning Data Science & Machine Learning. After completing Calc 1, Calc 2 & Calc 3 on pen & paper I was searching the Calculus concept in python.

  • @leeroymagora1206
    @leeroymagora1206 3 роки тому +4

    as a culculus enthusiast, this a good way to learn python

  • @lakshyavaibhavdatta9098
    @lakshyavaibhavdatta9098 2 роки тому +1

    Oh, how I wish this video existed 13 years ago!

  • @AJ-et3vf
    @AJ-et3vf 3 роки тому +3

    Once again, another nice, straightforward, and inspiringly informative video! I learned something new again particularly the .n() method at the end and your use of sympy's Rational() method. I'm actually amazed that sympy was able to do the integrals in this video because in my own experience, sympy was unable to take the inverse laplace transform of not very complicated rationals, like it can take the partial fraction expansion which outputs simple rationals, but it can't get the inverse laplace transform of those!
    Also, about sympy not giving you the integration constant, the sympy documentation actually says that if you want sympy to yield the integration constant, you reframe the problem as a differential equation problem and then use dsolve which outputs the antiderivative along with the constant.
    Again, thanks for the awesome python vids! I get motivated to do and enjoy Python ❤️

  • @AssasinParkour
    @AssasinParkour 3 роки тому +4

    Great video, greetings from Brazil

  • @futurisold
    @futurisold 3 роки тому +3

    Lots of love from Eastern Europe!

  • @apachaves
    @apachaves 3 роки тому +3

    Awesome! Thank you very much for this content! More stuff on Sympy please!

  • @secretalias2264
    @secretalias2264 2 місяці тому

    If it's finicky to cut and paste the expression into the next line of code, suppose you wrote a bunch of stuff on line 38, ie cos(x/1)-tan(x) you can write sp.diff(_38) on the next line instead of cut and paste or retyping and it will give you the derivative of whatever is on line 38. As far as I'm aware this only works in Jupyter Notebook.

  • @ekbhatnagar
    @ekbhatnagar 3 роки тому +2

    Good and informative channel. Being a engineering student, its really useful. Thanks.

  • @icebluscorpion
    @icebluscorpion 9 місяців тому

    This lad is the type of person whom I hang out and philosophy with. Keep it up pal! U r gr8! 😎👌

  • @mardibenton7366
    @mardibenton7366 2 роки тому

    now, I know there are a lot of people on this who play with code, or play with math, and I just want to say that this kind of content (@Mr. P Solver) helps to make math so much more accessible, and this accessibility can be a game changer for the many many people. Thanks so much for the content, and keep, it coming!!!!

  • @robkelley1638
    @robkelley1638 Рік тому

    Excellent tutorial about the practical use of Sympy.

  • @Lusypher
    @Lusypher 3 роки тому +9

    Loved your contents!
    Can you make a video on solving Partial Differential equations of order 2 (or more) with Python?

  • @Grace_Podcast
    @Grace_Podcast 3 роки тому +3

    Best course ever!! Can you possibly do Calculus Year 3? I assume you plan on doing that too. This is what I've been waiting for a long long time.

  • @gedavaa1
    @gedavaa1 Рік тому

    Hey, I very much love your channel and it makes me python lover!

  • @havocmike1131
    @havocmike1131 2 роки тому

    😂😂😂😂The song at the beginning inspired me. In fact, it earned you 1 big fan🥳🥳

  • @analuizamarciano512
    @analuizamarciano512 3 роки тому +2

    This is really good content.
    Greetings from 🇧🇷.

  • @KyrychenkoAnton
    @KyrychenkoAnton 3 роки тому +3

    This is cool but I believe when I tried it - wolfram had actual solving explanation of differential equations at least, like what transformations you apply at any step, and thats pretty cool, helps you understand it actually and not just get an answer. Can sympy do this too?

  • @The1RandomFool
    @The1RandomFool 2 роки тому

    Doing the final sum number 80 by hand using Fourier series, it is equal to pi^2/3 - pi/2 + 1/4.

  • @guilhermwn
    @guilhermwn 10 місяців тому

    I'm on my fourth periodo in Eletroninc Engeneering, i failed some subjects, but that's it, and just learned of this in python, the amount of things useful for me that this has is amazing, i believe that from this point onward in my course i will need more complex calculations done faster and sympy or other modules are gonna help me with that

  • @md.shahriarabidswapnil604
    @md.shahriarabidswapnil604 Місяць тому

    have subscribed. thanks bro for your efforts. wish i searched and knew about these earlier.

  • @andreapaps
    @andreapaps 3 роки тому +1

    Layed it out so nicely thanks a lot :D

  • @robertsilva9931
    @robertsilva9931 10 місяців тому

    Holy crap!, if I had had this tool when I was in the university, I would have been at NASA instantly!. Thanks for sharing.

  • @amarvarma3210
    @amarvarma3210 3 роки тому +1

    Such a wonderful idea and neat explanation, Thank you very much

  • @ngochieudev
    @ngochieudev Рік тому

    Amazing video. You have inspired me to code and continue to learn Calculus

  • @samblake9953
    @samblake9953 9 місяців тому

    “It’s a complicated relationship between math and me but alas” 14:10 … never felt words any more than those

  • @edvinte
    @edvinte 15 днів тому

    Dudeee you would be a phenomenal teacher

  • @amreshverma5747
    @amreshverma5747 3 роки тому +2

    When I run the code why doesn't my Jupyter notebook print the mathematical expressions in this beautiful form instead I get the usual 1/sin(x) type syntax? Any idea anyone?

  • @ashutoshchakravarty2669
    @ashutoshchakravarty2669 3 роки тому

    THE most informative video online

  • @Freeflier1978
    @Freeflier1978 3 роки тому +3

    Thanks for this video. My University uses MATLAB and we get free access, but I do a lot of data stuff in Python and prefer Python.

    • @navjotsingh2251
      @navjotsingh2251 2 роки тому +1

      Matlab is amazing…if you can afford it 😆

  • @Nobuhara
    @Nobuhara 3 роки тому +2

    Sympying my ride! Great work! +1sub

  • @garbage_blob
    @garbage_blob 2 роки тому

    This video is fantastic, why didn’t this get recommended to me before?

  • @Maniclout
    @Maniclout 3 роки тому +6

    "you don't wanna spend hours writing by hand"
    That's what I have to do everyday as a mathematics student xD but you get used to it

  • @kartikkalia01
    @kartikkalia01 3 роки тому +2

    Yo this dude made nerdy stuff cool

  • @dy6697
    @dy6697 Рік тому

    Thanks for this, a nice refresher

  • @bot5am
    @bot5am 2 роки тому

    What a banger vid, brotha!

  • @camilotello3296
    @camilotello3296 2 роки тому +1

    Sublime, this is perfect.

  • @RuediSeiler
    @RuediSeiler Рік тому

    Really nice video. However please note that in the line between 76 and 77 the terms in the sequence are NOT going positive-negative. It is in fact more or less the harmonic series.

  • @tulpamedia
    @tulpamedia 7 місяців тому

    I personally think that python is the best at calculus. Other programming languages like C++ tend to be really difficult to work with. With C or C++ you have to focus more on the programming language itself rather than the actual mathematics itself. Python makes it very easy to solve things like differential equations without much of a hassle. Especially when it comes to libraries like Sympy and Scipy. Even solving a derivative in C++ is very tedious. In python with Sympy, you can find basically every kind of derivative in a couple of lines. Python has been such a useful tool for me when I am trying to model physical systems or working with differential equations.

  • @pelusa1241
    @pelusa1241 Рік тому

    24:05 its not “arctan”, its “cotangent”. 🙂

  • @sucksh97
    @sucksh97 3 роки тому +3

    Buen video crack, sos el mejor!.
    I have a question, it is possible to define a symbolic function f(x) and then evaluate it at some symbolic point x=a (symbolic) or a numerical point, for example, at x=1?

    • @AJ-et3vf
      @AJ-et3vf 3 роки тому +3

      Sympy's symbolic functions are undefined functions so you can't assign values or expressions to them, but there's still a workaround/solution to your problem. You define a symbolic expression, say, f = sympy.sin(x), and if you want to evaluate it at certain points, symbolic or numeric, you use sympy's subs method. Using my example, you do f.subs(x, a) or f.subs(x, 1). In the case of a numerical point, if you want it to output floating-point values, you use f.evalf( subs = {x:1} ). This is more preferable, more numerically stable, and what the sympy documentation recommends than using evalf immediately after using subs like f.subs(x, 1).evalf(). If you want more information, sympy's documentation is one of your primary resources docs.sympy.org/latest/index.html.

  • @СергейЯкушев-ъ3д
    @СергейЯкушев-ъ3д 2 роки тому

    Brilliant explanation! Appreciate!

  • @OscarMtz88
    @OscarMtz88 3 роки тому +1

    Love your vids keep it up!

  • @sir_no_name1478
    @sir_no_name1478 2 роки тому

    With this video you probably saved my degree ^^

  • @meetghelani5222
    @meetghelani5222 Рік тому

    1:00 - The image of a legend.

  • @desainad
    @desainad 2 роки тому +1

    Is there a mechanism by which a user can input formulas or equations in native format, and for us to save the same in a database? I have seen MathType, which is very close to what I have in mind, and am yet to figure out how it should sit in the database. Any quick thoughts/pointers?

  • @Igdrazil
    @Igdrazil Рік тому

    Gorgious. Can you do Pade integrals with Python? And Analytic continuation? Hestenes Geometric Algebra ?

  • @protocolwonder4558
    @protocolwonder4558 7 місяців тому

    you earned a new subscriber

  • @SomeshRajvlogs
    @SomeshRajvlogs 2 роки тому

    woah ! Great content man.
    Also your dissstracks🤣

  • @fateenahmed659
    @fateenahmed659 2 роки тому +1

    This is just perfect 💯

  • @begashawtadesse6145
    @begashawtadesse6145 2 роки тому

    Thank you for making simple and intersting

  • @upgraduate
    @upgraduate 2 роки тому

    Thank you very much for this nice tutorial.!!!!

  • @nitinchaudhary5078
    @nitinchaudhary5078 3 роки тому +1

    Truly fascinating...

  • @Vegito-OP
    @Vegito-OP 2 роки тому +1

    This video is really awesome
    The content is excellent
    Thank you so much sir☺

  • @danielrojomata2064
    @danielrojomata2064 3 роки тому +1

    Thank you very much! :)

  • @Eduardoapoliano
    @Eduardoapoliano 10 місяців тому

    Ok, but how can i see the math symbols like you, now I'm using replit (online compiler). I'm beginning learning python, so it maybe sounds like a dumb question hehe

  • @danielyousif8186
    @danielyousif8186 2 роки тому +1

    If I'm using Pycharm is there a way for the output to be rendered in Latex?

  • @muhammadaarizmarzuq295
    @muhammadaarizmarzuq295 3 роки тому

    your channel's the best

  • @haseebnabi8543
    @haseebnabi8543 Рік тому

    This guy is like an angel from the fucking sky

  • @Miracle-uc6es
    @Miracle-uc6es 2 роки тому

    Hey, mate I have a question for you.
    at 6:36 you have 2 limit question.
    For the first one x -> 0+, and the result is +2,
    For the second one x -> 0-, and the result is 0
    Now normally as far as I know if the results are different, then there shouldn't be limit at x -> 0.
    However, when I take the limit x->0 there is an answer and its +2
    Why is this happening?

    • @nburo
      @nburo Рік тому

      Sympy doesn't do limits "from both sides" by default. If you don't specify a direction, it goes + by default. If you want a bidirectional limit, you need to specify dir='+-'.

    • @Miracle-uc6es
      @Miracle-uc6es Рік тому

      @@nburo But the example I gave here is a simple one. What I really want to say is this: Sympy will give me an answer every time. Since this is a simple example, I know the answer. But what if I ask a question whose answer I don't know? How can I be sure that the answer it gives me is correct? I wish it had a guide that's simple yet comprehensive.

  • @harveerSingh-iy9xz
    @harveerSingh-iy9xz 2 роки тому +1

    Quality content🤩🤩🤩🤩🤩

  • @sayednab
    @sayednab 2 роки тому

    do you have videos on portfolio optimization/management and data science in general?

  • @monikaparmar2061
    @monikaparmar2061 3 роки тому +3

    Great content.

  • @TheMusicalArtist
    @TheMusicalArtist 8 місяців тому

    I was really hoping the class was like the intro song … all sing along lesson

  • @BorisGlebov
    @BorisGlebov 2 роки тому

    amazing stuff. thanks you!

  • @e-Technik
    @e-Technik 3 роки тому +1

    Sympy you gotta do it :D

  • @structureexpert7985
    @structureexpert7985 2 роки тому

    God explanation bro. really enjoy your tutorial.

  • @gustavojuantorena
    @gustavojuantorena 3 роки тому +1

    Awesome video!

  • @carlosquisihualpa7105
    @carlosquisihualpa7105 2 роки тому

    Hey, what is the difference using "import sympy as smp" and "from sympy import *". Thansk for your reply and grettings from Perú.

  • @CarlosBonin
    @CarlosBonin Рік тому

    This is pretty impressive. Is there a way to integrate sympy with LaTeX? I mean, I know how to write expressions in LaTeX. Could I use LaTeX to write the Sympy expressions?

  • @csjfd1764
    @csjfd1764 Рік тому

    Hello ! Could you pass the path, by which you can use the notebook with python, for calculus ?

  • @Astro_sam_8543
    @Astro_sam_8543 2 роки тому

    damn that song was superb

  • @Motherclucker369
    @Motherclucker369 2 роки тому

    But can you put this on a TI nspire cx 2…not the CAS version?

  • @The1RandomFool
    @The1RandomFool 2 роки тому +1

    IMO, nobody should be paying such a ridiculous amount of money for Mathematica when there are such good free and open source alternatives.

  • @Oberon621
    @Oberon621 3 роки тому

    How to get colored functions? For instance, smp.diff is all black for me.

  • @bec_Divyansh
    @bec_Divyansh 2 роки тому

    This is amazing!

  • @parameshwarhazra2725
    @parameshwarhazra2725 Рік тому

    if they don't play this intro rap song in my wedding, I'll riot!

  • @h.m.m3262
    @h.m.m3262 2 роки тому

    Peace be upon you Oh teacher
    professor I have a question if you can help me be grateful
    Let's say we have a series made up of
    X(n) =[(n/1),(n/2),(n/3),..., (n/n)]
    How do I tell Python to get me natural numbers (meaning non-fractional numbers) from this series if the value of n=100

  • @matteopiccioni196
    @matteopiccioni196 3 роки тому +3

    Wonderful

  • @Balloonlol84
    @Balloonlol84 2 роки тому

    Help me please :) How do I write ln(x-1) in Sympy. I do not really understand that part.

  • @alperklc7782
    @alperklc7782 3 роки тому +1

    thanks

  • @BlueSkyGoldSun
    @BlueSkyGoldSun 2 роки тому

    What is your opinion on people saying that calculus is debunked and is a hoax?

  • @lajuelar
    @lajuelar 3 роки тому

    is this a jupyterlab or jupyter notebook? What is this interfcae?

  • @frankkoslowski6917
    @frankkoslowski6917 Рік тому

    Hmm. Says: "I don't like trig functions. It's a complicated relationship between math and me. . . " 🤔
    What an odd thing to say.
    Why not try practicing some Tai Chi?
    It is filled with Trigonometry and diagonal Vectors defining the Body's proper geometry as outlined in the maker's specifications booklet;
    so that the whole thing is balanced and no one ends up dragging their knuckles through the dirt due to an acquired office chair imbalance affecting posture and gate. 🤗
    This is from an actual 1st-year math paper, exam preparations WAIT (Western Australian Institute of Technology) 13-5-1987:
    $\int\frac{\sqrt{(9-4x^2)}}{x}dx$ = $3\int cosec(\alpha)-sin(\alpha)\enspace d\alpha}$ using the trigonometric method.
    Now have a look at what SymPy comes up with, innately bypassing lengthy but tidy trigonometric substitutions :
    sp.integrate(sp.sqrt(9-4*x**2)/x) 😉

  • @auwalsani824
    @auwalsani824 2 роки тому

    Which text editor are you using bro.
    Vscode terminal not displaying the result like yours

  • @typeer
    @typeer 3 роки тому +1

    thanks this is great

  • @cybern9ne
    @cybern9ne Рік тому

    Amazing. *You* really think that *you're* solving the problem.

    • @Andrea-gb9qc
      @Andrea-gb9qc 9 місяців тому

      What do you mean?

    • @cybern9ne
      @cybern9ne 9 місяців тому

      @Andrea-gb9qc you demonstrated how to use a tool that provides an answer to the statement. You didn't use brain power to solve the problem.