当前位置:网站首页>1140_ SiCp learning notes_ Use Newton's method to solve the square root
1140_ SiCp learning notes_ Use Newton's method to solve the square root
2022-07-07 07:31:00 【grey_ csdn】
All learning summary :GitHub - GreyZhang/g_SICP: learn SICP and hack lisp.
Here is a definition of square root that is easy for Chinese students to understand at least , Wrote a lisp The pseudo code . Actually , From the description of the total pseudo code, this only describes what is the square root , But there is no way to solve the square root .
Seeing here, I think of the successor of this course ,MIT Of python Open course . The professor also mentioned this concept in the course , Knowledge can actually be divided into two categories : One kind of focus is to figure out what it is ; The other kind focuses on how to do something . look , There is indeed a certain inheritance relationship between the two courses , Even if the programming language has changed, the mode of thinking still exists .
This part is mainly the implementation of a program , But from this place, we can see an idea of software design . This design pattern is actually from the whole to the part , Draw a trunk first, and then start the description of flesh and blood . This method does have a good advantage of rapid design response . Review my previous experience in software design , In fact, there are also such thinking patterns , But there is obviously no such clear methodological habit . natural , If you think simply , Although this can meet the rapid implementation of software design , But it may be easy to introduce places that affect the efficiency of software design .
On this question , I found a reference answer . To say , My own software design does not seem to pursue 100% accuracy expression ability . The way given here is actually similar to the feedback regulation in the principle of automatic control , And this adjustment eventually converges to a constant line . that , Its . The real problem also comes . Will all calculations converge ? Is there a situation that fluctuates constantly up and down a value ? Actually , To a large extent, this is still to improve the implementation of functions
Summary : Find the square root , This is a classic question , Learn before MIT Of python The tutorial also started from the study of this problem , It's really representative . In the process of solving this problem , We can see the difference between human logical thinking and computer execution mode .
边栏推荐
- PostgreSQL source code (59) analysis of transaction ID allocation and overflow judgment methods
- Flexible layout (II)
- The currently released SKU (sales specification) information contains words that are suspected to have nothing to do with baby
- Introduction to abnova's in vitro mRNA transcription workflow and capping method
- FullGC问题分析及解决办法总结
- Summary of customer value model (RFM) technology for data analysis
- 按键精灵脚本学习-关于天猫抢红包
- Cloud backup project
- PostgreSQL source code (60) transaction system summary
- 身边35岁程序员如何建立起技术护城河?
猜你喜欢
$parent (get parent component) and $root (get root component)
Initial experience of teambiion network disk (Alibaba cloud network disk)
I failed in the postgraduate entrance examination and couldn't get into the big factory. I feel like it's over
普通测试年薪15w,测试开发年薪30w+,二者差距在哪?
The annual salary of general test is 15W, and the annual salary of test and development is 30w+. What is the difference between the two?
Deep learning Flower Book + machine learning watermelon book electronic version I found
虚拟机的作用
Project practice five fitting straight lines to obtain the center line
95后CV工程师晒出工资单,狠补了这个,真香...
1090: integer power (multi instance test)
随机推荐
gatk4中的interval是什么??
Convolutional neural network -- understanding of pooling
Détailler le bleu dans les tâches de traduction automatique
How to * * labelimg
面试官:你都了解哪些开发模型?
Advanced practice of C language (high level) pointer
机器人技术创新与实践旧版本大纲
组件的嵌套和拆分
Detailed explanation of neo4j installation process
Abnova circulating tumor DNA whole blood isolation, genomic DNA extraction and analysis
Kuboard can't send email and nail alarm problem is solved
Select the product attribute pop-up box to pop up the animation effect from the bottom
选择商品属性弹框从底部弹出动画效果
Causes and solutions of oom (memory overflow)
Freeswitch dials extension number source code tracking
Wechat applet full stack development practice Chapter 3 Introduction and use of APIs commonly used in wechat applet development -- 3.9 introduction to network interface (IX) extending the request3 met
Cloud backup project
Bindingexception exception (error reporting) processing
聊聊异步编程的 7 种实现方式
关于二进制无法精确表示小数