College Algebra - Full Course with Python Code
HTML-код
- Опубликовано: 7 фев 2025
- Learn college Algebra from an experienced university mathematics professor. You will also learn how to implement all the Algebra concepts using the Python programming language.
💻 Syllabus & Code: github.com/eda...
✏️ Ed Pratowski developed this course for freeCodeCamp.org.
⭐️ Contents ⭐️
⌨️ (00:00:00) Introduction
⌨️ (00:14:02) Ratios, Proportions, and conversions
⌨️ (00:32:22) Basic Algebra, solving equations (one variable)
⌨️ (01:07:44) Percents, Decimals, and Fractions
⌨️ (01:40:33) Math function definition, using two variables (x,y)
⌨️ (02:17:13) Slope and intercept on a graph
⌨️ (03:28:53) Factoring, finding common factors and factoring square roots
⌨️ (05:05:40) Graphing systems of equations
⌨️ (05:36:09) Solving systems of two equations
⌨️ (06:06:17) Applications of linear systems
⌨️ (07:30:29) Quadratic equations
⌨️ (09:34:44) Polynomial Graphs
⌨️ (10:19:10) Cost, Revenue, and Profit equations
⌨️ (11:05:19) Simple and compound interest formulas
⌨️ (12:15:27) Exponents and logarithms
⌨️ (14:19:13) Spreadsheets and Additional Resources
⌨️ (15:06:10) Conclusion
🎉 Thanks to our Champion and Sponsor supporters:
👾 Nattira Maneerat
👾 Heather Wcislo
👾 Serhiy Kalinets
👾 Erdeniz Unvan
👾 Justin Hual
👾 Agustín Kussrow
👾 Otis Morgan
--
Learn to code for free and get a developer job: www.freecodeca...
Read hundreds of articles on programming: freecodecamp.o...
❤️ Support for this channel comes from our friends at Scrimba - the coding platform that's reinvented interactive learning: scrimba.com/fr...
I refuse to believe this is free. You guys are so precious.
⭐ Contents ⭐
⌨️ (00:00:00) Introduction
⌨️ (00:14:02) Ratios, Proportions, and conversions
⌨️ (00:32:22) Basic Algebra, solving equations (one variable)
⌨️ (01:07:44) Percents, Decimals, and Fractions
⌨️ (01:40:33) Math function definition, using two variables (x,y)
⌨️ (02:17:13) Slope and intercept on a graph
⌨️ (03:28:53) Factoring, finding common factors and factoring square roots
⌨️ (05:05:40) Graphing systems of equations
⌨️ (05:36:09) Solving systems of two equations
⌨️ (06:06:17) Applications of linear systems
⌨️ (07:30:29) Quadratic equations
⌨️ (09:34:44) Polynomial Graphs
⌨️ (10:19:10) Cost, Revenue, and Profit equations
⌨️ (11:05:19) Simple and compound interest formulas
⌨️ (12:15:27) Exponents and logarithms
⌨️ (14:19:13) Spreadsheets and Additional Resources
⌨️ (15:06:10) Conclusion
Gracias caballero 😊
Not all heros wear capes.n Thank you.
bro just copypasted the description
@@vic-pm3rmhay varias razones
1) porque la descripción no se puede traducir para que los que no sepan inglés lo entiendan.
2) porque no todos los que ven estos videos saben ingles
Thanks.
Godspeed to those that make videos like this free and easy to access, truly thank you
this video is the Lord's work. it is so appreciated. Changing lives, one upload at a time....
Deus Vult
Thank you for all the incredible content that you share in the RUclips channel
私は以前より青山さんを応援しており、これからもずっと応援していくと思います。
が、LGBT理解増進法案についての対応にはとても残念に思っております。
法案に反対である青山さんのお気持ちは理解できる(つもりです)が、残念ながら自由民主党内の議論で負けてしまったのです。指導部のやり方がキタナイのかもですが、負けてしまった以上、党の方針に従うのが党員の責務ではないでしょうか?
「反対って言っていたのに結局賛成した」「裏切られた」等々、事情を知らない人達からの誹謗中傷をこれまで以上に受けるでしょうが、青山さんの大義をこんな事(といっては失礼ですが)で使って欲しくないです。
今朝の放送では「衆議院解散ならば参議院で審議なく廃案」との事をお話されていましたが、巻き添えで他の法案も廃案になってしまう…。これまで時間をかけて議論してきた事を水泡に帰すなんて無駄の極みです。
ちゃんと審議し、堂々と賛成•成立した後の解散総選挙を私は望んでおります。
青山さんに大変失礼な文章になってしまいましたが、より大きい目的の為に、今回は拳を下ろして頂きたいです。
12
回覆
8 則回覆
重要回覆
ちな玉菜
ちな玉菜
16 小時前
LGBT法案は【議論で負けた】のでなく、【議論・多数決で勝っていたのに踏み潰された】のですよ。
だから青山さんは反対しているんです。
青山さんは【民主主義の否定を許さない】と言っているのです。
5
回覆
g4836021
g4836021
1 天前
自衛隊、警察だけでなく民間企業でも入隊、入社時にしっかり(厳重に)人物を把握するべきではないでしょうか。セキュリテ・クリアランスの有資格者だけでなく、組織に所属している人、全員が一定以上の資質を保持していることは大切だと思います。
17
回覆
No.1 JAPAN
No.1 JAPAN
18 小時前
現場主義のお二人の話しは大変面白かった。またこの組み合わせでお願いします
17
回覆
55 silence
55 silence
1 天前
テンポもいいし、中身が濃いから1時間が早い!
29
回覆
くま花
くま花
1 天前
凄く勉強になりました📖絶対みなさん聞くべきですね!聞かなきゃ損✨
33
回覆
ウルトラJ
ウルトラJ
1 天前
青山さん、峯村さんなんと豪華な顔合わせ、流石の知見、ハイレベルな内容で聞き応えがあり堪能しました。
46
回覆
11 wanko
11 wanko
1 天前
とても濃密な内容でした。ためになります。ありがとうございました。
34
回覆
通勤自転車
通勤自転車
17 小時前
くわー、このコンビ聴き応えが凄まじいですね!
両者ゲストという形だからか、他で目にするトークと色々と違っていて面白い!
11
回覆
マグノリア
マグノリア
1 天前
私は高齢者になりましたが、最近の家庭教育が大変な事になっていると感じます。
自分が子育てしていた時は共通した善悪の認識がありましたが、
小学校の道徳教育が無くなったり、教育のあり方が変わったせいか、良き日本の文化が失われつつあるような気がします。
47
回覆
4 則回覆
Yuji Grappa
Yuji Grappa
1 天前
やはり青山繁晴氏の回は神回が多いな
75
回覆
2 則回覆
青山繁晴応援 きよちゃんch ★2024年の総裁選を目指す♡
青山繁晴応援 きよちゃんch ★2024年の総裁選を目指す♡
22 小時前
コーちゃん🎉🎉🎉
ニッポン放送のスタッフの皆様、コージアップスタッフ様、
スペシャルウィークに、青山さんをお招き下さりありがとうございます🎉🎉🎉
青山さんはコーちゃんとの対談が1番イキイキしているようにお見受けします(7年間も追っかけてます❤)
峰村先生、そして番組スタッフ様ありがとうございました!
17
回覆
こなつ
こなつ
4 小時前 (已編輯)
解散のタイミングは、微妙で、大切なんですね🤔🤔🤔
話題が盛りだくさんで楽しく、勉強になりました🙇
回覆
まつかわよういち
まつかわよういち
16 小時前
解散は見送りになりました。残念です。
6
回覆
Mo No
Mo No
1 天前
上念司さんが言っておられましたが、プライバシー侵害を盾に深い質問出来なくて、背景のスクリーニング出来ないという問題があるとか・・・
警察もそうですが職種や立場によっては必須だと思います。
17
回覆
藤宮
藤宮
23 小時前
自動化・省人化及びパワードスーツ等による精鋭化でしょう。
10年前から想定されていたことで日本は遅い。
4
回覆
スヌーピー
スヌーピー
1 天前
青山さんおはようございます
皆さん
おはようございます
今から
聞かせて貰いますね
😊
17
回覆
麦わらの一味
麦わらの一味
23 小時前
青山繫晴先生、いつも子供たちの為の共同親権にご尽力いただきまして
ありがとうございます。
15
回覆
やすくにまる
やすくにまる
1 天前
神回‼
27
回覆
Bianca Sol
Bianca Sol
1 天前
明日解散にならばLGBT法案も廃案になる😅
12
回覆
スヌーピー
スヌーピー
1 天前
楽しかったです
ありがとう
御座いました
🤗
14
回覆
msr113y
msr113y
1 天前
「神奈川県民は神奈川に帰属意識がない」→YOKOHAMAやYOKOSUKAのブランド力が大きいからでは?
私は埼玉県○○市ですが、○○市って言っても県内でも「?」なので、市の名前が国際的に有名なら、県に帰属意識なくなるのかな?
6
回覆
M Y
M Y
19 小時前
青山氏の現岸田政権への本心が垣間見える
ラジオならでのコメントであると思えた。
9
回覆
1 則回覆
髙橋圭介
髙橋圭介
1 天前
保守に対して大義を掲げて解散すれば戻るかも(LGBTをやめますって)
8
回覆
大和竜二
大和竜二
1 天前
タイミングやね。
LGBT法案可決前に解散すれば勝利
可決後に解散なら
惨敗!
16
回覆
1 則回覆
宮本武蔵
宮本武蔵
1 天前
正論!
11
回覆
エースドン
エースドン
1 天前
国会議員は株式会社自民党の社員やないで、 有権者に選ばれた代表なんやで、そこんとこわかってる??
12
回覆
沢庵和尚
沢庵和尚
1 天前
護国の鬼として、三期目もがんばりましょう!
7
回覆
祭(Sai)
祭(Sai)
13 小時前
成立前に解散するなら二度と自民党を支持しない誓いを覆すきっかけにしてやってもいい
What an amazing thing FreeCodeCamp is doing, bringing education to the masses.
As someone who never went to college (because I couldn't afford it), these high quality educational courses are treasures.
Thank you! (More math videos, please!) :)
16:08 - How is this College algebra? I did this in 6th grade in Estonia and they taught me to do these basic things in my head, not on paper.
Need to watch the full video i guess, obviously gets more compicated the more i watch this... (but something tells me, that's why we became so nerdy and IT-focused country, that education system different)
@@Microphunktv-jb3kj Yes in greece we teach this stuff long before the age of 16 !
@@Microphunktv-jb3kj Yes, 3th~5th grade stuff in Far East Asia! But this material is for everybody and include those who did not have opportunity to take the whole education.
@redfordkobayashi6936 Cómo que es una Broma .-.
@@panos270772 Pues que genial que lo lleves.
You guys are heaven sent. Thank you.
How refreshing to see a humble, knowledgable and intelligent person teaching python as a mathematical tool (which is really all there is to coding) instead of the typical overzealous, hyperactive, supertech enthusiast and coding apostle
Thanks for creating such wonderful videos !!
Next video I'm waiting for: Calculus-1 - Full Course with Python
please why we need to learn this course?? is that important in AI
@@abdessamad_5460 you meant algebra or artificial intelligence ?
@@abdessamad_5460 Yes it is. All be it, it not just important for A.I alone but you can also apply the knowledge and skill in engineering as a whole.
Why wait?
Use gpt
All subjects in school really needs to be taught this way. So many kids kids like myself find intrest in coding but are so bogged down with having to keep pace with the core subjects. If I can learn how to solve problems in school through code I would be much more fulfilled.
Quality video. This guy (Prof Ed Protowski,) is a one of those rare people who can explain Algebra in an easy understandable way, that even I can comprehend. Thank you Prof Protowski, Quincy and FreeCodeCamp!
Whats crazy is that FREE code camp is better at teaching these topics that PAID universities.
I've gone through seeing these topics in school and they were just a mass of equations that were forgotten... I'm now 2/3rds through these lessons and I can visualize in my mind lines crossing through parabolas and their solutions all at once. There is something about explicitly laying out every step in code and then seeing everything work automated that hits different. This has been life changing.
@@mrcookies409 So, Does it mean I can assume I can just learn all of math from freecodecamp and I don't have to go to the school?
I just graduated with BBA and want to change my career into data science. Do you think all of these materials from freecodecamp will be sufficient for me as beginner?
Not even a bruh moment at this point, it's a bruh moment²
What an awesome gift to have this at our fingertips and be able to learn at our own pace. Thank you very much!!!
woah this Professor is good! He is amazing, and deserves lots of love for both the instructor and freeCodeCamp!
I'm not a mathematician, but I love Algebra. I read books and loved solving problems. It gave me a kind of high doing it. I know very little about Phyton. I think this class is awesome. Even if I am not committed to go step by step now, I know I will later. Thanks!
sorry sir but its Python not Phyton
And sorry sir this is how you spell "it is "
you don't have to be a musician to enjoy playing an instrument, have fun doing math brother
Seriously, it seems like you guys cover every single subject I'm interested about. Thank you so much for supplementing my CS education.
If i had a professor like this, i would be loving to learn anything, sir is just too enthusiast/lovely!
This is probably one of the best courses ever posted on python.
I am hesitant to start it. I’m guessing you recommend it?
Just wanted to say THANK YOU from Venezuela! You're helping me a lot while I build the bases of my future.
This course is perfect for who are looking deep into Data science/ ML.
Hi bro i want to pursue msc in data science for that I want to learn linear algebra I know little bit of algebra 1 and 2 so is this course content full and good before starting with linear algebra for data science please help 🙏
Ok looking at this after doing the freecodecamp college algebra course. Didn't know there was a python one. How cool.
I never seen this type of explanation in very simple manner the bestest and helpful vedio
🎉
I can't describe how thankful I am to your efforts of providing such great content to the public and for free🙏
This is incredible! Thank you Prof Protowski, Quincy and FreeCodeCamp!
This channel always serves what needs with high-quality content ❤.
that is true
Finally, i have motivation to study math
Highly appreciate this type of work, and please continue to keep up the great work.
we need a calculus course and linear algebra like this one.. with python (or code)
I would never expect a grown man to look so adorable
Very often you just need to implement college algebra level math in the code. For everything above there are specific functions. And for that this course is a great reference.
Thanks!
We live in a golden age of learning ❤
#enter 0 to unknown value
# formula to find proportion is n1/d1 = n2/d2.
# taking inputs from the user.
n1=float(input("Enter the value of n1 :"))
n2=float(input("Enter the value of n2 :"))
d1=float(input("Enter the value of d1 :"))
d2=float(input("Enter the value of d2 :"))
# operation.
if n1 == 0:
answer_n1 = n2*d1/d2
print("n1 is equal to : ",answer_n1)
elif n2 == 0:
answer_n2 = n1*d2/d1
print("n2 is equal to : " , answer_n2)
elif d1 == 0:
answer_d1 = n1*d2/n2
print("d1 is equal to : ", answer_d1)
elif d2 == 0:
answer_d2 = n2*d1/n1
print("d2 is equal to : " ,answer_d2)
else:
print("enter any uknown value to get the answer , Thank You :")
nice
This is simply amazing!! It is free
thank you so much, I am literally studying algebra and python. Just bought the books. This is the perfect supplement!
we need a calculus version of this but thanks!
edit:
maybe a linear algebra too
and linear algebra too!
exists, just look in the channel
@@hamzadlm6625 where?
+1
@@mirshodoripov1035 FreeCodeCamp has this list of math courses: ruclips.net/video/LwCRRUa8yTU/видео.html, where you can find a Calculus course.
However, they are pretty traditional courses, not computational math. I totally support your idea of a Calculus equivalent to this, and Stats, for that matter.
wow, so far this is awesome! thank you so much for providing this content!!
By the way from the start if you need square root: 16**0.5, cubic root: 8**(1/3), and so on 32**(1/5), and so on ...
Will watch!
Thanks for making math interesting, you truly are wonderful.
This, to my beginner's mind is the best way to go about explaining math to aspiring programmers because it shows its use straightaway.
Fifteen hours! I'm not even mad. I'm impressed!
I’ve never considered how difficult it would be to go back to basic level mathematics and explain the absolute fundamentals… the ideas that are predicate for future ideas seem so natural, so to be the one teaching it for the first time would seem an insurmountable challenge.
This is a great way to learn Python. I wish SymPy was available when I was in college.
I am currently at 07:55:07 in the video and had completely blown my mind when I saw that changing the "b" variable in the quadratic equation, seem to make the graphed parabola follow its own parabolic shape on the graph, but opening up in the opposite direction. How cool is that. Oh man, I love this burst of excitement in me right now.
Oops, I meant to say constant b, instead of variable b.
15 hours of my time well invested, thank you professor Pratowski, thank you freeCodeCamp
this is solely amazing, I feel so proud of you guys
Next video: Full Physics Course in TypeScript?
I first thought about JavaScript, but TypeScript adds more flavor with it's type checking capability 🙂
I have just finished. Thanks for this awesome course. I am looking forward the next one!🤓
Do i need to learn python first to do this course?
This course is simply incredible, thanks professor.
This is the exact course I'm waiting for. Huge thanks FreeCodeCamp & the professor!
Not really into algebra or Python, but mad props for uploading this gem!
Thanks Ed. Amazing work!
Very futuristic, love this!🙏
merci frere ,je croire je reviendra sur ce video en dans instant
i love this dude ... he's a really good prof
Education with high quality and free!
valuable content, with basic algebra concepts with the flavor of Python, I am enjoying,,,
# Proper decimal implementation 1:25:40
```python
from decimal import Decimal
from dataclasses import dataclass
class ProperDecimal:
"""
Take a proper decimal and extract ratio and percentage
"""
def __init__(self, value: float | str) -> None:
_value = Decimal(value)
self._int_value = int(_value)
if self._int_value != 0:
print(f"Discarding integer value '{self._int_value}'")
if self._int_value > 0:
self._proper_decimal = _value - self._int_value
elif self._int_value < 0:
self._proper_decimal = self._int_value - _value
else:
self._proper_decimal = _value
self._exponent = len(str(self._proper_decimal)) - 2 # 0.
def __repr__(self) -> str:
return f"{self.numerator} / {self.denominator}"
@property
def value(self) -> float:
return float(self._proper_decimal)
@property
def numerator(self) -> int:
return int(self.value * 10 ** self._exponent)
@property
def denominator(self) -> int:
return 10 ** self._exponent
@property
def percentage(self) -> int:
return self.value * 100
@property
def ratio(self) -> tuple[int, int]:
"""The fraction or ratio as tuple"""
return (self.numerator, self.denominator)
proper_decimal = ProperDecimal("1.125")
print(f"{proper_decimal.value=}")
print(f"{proper_decimal.numerator=}")
print(f"{proper_decimal.denominator=}")
print(f"{proper_decimal.percentage=}")
print(f"{proper_decimal.ratio=}")
print(f"{proper_decimal=}")
```
5 hours left guys!!!
You are a wizard, Ed.
Great course from a great prof!😃
Me encantan estos mega mega mega videos de tantas horas, sigan mejorando continuamente por favor, este tipo de materiales ayuda demasiado y lo más interesante es que es entretenido.
Just remember freecodecamp that you're amazing and creators are the real GOAT 🐐
Thankyou
Another amazing course!!!! Thanks ever so much freecodecamp!!!!
Great course . Waiting for calculus version 👌
Definitely starting this course, just amazed that it is for free. Great lecturer, explains with a heart. Thank you guys!
Super grateful for this content. I love you guys. 💜
A Shaolin master that teaches math in a programming language thank you it was great 😂
I always learn a lot from Master Roshi
Please make the next one linear algebra is better to learn that first and then continue to calculus
Thanks. I should to dig into this, but if I could get my kids to do this. Man what a differentiator.
I COULD ONLY WISH YOU WERE MY TEACHER! You explain things PERFECTLY!!-:)))
do Calc 1 / 2 / 3 and trig next!!
Ok!
As always great content. I love and respect this excellent channel
Nice sharing Vidio.. thanks for sharing.. greeting from Indonesian traditional gold prospecting 🇲🇨⚒️⛏️👍👍
This is nice, highly recommended, even if just as refresher!
58:30 we could just use inbuilt function "eval" to evaluate the given equation.
This channel is amazing
It was perfect, absolutly perfect. Thank you!
ChatGPT prompt: Teach me Algebra with Python. keep going . Keep going ..Keep going
;-)
Thankuuuuuu so much I needed this badly.♥♥♥♥♥
These are the people who should be celebrated. The world is really upside down
Love it, just in time with the start of my semester!
Omg you are such a great math teacher ❤
the instructor is such an angel
Yes, like a Santa 🎅
Love the guy in the video giving us the lesson😂ngathi ishile le
Amazing content. Thank you very much for all these!!!!!!
Thank you very much for such videos. Really appreciate it. All you need is just your desire to learn something new. 👍
good to see another awesome free course you guys are legend.
# Proportion implementation
```python
from dataclasses import dataclass, astuple
from IPython.display import display, Latex
from typing import Literal
@dataclass
class LeftSide:
"""
Left side of the proportion
Args:
numerator: The numerator
denominator: The denominator
"""
numerator: int
denominator: int
@dataclass
class RightSide:
"""
Right side of the proportion
Args:
x: Can either be numerator or denominator
value: Value is assigned to numerator if `x` is 'denominator' and vice-versa.
"""
x: Literal["numerator", "denominator"]
value: int
@dataclass
class Proportion:
left_side: LeftSide
right_side: RightSide
@staticmethod
def _format_frac(v1, v2) -> str:
frac = r"\frac{"
return frac + f"{v1}" + "}{" + f"{v2}" + "}"
@property
def latex(self) -> Latex:
left_side = self._format_frac(*astuple(self.left_side))
if self.right_side.x == "numerator":
right_side = self._format_frac("x", self.right_side.value)
else:
right_side = self._format_frac(self.right_side.value, "x")
return Latex(rf"$${left_side}={right_side}$$")
@property
def x(self) -> int:
n1, d1 = astuple(self.left_side)
x, value = astuple(self.right_side)
if x == "numerator":
# value is considered denominator
return value * n1 / d1
# value is considered numerator
return value * d1 / n1
proportion = Proportion(
left_side=LeftSide(numerator=1, denominator=2),
right_side=RightSide(x="numerator", value=16)
)
display(proportion.latex)
print(f"x = {proportion.x}")
```
1:02:42 , a = random.randint(1,11) , a might be 11, 11 is included
This is awesome. I was doing the other freecodecamp college algebra course and translating to Python/Sympy.
This is awesome! Thanks!
When you were talking about creating graphs, you should have mentioned that fig, ax = plt.subplots() raises an error. To fix that do fig, ax = list(plt.subplots()) instead.
This is heaven
- - You just got a new subscriber ... yep !
Hello Professor Ed, thank you for making this very useful video. My one comment/ask is that the text being focused on is very small. Much of the screen is "dead space" (meaning unused.) For those of us that are older or vision impaired, it would be very nice if FCA could zoom in on the code being written (zoom in on the area of the screen that is being used). Thank you, and keep up the good work.
Aljebra+python, perfect!
Very helpful. Thank You
Is there a Discord page or some other community platform to discuss this? Thank you for putting together this awesome material.
Can’t wait to start this!