Lecture 1A: Overview and Introduction to Lisp

Поделиться
HTML-код
  • Опубликовано: 18 сен 2024
  • MIT 6.001 Structure and Interpretation of Computer Programs, Spring 2005
    Instructor: Harold Abelson, Gerald Jay Sussman, Julie Sussman
    View the complete course: ocw.mit.edu/6-...
    RUclips Playlist: • MIT 6.001 Structure an...
    Overview and Introduction to Lisp
    Despite the copyright notice on the screen, this course is now offered under a Creative Commons license: BY-NC-SA. Details at ocw.mit.edu/terms
    Subtitles for this course are provided through the generous assistance of Henry Baker, Hoofar Pourzand, Heather Wood, Aleksejs Truhans, Steven Edwards, George Menhorn, and Mahendra Kumar.
    More courses at ocw.mit.edu

Комментарии • 224

  • @mitocw
    @mitocw  5 лет назад +259

    Remastered from VHS tapes. Timing the same to avoid caption rework.

    • @ingframin
      @ingframin 5 лет назад +5

      Are you planning to upload also the rest of the classes?

    • @picosdrivethru
      @picosdrivethru 4 года назад +5

      can you apply a machine learning algorithm to up res this? haha

    • @Originalimoc
      @Originalimoc 4 года назад +8

      Sound is worse than 2009 upload?

    • @dragonfly3139
      @dragonfly3139 4 года назад +2

      it feels like you guys made worst, now there is lot of noise in the audio

    • @Alexander-uz6fn
      @Alexander-uz6fn 4 года назад +1

      Thank you very much!

  • @zhaobryan4441
    @zhaobryan4441 3 года назад +264

    This is the starting point of self-taught coding path. I am a undergradute whose major is material science. After three years, I got a great job in this field. Thank you, MIT OCW

    • @tanveerhasan2382
      @tanveerhasan2382 3 года назад +8

      Congratulations 🎊

    • @zhaobryan4441
      @zhaobryan4441 2 года назад +4

      @@tanveerhasan2382 thx buddy

    • @SaenSaen1
      @SaenSaen1 Год назад +2

      @@zhaobryan4441 I have concerns about this being from 1986. Is it at all outdated? (realize this comment is coming from a complete programming/CS novice)

    • @zhaobryan4441
      @zhaobryan4441 Год назад +17

      @@SaenSaen1 Truth be told, you need to get hands dirty and write code in an application, then when you have little experience you could start this journey of SICP. It is never outdated, it is the essence of programming, the popular technology is just a new jersey of the old technology.

    • @hlwany.
      @hlwany. Год назад

      @@zhaobryan4441hi body my English is bad and I want to learn computer science and Ai how match time I’ll take to finish the path ?

  • @subramaniantr2091
    @subramaniantr2091 3 года назад +70

    Hi all, this is a lecture from 1985, that needs a boost on the treble side using the "Equalizer for youtube". This lecture is pure gold. Let's be thankful at least for the fact that it's available.

    • @tanveerhasan2382
      @tanveerhasan2382 3 года назад +1

      Wait, 1985? I thought it was from 2005

    • @chris8443
      @chris8443 3 года назад +10

      @@tanveerhasan2382 From the MIT OCW site: "These twenty video lectures by Hal Abelson and Gerald Jay Sussman are a complete presentation of the course, given in July 1986 for Hewlett-Packard employees, and professionally produced by Hewlett-Packard Television."

    • @23bcx
      @23bcx 3 месяца назад

      They uploaded the same VHS' in 2009 aswell. The audio on those ones is fine but the picture is too low res to see what is being written on the board some times

  • @crownstupid
    @crownstupid 4 года назад +166

    I am soooo happy of all the positive comments about these videos. When I discovered them on the mit website around 2005 I showed them to everyone I knew. Most just said something silly about Hal's hair. These videos are one of my personal treasures.

    • @nahidx
      @nahidx 3 года назад +2

      maybe it's because they moderate the comments.

    • @bookiefloppy368
      @bookiefloppy368 3 года назад +2

      Can you enlighten me with your personal treasures?

    • @crownstupid
      @crownstupid 3 года назад

      @@bookiefloppy368 lol what?

    • @charleswitherspoon282
      @charleswitherspoon282 3 года назад +10

      @@crownstupid I think they’re asking if you have any other gems like these videos

    • @rgefseds
      @rgefseds 3 года назад

      something silly about Hal's hair? what do you mean?

  • @affirmonego5202
    @affirmonego5202 4 года назад +258

    00:30 Computer science is a terrible name. First, it's not a science. And it's also not about computers.
    3:12 People in the future will recognize that people were really formalizing intuitions about process -- how to do things. Talking precisely about how to knowledge. As opposed to geometry that talks about what is true.
    5:36 What's a process? A process is like a magical spirit that lives in the computer and does something. What directs a process is a pattern of rules called a procedure. Procedures are the spells. The programming language is the language for casting the spells.
    7:25 Computer science is the business is in formalizing the "how to" imperative knowledge.
    10:12 As opposed to the constraints in other kinds of engineering, where the constraints of what you can build are the constraints of physical systems, the constraints imposed in building large software systems are the limitations of our own minds.
    10:55 Abstraction. Engineering technique whereby a "black box" can be used without knowing its implementation details. And these "black boxes" can be combined to create even more complex systems.
    16:50 We're not only building boxes that input and output numbers. We're building boxes that can compute methods. We can have procedures whose values is another procedure.
    18:14 Big Topic 1: Black-Box Abstraction
    22:45 Big Topic 2: Conventional Interfaces
    24:45 Big Topic 3: Metalinguistic Abstraction - making new languages
    28:07 Learning a new language. Know: 1) primitive elements 2) means of combination and 3) means of abstraction.
    29:58 Lisp's primitive data
    38:45 Lisp's "define"
    44:48 Lambda is Lisp's way of saying "make a procedure".
    49:33 A key thing in Lisp is that you don't make arbitrary distinctions between things that happen to be primitive in the language and things that happen to be built in. So the things you construct get used with all the power and flexibility as if they were primitives.
    51:13 How to make a case analysis i.e.conditionals. "cond" or "if"
    59:05 An example problem: Heron's square root algorithm
    1:08:54 Summary

  • @fhajji
    @fhajji 3 года назад +97

    What a treasure! I bought the Wizard Book (SICPv2) as soon as it was available, and studied it religiously. Being already familiar with Lisp (but not with Scheme), following along was very easy. But MIT 6.001 and SICP were not really about Lisp. They were more, MUCH more. SICP has been an eye-opener on how to view computer programs in general. One of the best, or maybe THE best computer programming book in existence, up to this day. Unmatched, unrivaled. And now, there is a recording of this seminal course by the authors themselves! It is Christmas come early.

    • @esepecesito
      @esepecesito 3 года назад +10

      I would even say, much more: It's about engineering in general and problem solving.

    • @rafaelgaspargervasio
      @rafaelgaspargervasio 8 месяцев назад

      100% agreed. Just discovering it now@@esepecesito

  • @calanm7880
    @calanm7880 2 года назад +26

    These MIT folks were so ahead of the game in the 1980s, they were preparing for RUclips and an Internet fast enough to deliver video! 🙂

    • @TheDavidlloydjones
      @TheDavidlloydjones 14 дней назад

      One of the first big pieces of "video" was radio-telescopy. (1962 to 1972, my time). A great deal of the information in this is apparently picked up interferometrically, with pairs of observing stations today being located in Earth orbit and out by Neptune or, if its not politically incorrect, maybe Pluto. In those days they had to settle for California and New Zealand, and a bunch of flyboys kindly schlepped the two-inch Ampex video-tape around for us -- by Phantom jet or some damn thing -- to get their credit hours in the cockpit. ARPAnet probably paid for itself in the avgas, the fuel for all those students' planes, it saved the taxpayers when they put this odd variety of SneakerNet out of business. Or at least they had to put their flying credits on somebody else's job sheet...
      SneakerNet was when the 180K seven-inch floppy had replaced the ten-incher, and people covered the gaps between, say, Universities of Michigan and Utah (Mormons were pioneering whole swaths of stuff like computer graphics) by carrying physical floppies from Point A to Point B. The Ampex video-tape jape was the Airforce Academy's kind of SneakerNet.

  • @HappyGrower
    @HappyGrower 5 лет назад +66

    I remember downloading these videos from the internet somewhere nearly 10 years ago. Awesome videos. Thanks for making them available for everyone MIT.

    • @intuit13
      @intuit13 2 года назад

      They were most def on youtube in 2011/12 (when i first started learning CS from videos and sites like khan academy). Probably hosted on MIT's site for much longer.

  • @fundef
    @fundef 15 дней назад +1

    These lectures (with the book) are a good introduction to functional programming, how to build software from "basic building blocks", how to do abstraction, how object-oriented programming works and software design in general

  • @frankd1156
    @frankd1156 4 года назад +9

    wow blow my mind...the simplicity and clarity is superdupa.This is why they say if you can't explain simple you have not understood enough...my hero Richard Feynman

  • @rickoshea011
    @rickoshea011 5 лет назад +35

    A classic. Pure gold.

  • @dungnguyenhoanganh6661
    @dungnguyenhoanganh6661 Год назад +6

    My personal laptop always has one tab open for these videos, I watched these videos over and over again, immensely enjoying, appreciating the knowledge and the excellent way to express ideas from Abelson and Sussman

  • @nikitasid4947
    @nikitasid4947 5 лет назад +64

    What a treasure! Thank you so much for making it available.

  • @Nandu2794
    @Nandu2794 4 года назад +17

    One of the best lectures ever...this guy is a great teacher

  • @Nakameguro97
    @Nakameguro97 3 года назад +9

    Legendary lectures at the dawn of CS/FP. Thank you, MIT OCW, for publishing these lectures!

    • @bullpup1337
      @bullpup1337 4 месяца назад +1

      more like at its heyday. Dawn was the 50s. Common Lisp was 84.

  • @johnwoolley2198
    @johnwoolley2198 4 года назад +10

    What a gift to the world. Thanks Hal!

  • @gldev8191
    @gldev8191 3 года назад +7

    crazy good, stuff that must be preserved for as long as possible

  • @Cdaprod
    @Cdaprod 10 месяцев назад +1

    Year 1 into becoming a self-taught engineer, I’ve since been brought into a top company who appreciates my organic creativity. Thank you for this material which was filed 2-3 years before I was born 🎉

  • @sam.kendrick
    @sam.kendrick 4 года назад +8

    Thank you so much, MIT! This is a real gem

  • @CcCascade
    @CcCascade 3 года назад +4

    The Best computer science course.

  • @ramohacks
    @ramohacks Год назад +4

    Starting my journey! Wish me luck.

  • @rafaelgaspargervasio
    @rafaelgaspargervasio 8 месяцев назад +1

    This one of the best things I've ever seen on programming

  • @Levelworm
    @Levelworm 4 года назад +10

    From the look of it, it is really heavily loaded. Lambda introduced in 10 minutes into the syntax tutorial! I mean I already know Lambda so it's easy to understand, but it would give a bit of confusion (instead of killing it) for anyone who doesn't know that. But I do enjoy the style of teaching, "balckboarding" and "sliding" is way better than showing pdf and just talk and talk.

    • @Levelworm
      @Levelworm 3 года назад

      @James Campbell You know, even in the era of computing professors still have the option to write on blackboards. Some choose not to do that.

  • @mayoe1430
    @mayoe1430 Год назад +1

    Thanks MIT for this great content. You folks are doing humanity a remarkable service

  • @alute5532
    @alute5532 Год назад

    31:48 combination
    Calling operator to sum operands
    I get complexity out of operand (can get quite complex)
    Prefix notation
    Operator Left
    Expression represented asap tree
    45:37 syntactic sugar
    Have more convenient surface forms for typing something

  • @driziiD
    @driziiD 4 года назад +29

    i may be in programmer heaven right now

    • @MrFujinko
      @MrFujinko 21 день назад

      That would mean you died

  • @frankd1156
    @frankd1156 4 года назад +2

    bunch of people who are teaching are suppose to do something else...this guy is gold

  • @bobesponjacomdepressaoindo2004
    @bobesponjacomdepressaoindo2004 3 года назад +9

    Let's all love Lain.

    • @presauced
      @presauced Год назад

      get out, lainposter!!

  • @muhdiversity7409
    @muhdiversity7409 Год назад +3

    Thank you for making me want to learn Lisp after decades of actively avoiding it. I was a little confused in the square root example until I grokked that there was recursion. To test my understanding of the material I implemented the same module in C++ using named lamdas and a slow hack that allows recursion in C++ lamba expressions. "try" is a reserved c++ word so I replaced it with tryme(). I think the C++ version of this would be even more unreadable without the auto names.
    double lisp_sqrt2(double s){
    std::function tryme;
    tryme = [&tryme](double guess,double root)->double {
    auto average = [](double a,double b)->double {return (a + b) / 2.0;};
    auto improve = [average](double guess,double root)->double {return average(guess,root/guess);};
    auto goodenough = [](double guess,double root)->bool {return abs(root - (guess * guess)) < 0.000001;};
    if (goodenough(guess,root))
    return guess;
    return tryme(improve(guess,root),root);
    };
    return tryme(1,s);
    }

  • @kichuntong4336
    @kichuntong4336 3 года назад +14

    I've read SICP and worked on most exercises, but when I watch this I still have a sense that I've somehow missed the big picture. 6.001 is a lot more intense than CS61A.

    • @aman_s_96
      @aman_s_96 4 месяца назад

      What do you recommend? 6.001 or CS61A? Also, is reading book necessary?

  • @sporefergieboy10
    @sporefergieboy10 5 лет назад +95

    0:34 a meme was born

    • @Kalernor
      @Kalernor 3 года назад +4

      Wait what meme?

  • @PixelOutlaw
    @PixelOutlaw 2 года назад +3

    With a little elbow grease you can hook the introduction tune into your startup for Scheme mode in Emacs. :P
    Can you? Yes. Should you? I don't know...

  • @personanongrata987
    @personanongrata987 Год назад +2

    Great introduction to declarative versus imperative knowledge.
    --

  • @yuka1367
    @yuka1367 2 года назад +3

    The interesting thing is that the content is still relevant nowadays.

  • @thatfellow7556
    @thatfellow7556 3 года назад +12

    Pretty cool how the video starts with End of Evangelion music, they sure know their audience!

    • @019bc3
      @019bc3 3 года назад +2

      Actually, it starts with Jesu, Joy of Man's Desiring by Bach.

    • @thatfellow7556
      @thatfellow7556 3 года назад +2

      @@019bc3 ruclips.net/video/67a5FTa1U1A/видео.html
      That's the joke m8.

  • @numericalcode
    @numericalcode Год назад

    Great to have these available.

  • @kichuntong4336
    @kichuntong4336 3 года назад +3

    I actually think the use of `try` here is better phrased than the `sqrt-iter` used in the book.

  • @tammy-0
    @tammy-0 5 лет назад +4

    very nice ! some of the video uploads of the lectures indeed had some audio problems in them. hopefully this is fixed now.

  • @ozkaa
    @ozkaa 4 года назад +5

    well this is incredible

  • @bythealphabet
    @bythealphabet 8 дней назад

    Yes, teaching is an Art.

  • @gustavosanchezdelarosa2180
    @gustavosanchezdelarosa2180 5 лет назад +14

    Please remaster 18.03 !!!!!!! I will donate if you do

  • @frechjo
    @frechjo 4 года назад +6

    This video has better reslution, but the audio is pretty bad. watch?v=2Op3QLzMgSY has better audio, but the resolution is pretty bad.
    I'm so tempted to download and repackage them. If I had a good Internet connection I actually would.

  • @thenomadcoder
    @thenomadcoder 3 года назад +1

    oh boy! i was ready to read the book and i cross paths with this gem!! thanks a lot!

  • @noxiouspro
    @noxiouspro 4 года назад +2

    1 minute and 12 sec in... MIND BLOWN

  • @bobesponjacomdepressaoindo2004
    @bobesponjacomdepressaoindo2004 3 года назад +3

    PRESENT DAY... PRESENT TIME...

  • @bobanmilisavljevic7857
    @bobanmilisavljevic7857 10 месяцев назад +1

    Day 1 in class! 🦾🥳

  • @AnimeshSharma1977
    @AnimeshSharma1977 5 лет назад +2

    Awesum reminder to knot confuse the process/"to know" from the fact/"knowledge"...

  • @driziiD
    @driziiD 4 года назад +2

    a gem

  • @woosix7735
    @woosix7735 3 года назад +3

    Why do MIT profecers have realy good handwriting? awsome lecture

  • @alikhalilli3430
    @alikhalilli3430 2 года назад +1

    Brilliant series!

  • @forheuristiclifeksh7836
    @forheuristiclifeksh7836 5 месяцев назад +1

    4:00

  • @poo81
    @poo81 2 года назад

    This is such a gem

  • @soj56
    @soj56 7 месяцев назад +1

    That intro goes so hard

  • @margolitapnina6716
    @margolitapnina6716 Год назад

    2 seconds into it and I was already in love ❤️

  • @bobdooley100
    @bobdooley100 5 лет назад +2

    Thank you (and especially for the link to the full course)

  • @grims7583
    @grims7583 4 месяца назад

    Thanks for sharing these!

  • @ruffianeo3418
    @ruffianeo3418 Месяц назад +1

    I times of AI an deep fakes and all - would it not be an easy exercise for a student or AI engineer to re-re-master these classes to very good audio quality?

  • @MrGlujaN
    @MrGlujaN Год назад

    Higher order procedure are first class functions , like javascript !

  • @chillenth
    @chillenth 3 года назад +8

    As someone diving into the world of Programming/CompSci in 2021, could someone give their take on the relevance or accuracy of this lecture as it relates to the current state of the field? Are these courses still worth spending time watching given the technology of today? Or is this more for historical/archival purposes?

    • @scottlee600
      @scottlee600 3 года назад +31

      This is looking at some important fundamentals of how interpreters or compilers look at programs. It is foundational, AND historical. If your only interest is getting a job, you can go learn some popular programming language and learn an IDE, then prove that in an interview and go get a position somewhere... but how good will your best code be? The more deeply you understand what is happening at a fundamental level, and the more deeply you understand how certain problems have been solved in the past, the better quality your work will be in the present.

    • @StefanWelker
      @StefanWelker Год назад

      Not necessary. They forced ist to use this for starting university course in Germany 1998 and i would say it was a mistake starting with this. Better use a more practical language to start.

    • @bullpup1337
      @bullpup1337 4 месяца назад

      @@StefanWelkerI disagree. People who start with something “practical” often lack the fundamentals and will hit a ceiling sooner or later. Often, they then dont have the time or energy anymore to go back and learn the fundamentals. If you start with something like lisp and really understand it, you can learn any language. If you learn Java or Python, perhaps you can more quickly learn how to write half decent code for commercial applications. But hopefully thats not the only goal.

  • @regmemer9198
    @regmemer9198 5 лет назад +5

    2005!? That's not right, surely?

    • @EzequielBirman77
      @EzequielBirman77 5 лет назад

      I am not sure but that might be the last year this course was taught as shown in the video series and the archive website

    • @mitocw
      @mitocw  5 лет назад +7

      @@EzequielBirman77 It was taught in 2005, using the 1987 video series as a reference.

  • @noahrodriguez1895
    @noahrodriguez1895 3 года назад +3

    "let's take a break now and than we'll get started" @27:34 LMAO

  • @dufflized
    @dufflized Год назад +1

    Awesome!

  • @user-bg2it5kf9q
    @user-bg2it5kf9q Месяц назад

    @7:05 that's me.

  • @samsammy95
    @samsammy95 4 года назад +2

    AMAZING

  • @mattr7192
    @mattr7192 4 года назад +1

    Very good video. Love it.

  • @Theone-ou2xt
    @Theone-ou2xt Год назад +2

    i am studying the SICP book, will watching these lectures help me ?

    • @xanhx
      @xanhx Год назад +5

      Using different receptors during learning helps a lot. Watching and listening fills the gap you've left while reading.

  • @filmlik547
    @filmlik547 5 месяцев назад

    Great Video!!

  • @mmmannnn6497
    @mmmannnn6497 Год назад

    Thank you very much for sharing

  • @sigmaroll9802
    @sigmaroll9802 3 года назад

    Thank you

  • @ujan9837
    @ujan9837 3 года назад +1

    This is a fucking gem!

  • @vlatkosurlan545
    @vlatkosurlan545 Год назад +1

    The audience looks like they're from the 80's. I guess this was published online in the Spring 2005 but not recorded in 2005?

    • @mitocw
      @mitocw  Год назад +2

      Correct. The videos were from 1986 but were published on MIT OpenCourseWare in 2005.

  • @nbme-answers
    @nbme-answers 2 года назад

    38:16 Hal at the editor

  • @rafaelgaspargervasio
    @rafaelgaspargervasio 8 месяцев назад

    Amazing

  • @iBEEMproject
    @iBEEMproject 2 года назад +1

    Treasure !!!

  • @matheusdepaula8061
    @matheusdepaula8061 Год назад

    Pretty Awesome

  • @GeorgWilde
    @GeorgWilde Год назад

    Why should axiomatic method be more important than the practical problem than motivated measurement of land?

    • @Philitron128
      @Philitron128 Год назад

      Because once an axiomatic method is established it can be better understood and then what was once only used for a single thing can now be used for many things.

  • @toastedbeans4587
    @toastedbeans4587 Год назад

    26:26 spelling mistake "Liguistic"

  • @eljesus788
    @eljesus788 3 года назад +1

    3:04 This guy

  • @juniorwiley8860
    @juniorwiley8860 3 года назад

    Classic!

  • @vram288
    @vram288 7 месяцев назад

    at 43 good

  • @jony7779
    @jony7779 2 года назад

    I'm glad that we've done away with much of the mysticism regarding writing computer programs as is on display here.

  • @codesniffer588
    @codesniffer588 4 года назад +3

    what's the song at the beginning

    • @petersims2922
      @petersims2922 4 года назад +17

      Jesu, Joy of Man's Desiring by J.S. Bach as played on the sickest 1986 Casio around

  • @hamedhumaid8429
    @hamedhumaid8429 Год назад

    What is this playlist exactly about ?
    If I have previous knowledge in python(basics) and computer architecture, will i be able to enjoy this course ?

    • @mitocw
      @mitocw  Год назад +6

      No prerequisites are listed. Here is the course description, "This course introduces students to the principles of computation. Upon completion of 6.001, students should be able to explain and apply the basic methods from programming languages to analyze computational systems, and to generate computational solutions to abstract problems." See the course on MIT OpenCourseWare for more info at: ocw.mit.edu/6-001S05. Best wishes on your studies!

    • @exmachina767
      @exmachina767 7 месяцев назад

      You will. This course starts with the basics but quickly ramps up to intermediate and advanced concepts which are often missing in many other courses. I studied this course years after graduating college and I still learned many important things. I wish I had discovered this course when I was in college.

  • @colinmaharaj
    @colinmaharaj 3 года назад

    I wish I could meet that guy

  • @wilsoncampusano
    @wilsoncampusano 4 года назад

    Here we go again...

  • @user-td3fb4rm5d
    @user-td3fb4rm5d Месяц назад

    Is this course useful for today?

  • @MatN-cl7bc
    @MatN-cl7bc 7 месяцев назад +1

    I want to become a wizard too

  • @Strawbclock0
    @Strawbclock0 Год назад

    where do I get sweet midi bach intro music

  • @CrazyFanaticMan
    @CrazyFanaticMan 3 года назад

    2005? Surely this is a much older lecture

  • @1421anoop
    @1421anoop 3 года назад

    Sound quality is poorer than the earlier videos

  • @rich_in_paradise
    @rich_in_paradise Год назад

    Dude is so fast at chalking in block caps

  • @evgeniyan2426
    @evgeniyan2426 2 года назад

    2019 and LISP ?!

  • @mohamedsaif1928
    @mohamedsaif1928 4 года назад +1

    جمال

  • @maazahmedpoke
    @maazahmedpoke 5 лет назад +10

    when you drop your lollipop on the carpet

  • @itstoogooditswaytoogood3211
    @itstoogooditswaytoogood3211 4 года назад +7

    the book gave me no headaches but im 15 minutes into this lecture and have had 10 migraines

  • @adumont
    @adumont 2 года назад

    Who is George?

  • @shanybiran468
    @shanybiran468 Год назад

    I don't get the title... he doesn't have a lisp. 😁

  • @catbandit9525
    @catbandit9525 Год назад

    Would you say in 2022 that computer science is still not a science?

    • @chickenstrangler3826
      @chickenstrangler3826 9 месяцев назад +1

      I'd argue it was more of a science when this video was recorded than today.

    • @bullpup1337
      @bullpup1337 4 месяца назад

      depends on your definition of science. CS does not change, but our definitions do.

  • @blu3_enjoy
    @blu3_enjoy 3 года назад

    audio broke

    • @mitocw
      @mitocw  3 года назад +1

      Yes, the audio from the first two VHS tapes was pretty low and muffled.

  • @EzraSchroeder
    @EzraSchroeder Год назад

    @5:00
    In [1]: def sqvaar_ruut(x):
    ...: g = x/2
    ...: g = (g + x/g)/2
    ...: while abs(g*g - x) > 0.000001:
    ...: g = (g + x/g)/2
    ...: return g
    ...:
    In [2]: sqvaar_ruut(289)
    Out[2]: 17.00000000000246

    • @EzraSchroeder
      @EzraSchroeder Год назад

      MIT/GNU Scheme running under GNU/Linux
      Type `^C' (control-C) followed by `H' to obtain information about interrupts.
      Copyright (C) 2022 Massachusetts Institute of Technology
      This is free software; see the source for copying conditions. There is NO warranty; not even for
      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
      Image saved on Saturday January 7, 2023 at 8:21:08 PM
      Release 12.1 || SF || LIAR/x86-64
      1 ]=> (+ 1 1)
      ;Value: 2
      1 ]=> (define (sqrt-iter guess x)
      (if (good-enough? guess x)
      guess
      (sqrt-iter (improve guess x) x)))
      ;Value: sqrt-iter
      1 ]=> (define (improve guess x)
      (average guess (/ x guess)))
      ;Value: improve
      1 ]=> (define (average x y)
      (/ (+ x y) 2))
      ;Value: average
      1 ]=> (define (good-enough? guess x)
      (< (abs (- (square guess) x)) 0.00001))
      ;Value: good-enough?
      1 ]=> (define (sqrt x)
      (sqrt-iter 1.0 x))
      ;Value: sqrt
      1 ]=> (sqrt 9)
      ;Value: 3.000000001396984
      1 ]=> (sqrt (+ 100 37))
      ;Value: 11.704699917758145
      1 ]=> (sqrt (+ (sqrt 2) (sqrt 3)))
      ;Value: 1.7737718323432423
      1 ]=> (* 1.7737718323432423 1.7737718323432423)
      ;Value: 3.1462665132143033
      1 ]=>