![Quoc Dat Phung](/img/default-banner.jpg)
- 206
- 1 035 294
Quoc Dat Phung
Canada
Registrace 14. 07. 2020
Hi there! My name is "Quoc Dat", and "Phung" is my last name. I love creating content and making tutorials about math and coding on CZcams!
How to Count Occurrences of an Element in a List/Array/String
In this video, I will show you how to count the occurrences of an element or value inside a string, list, or array. We will use linear search to do this. First, we initialize a counter variable to zero. We traverse through the array. When we encounter that element or value, we increment the counter variable. This is an important computer science concepts that students need to know. In the next video, I will show you how to count frequencies of elements in an array.
zhlédnutí: 5
Video
Differences between Tight Big O, Tight Big Omega, and Tight Big Theta
zhlédnutí 65Před dnem
In this video, I will explain the differences between Tight Big O, Tight Big Omega, and Tight Big Theta. I will show you how to prove or disprove Big Omega Ω. For example, you are asked to prove that a function 2n^3 - 7n 1 is Ω(n^3). By the definition of big O, f(n) is O(g(n)) if you can find a positive constant c and a positive integer nₒ such that f(n) is less than or equal to c times g(n), f...
Stacks Explained in 60 seconds (FILO) - Data Structures and Algorithms
zhlédnutí 41Před 14 dny
In this video, I will explain stacks often taught in a data structures and algorithms course. Stacks can be implemented with an array or a linked list. If a stack is implemented by an array, it is called an ArrayStack. But if the stack is implemented by a linked list, then it is called a LinkedStack. Stacks have a special property called FILO, or First in Last Out. I show plenty of examples in ...
Find the Area of the Ellipse using Integral Calculus
zhlédnutí 481Před 21 dnem
In this video, I will show you how to prove the area of an ellipse using calculus integration. Recall that an ellipse is a regular oval shape, traced by a point moving in a plane so that the sum of its distances from two other points (the foci) is constant, or resulting when a cone is cut by an oblique plane which does not intersect the base. The area formula of an ellipse is A = pi*ab, where a...
Prove A = πr^2 using Integral Calculus - Area of the Circle Proof
zhlédnutí 524Před 28 dny
In this video, I will show you how to prove that the area of a circle is A = p*r^2 (pi r squared where r is the radius) using integral calculus. This is an important topic for students in high school or in calculus as the exam may require you to write the proof for the area of the circle formula. Please don't forget to share if you find this video helpful and also subscribe to support my channel!
Prove the Area of a Triangle using Integral Calculus
zhlédnutí 387Před měsícem
In this video, I will show you how to prove the area of a triangle using integral calculus. The area of a triangle is the one over two times the base times the height. First, you use the area formula under a function, which is equal to the integral from a to b of f(x), where f(x) is a curve of a straight line. Then, we evaluate that integral. This is an important concept to master for Calculus ...
Integral of cos(2x)
zhlédnutí 302Před měsícem
In this video, I will show you how to solve the indefinite integral of cos(2x) using u substitution. This is an important topic for students taking Calculus, whether it is AP Calculus or Calculus in university. The idea behind u-substitution is to simply the integrand. For example, we can simplify 1/(2x 4) with 1/u where u=2x 4. The second step is to differentiate u with respect to x, then plug...
Derive the Area of a Square using Integral Calculus (Circular Proof)
zhlédnutí 464Před měsícem
In this video, I will show you how to prove the area of a square using integral calculus. First, you use the area formula under a function, which is equal to the integral from a to b of f(x), where f(x) is a curve of a straight line. Then, we evaluate that integral. This is an important concept to master for Calculus students whether they are taking AP Calculus in high school or they are taking...
Derive the Area of a Rectangle using Integral Calculus (Circular Proof)
zhlédnutí 129Před měsícem
In this video, I will show you how to prove the area of a rectangle using integral calculus. First, you use the area formula under a function, which is equal to the integral from a to b of f(x), where f(x) is a curve of a straight line. Then, we evaluate that integral. This is an important concept to master for Calculus students whether they are taking AP Calculus in high school or they are tak...
Trigonometric Substitution (3 Formulas) - Calculus
zhlédnutí 135Před měsícem
In this video, I will show you how to use trigonometric substitution to solve integrals. There are 3 forms or formulas you need to know. I go through plenty of examples with trig substitution because this is an important topic. You should use trigonometry substitution when you cannot solve the integral with u substitution or integration by parts. There are three forms you need to know: the squa...
Integral of sqrt(x² - 2x)
zhlédnutí 82Před 2 měsíci
In this video, I will show you how to use trigonometric substitution to solve the integral of sqrt(x² - 2x). You should use trigonometric subsitution when you cannot solve the integral with u substitution or integration by parts. There are three forms you need to know: the square root of (x^2-a^2), the square root of (x^2 a^2), and the square root of (a^2-x^2). In the first case, x=asinθ. In th...
Solving the Integral in MY HERO ACADEMIA - Calculus Anime
zhlédnutí 902Před 2 měsíci
In this video, I will show you how to solve the integral from the anime My Hero Academia using Calculus! It is quite a difficult integral but it is not impossible if you know about hyperbolic functions. I hope you enjoy this video, please don't forget to subscribe if you like my solution!
Integral of sqrt(3-7x²) using trigonometric substitution
zhlédnutí 263Před 2 měsíci
In this video, I will show you how to use trigonometric substitution to solve the integral of sqrt(3-7x²). You should use trigonometric subsitution when you cannot solve the integral with u substitution or integration by parts. There are three forms you need to know: the square root of (x^2-a^2), the square root of (x^2 a^2), and the square root of (a^2-x^2). In the first case, x=asinθ. In the ...
Integral of (x² - 1)^-1.5 with trigonometric substitution
zhlédnutí 208Před 2 měsíci
In this video, I will show you how to use trigonometric substitution to solve the integral of (x² - 1)^-1.5. You should use trigonometric subsitution when you cannot solve the integral with u substitution or integration by parts. There are three forms you need to know: the square root of (x^2-a^2), the square root of (x^2 a^2), and the square root of (a^2-x^2). In the first case, x=asinθ. In th...
Integration By Parts - Calculus I
zhlédnutí 326Před 2 měsíci
In this video, I will show you how to solve integrals using Integration By Parts. You should use integration by parts when you cannot solve the integral with u substitution or trigonometric substitution. Usually, integrals that can be solved by integration by parts will have two parts in the integrand, the u part and the v part. We use the acronym LIATE, which stands for log, inverse trigonomet...
Variables and Data Types in Python are Easy 🐍
zhlédnutí 69Před 3 měsíci
Variables and Data Types in Python are Easy 🐍
How to Get User Input in Python (very easy) 🐍
zhlédnutí 96Před 3 měsíci
How to Get User Input in Python (very easy) 🐍
Integral of cot(x)ln(sinx) using Substitution
zhlédnutí 122Před 3 měsíci
Integral of cot(x)ln(sinx) using Substitution
How to Prove or Disprove Big Ω - Introduction to Computer Science
zhlédnutí 1,4KPřed 4 měsíci
How to Prove or Disprove Big Ω - Introduction to Computer Science
Print() and F-Strings in Python Explained ✔️
zhlédnutí 75Před 4 měsíci
Print() and F-Strings in Python Explained ✔️
Python for Beginners - Learn Python in 1 Hour (2024)
zhlédnutí 777Před 5 měsíci
Python for Beginners - Learn Python in 1 Hour (2024)
the goattt
Amazing Bro ...Learned from Afghanistan
Sir I can assume C to be any value right ?
Hello, brother Could you please talking about Counting sort😊
I'm working on it! So far I have videos on selection sort, insertion, bubble, mergesort, and quicksort! You can find them here: czcams.com/play/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC.html
@@QuocDatPhung I already watched all of your videos many time and you are the best DSA teacher😊❤️️
@@oeunbunsan2509 Thanks so much! I really appreciate it! :D
❤ cảm ơn e. A đã giải được rồi. Quá nhanh và đơn giản dễ hiểu
Cám ơn anh! Anh đăng kí và chia sẽ ủng hô em nhé!
Deep knowledge! I think its important for software engineers to understand the more theoretical side of things.
Thanks Nate! Please kindly share with your friends and subscribe to support me (it means a lot) ~ you can find all of my CS videos in this link: czcams.com/play/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC.html
love from India, it helps me A lot
Thank you! Please kindly share with your friends and subscribe to support me (it means a lot) ~ you can find all of my CS videos in this link: czcams.com/play/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC.html
It was the best thing that I could see right now ❤ Thank you 🎉
You're welcome Negin! Please kindly share with your friends and subscribe to support me (it means a lot) ~ you can find all of my CS videos in this link: czcams.com/play/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC.html
Excellent tutorial. I like your teaching techniques. I would love to see you do more Integration by U-Suubstition Problems. Thanks.
Thank you! I already did U Substitution, you can find it in this playlist below (pls don't forget to subscribe and share it means a lot): czcams.com/play/PLeTO6OT3-FKmuCeO97iKt_Aibx-a938JA.html
Thank you so much
You're welcome JadhavBalasaheb! Please kindly share with your friends and subscribe to support me (it means a lot) ~ you can find all of my CS videos in this link: czcams.com/play/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC.html
Thank you!
You're welcome Elaine! Please kindly share with your friends and subscribe to support me (it means a lot) ~ you can find all of my CS videos in this link: czcams.com/play/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC.html
Thanks
You're very welcome! Please kindly subscribe (it means a lot)
func TernarySearch(arr []int, length int, target int, mid1 int, mid2 int) int { if length != 0 { if target >= arr[0] && target <= arr[len(arr)-1] { if target == arr[mid1] || target == arr[mid2] { if target == arr[mid1] { return mid1 } else { return mid2 } } if target < arr[mid1] { return TernarySearch(arr[:mid1], length, target, mid1/3, mid1/2) } else if target > arr[mid2] { return TernarySearch(arr[mid2:], length, target, len(arr)/3, len(arr)/2) + length/2 } else if arr[mid1] < target && target < arr[mid2] { return TernarySearch(arr[mid1:mid2-1], length, target, len(arr)/3, len(arr)/2) + length/3 } } } return -1 } func main() { var arr = []int{1, 2, 3, 4, 5} fmt.Println(TernarySearch(arr, len(arr), 6, len(arr)/3, len(arr)/2)) } And here is my version of implementation in Go.
After watching a bunch of videos I finally came across one that I understood!
Thank you Ethan! Please kindly share with your friends and subscribe to support me (it means a lot) ~ you can find all of my CS videos in this link: czcams.com/play/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC.html
I have solved a lot of integration problems in my school days spending lots of hours solving complex integration problems without understanding what I was doing. I now seem to start understanding integration after many years of my college. All credit to you Quoc Dat Phung. Many Many Thanks. :)
Thank you Raghavs! Please don't forget to share with your classmates and kindly subscribe (it means a lot) ~ you can find all of my Calculus II videos in this link: czcams.com/play/PLeTO6OT3-FKmuCeO97iKt_Aibx-a938JA.html
Your lessons are very beautiful so share us the following lessons 1. Limit form the graph 2. Simpsons rule integration and its proof 3. Trapezoidal rule integration and its proof 4. Proofing formula of mean mode and median for grouped data
Thank you very much, bro. your video helped me with my grade calculation.
You're very welcome! Please kindly share with your classmates and subscribe to support me. I hope my videos will help your friends as well!
Amazing Explanation brother Can you please upload more videos of Leetcode it helps a lot ! thx
Will do! Please kindly share and subscribe, it means a lot!
@@QuocDatPhung Done my friend pls upload some more i love the way u Explanation this keep goin
This video was great, really liked the way you simplified each step and made it easy to understand 👍
Thank you Garu! Please kindly share with your friends and subscribe to support me ~ you can find all of my CS videos in this link: czcams.com/play/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC.html
I love you
Thank you! Please don't forget to share with your classmates and kindly subscribe ~ you can find all of my Calculus II videos in this link: czcams.com/play/PLeTO6OT3-FKmuCeO97iKt_Aibx-a938JA.html
This video is wortth diamonds!!!
you’re underrated, thanks for your work!
Thank you Mekabare! Please kindly share with your friends and subscribe to support me ~ you can find all of my CS videos in this link: czcams.com/play/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC.html
Wow. Area of ellipse= piab Sounds like the great city of some middle eastern country
lol :)
What an amazing explainer, loved it <3
Thanks DanilsonAdelino! Please don't forget to share with your classmates and kindly subscribe ~ you can find all of my Calculus II videos in this link: czcams.com/play/PLeTO6OT3-FKmuCeO97iKt_Aibx-a938JA.html
How did you get rid of the square root sign at 4:50 ?
So we have the integral of sqrt(a^2cos^2) * dx. This equals the integral of acosθ * dx Since dx = acosθdθ (located in the middle of the screen) We get the integral of acosθ * acosθdθ Now we get the integral of (acosθ)^2 * dθ Let me know if that makes sense!
Could you do a video about arc length and sector of a circle? Feel like circles are under appreciated on this channel.
For sure Nisha! I did a video on arc length in this playlist, if you can go into it and Ctrl F to find it: czcams.com/play/PLeTO6OT3-FKmuCeO97iKt_Aibx-a938JA.html
public static int FindMax(int[] arry, int max, int num) { if (arry.Length -1 < num) { return max; } if (arry[num] > max) { max = arry[num]; } return FindMax(arry , max, num + 1); } I just used one recursion method
That's correct as well! I recommend using two recursion methods (since mergesort and quicksort also use two recursion methods). I took a course on only recursion and I find that using the one recursion method takes longer to write. But also it doesn't matter if you use one or two. I prefer to use two though :)
@@QuocDatPhungcool! so what would you do if there are 100 thousand items in your list? ur stack will blow right
@@user-ej3oi1dp3p That's why I recommend using the iterative method whenever possible. The recursion is just for practice/challenge.
Dude, first of all, great proof! Second of all, what are you using to write down these proofs?
Thanks a lot Gandor! I write using the Wacom Tablet ctl 490. If you enjoy my calculus videos, please kindly subscribe and share with your classmates, and also you can find all of my Calculus videos here: czcams.com/play/PLeTO6OT3-FKmuCeO97iKt_Aibx-a938JA.html
@@QuocDatPhung Thank you so much!
@@gandorffromnorfolk No worries! I also use the Shotcut on desktop for editing, OBS for screen recording, and Sketchbook app for drawing :) Hope that helps!
@@QuocDatPhung Thanks a lot! I'll consider using the Sketchbook app (btw I love your calculus vids)
great video, very well explained!
Thanks Anton! Please don't forget to share with your classmates and kindly subscribe ~ you can find all of my Calculus II videos in this link: czcams.com/play/PLeTO6OT3-FKmuCeO97iKt_Aibx-a938JA.html
This is quality proof! Thank you. Ellipses are very interesting. You should do the proof of binomial theorem or a proof on the power rule in calculus using the binomial theorem. You're the GOAT Quoc Dat Phung!❤
Thank you for your support and suggestions!
Thanks
You're very welcome Entro! Please kindly share with your friends and subscribe to support me ~ also you can find all of my CS videos in this link: czcams.com/play/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC.html
@@QuocDatPhung Done!
could u share what tool you are using?
Hi Gadithya! I use wacom tablet ctl 490 to write. I also use the Sketchbook app, OBS to record the screen, and Shotcut for editing. I hope that helps! Please kindly subscribe and share my videos it means a lot!
very simple, thanks
You're very welcome Green! Please kindly subscribe if you enjoyed, it means a lot!
Thank you, subscribed
Thank you so much!
Thank you Faber! Please kindly share with your friends and subscribe to support me ~ you can find all of my CS videos in this link: czcams.com/play/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC.html
Niceeee.... Subscribed!
Thank you! Please don't forget to share with your classmates and kindly subscribe ~ you can find all of my Calculus II videos in this link: czcams.com/play/PLeTO6OT3-FKmuCeO97iKt_Aibx-a938JA.html
i love you
Thanks haha! Please don't forget to share with your classmates and kindly subscribe ~ you can find all of my Calculus II videos in this link: czcams.com/play/PLeTO6OT3-FKmuCeO97iKt_Aibx-a938JA.html
very well made videos. I liked your improper integral video too
Thanks Mr.Mansir! Please don't forget to share with your classmates and kindly subscribe ~ you can find all of my Calculus II videos in this link: czcams.com/play/PLeTO6OT3-FKmuCeO97iKt_Aibx-a938JA.html
That was a beautiful explanation!
Thank you Jacob! Please kindly share with your friends and subscribe to support me ~ you can find all of my CS videos in this link: czcams.com/play/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC.html
Absolute best video on Quicksort. I was looking at other vids from people with millions of subscribers and nowhere near as good as this. Thank you my good friend.
Thank you for your kind words Conor! Please kindly share with your friends and subscribe to support me ~ also you can find all of my CS videos in this link: czcams.com/play/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC.html
legend
Thanks Arlen! Please don't forget to share with your classmates and kindly subscribe ~ you can find all of my Calculus II videos in this link: czcams.com/play/PLeTO6OT3-FKmuCeO97iKt_Aibx-a938JA.html
Finally I got the concept after struggling several times
Thanks Subornaakter! Please don't forget to share with your classmates and kindly subscribe ~ you can find all of my Calculus II videos in this link: czcams.com/play/PLeTO6OT3-FKmuCeO97iKt_Aibx-a938JA.html
I never seen before an explanation like that!! Great video!!! Hugs from Brazil too
Thanks Danizeera! Please don't forget to share with your classmates and kindly subscribe ~ you can find all of my Calculus II videos in this link: czcams.com/play/PLeTO6OT3-FKmuCeO97iKt_Aibx-a938JA.html
Great. So no need for using axes x, y and z.?
For this one, no :)
finally well understand. Thank you very much
Thank you for your kind words Shuyao! Please kindly share with your friends and subscribe ~ all of my CS videos are in this link: czcams.com/play/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC.html
Great video, excellent explanation, made everything very clear! hugs from Brazil
Do Brasil também, oh coincidência! 🤣🤣🤣
thank you so much Quoc love you bro!
You make learning entertaining
all these problems are just copied and pasted from blackpenredpens channel. at least change the numbers
I took these problems from the textbook "Early Transcendentals - 9th Edition" by James Steward. It's a famous textbook used by many teachers and professors.
👍
Cool 😎😎❤.. good video.
Thank you for your kind words Subhambanerjee! Please kindly share and subscribe~ all of my CS videos are in this link: czcams.com/play/PLeTO6OT3-FKmuxOu4RtupTay1yrMp6QGC.html