当前位置:网站首页>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 .
边栏推荐
- JS small exercise
- Outlier detection technology of time series data
- English translation is too difficult? I wrote two translation scripts with crawler in a rage
- 基于Flask搭建个人网站
- JS decorator @decorator learning notes
- sql中对集合进行非空校验
- Procedure in PostgreSQL supports transaction syntax (instance & Analysis)
- Differences between H5 architecture and native architecture
- 95后CV工程师晒出工资单,狠补了这个,真香...
- C language (high-level) data storage + Practice
猜你喜欢
![[Linux] process control and parent-child processes](/img/4c/89f87ee97f0f8e9033b9f0ef46a80d.png)
[Linux] process control and parent-child processes

Asynchronous components and suspend (in real development)

Outsourcing for four years, abandoned

IP address

四、高性能 Go 语言发行版优化与落地实践 青训营笔记

About binary cannot express decimals accurately

组件的嵌套和拆分

My ideal software tester development status

2、 Concurrent and test notes youth training camp notes

About some details of final, I have something to say - learn about final CSDN creation clock out from the memory model
随机推荐
[semantic segmentation] - multi-scale attention
[Linux] process control and parent-child processes
Implementing data dictionary with JSP custom tag
$refs: get the element object or sub component instance in the component:
Unity C function notes
抽丝剥茧C语言(高阶)数据的储存+练习
Databinding exception of kotlin
Mobx knowledge point collection case (quick start)
Differences between H5 architecture and native architecture
URP - shaders and materials - light shader lit
【云原生】内存数据库如何发挥内存优势
Music | cat and mouse -- classic not only plot
Wechat applet full stack development practice Chapter 3 Introduction and use of APIs commonly used in wechat applet development -- 3.10 tabbar component (I) how to open and use the default tabbar comp
Precise space-time travel flow regulation system - ultra-high precision positioning system based on UWB
07_ Handout on the essence and practical skills of text measurement and geometric transformation
At the age of 20, I got the ByteDance offer on four sides, and I still can't believe it
C language (high-level) data storage + Practice
Bi she - college student part-time platform system based on SSM
Sqlmap tutorial (IV) practical skills three: bypass the firewall
抽絲剝繭C語言(高階)指針的進階