Lecture 5: Floats and Approximation Methods

  Рет қаралды 9,642

MIT OpenCourseWare

MIT OpenCourseWare

Ай бұрын

MIT 6.100L Introduction to CS and Programming using Python, Fall 2022
Instructor: Ana Bell
View the complete course: ocw.mit.edu/courses/6-100l-in...
KZbin Playlist: • MIT 6.100L Introductio...
An introduction to simple algorithms, float types, and approximation methods. Floating point numbers introduce challenges as they can't be represented in memory exactly. Approximation methods use these floating numbers.
License: Creative Commons BY-NC-SA
More information at ocw.mit.edu/terms
More courses at ocw.mit.edu
Support OCW at ow.ly/a1If50zVRlQ
We encourage constructive comments and discussion on OCW’s KZbin and other social media channels. Personal attacks, hate speech, trolling, and inappropriate comments are not allowed and may be removed. More details at ocw.mit.edu/comments.

Пікірлер: 3
@MichaelAlexander1967
@MichaelAlexander1967 Ай бұрын
At one point in time, many many years ago,, I had a really good understanding of base 10 and base 2 or binary numbers, but for some reason I'm not fully understanding all of Ana' sentences, in real time, so I'm going to have to replay this video, using the pause button often,, to ensure I'm grasping the logic and the patterns that she describes. But I do love the idea that she fully grasps and internalizes these concepts. That's why she's the CS professor at MIT. 💪🏼💪🏽🙌🏽💯%❤ A sincere thanks to MIT for posting OpenCoarseWare videos! Finally, my big question is: If I'm not able to logically recreate the process/algorithm and Python code for converting a base 10 decimal number into a base two binary decimal number, if I'm not able to easily/quickly do that, will I have severe struggles becoming a Python Software Developer or Software Engineer? I would imagine that once I can do that easily, I can use a similar algorithm to convert any base # to binary. Is that the idea? I've gotta really studg the binary representation of .625 😏😒🙏🏽 Oh, is this the kind of code or algorithm inside a calculator?
@andiuptown1711
@andiuptown1711 Ай бұрын
To answer your question, no not at all. But also depends on what you’re using Python for, as many use it for mathematical fields like data science and ML/AI
@diveintoengineering6089
@diveintoengineering6089 17 күн бұрын
These lectures are amazing! Thank you MIT OCW and Prof. Ana Bell
Lecture 6: Bisection Search (FIXED)
1:14:27
MIT OpenCourseWare
Рет қаралды 8 М.
Lecture 4: Loops over Strings, Guess-and-Check, and Binary
1:13:16
MIT OpenCourseWare
Рет қаралды 16 М.
UFC 302 : Махачев VS Порье
02:54
Setanta Sports UFC
Рет қаралды 1,3 МЛН
когда достали одноклассники!
00:49
БРУНО
Рет қаралды 4,1 МЛН
I gave 127 interviews. Top 5 Algorithms they asked me.
8:36
Sahil & Sarra
Рет қаралды 595 М.
Joscha at Microsoft
48:46
Simuli
Рет қаралды 2,6 М.
2024 MIT Integration Bee - Finals
1:09:25
MIT Integration Bee
Рет қаралды 487 М.
Lecture 2: Strings, Input/Output, and Branching (old)
1:18:58
MIT OpenCourseWare
Рет қаралды 64 М.
The Last Algorithms Course You'll Need by ThePrimeagen | Preview
16:44
Frontend Masters
Рет қаралды 302 М.
4. Assembly Language & Computer Architecture
1:17:35
MIT OpenCourseWare
Рет қаралды 693 М.