当前位置:网站首页>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 .
边栏推荐
- Robot technology innovation and practice old version outline
- JS small exercise ---- time sharing reminder and greeting, form password display hidden effect, text box focus event, closing advertisement
- L'externalisation a duré trois ans.
- SQLMAP使用教程(四)实战技巧三之绕过防火墙
- URP - shaders and materials - simple lit
- Several important steps to light up the display
- 虚拟机的作用
- 1089: highest order of factorial
- 云备份项目
- FPGA course: application scenario of jesd204b (dry goods sharing)
猜你喜欢
"Xiaodeng in operation and maintenance" meets the compliance requirements of gdpr
Freeswitch dials extension number source code tracking
C language (high-level) data storage + Practice
外包幹了三年,廢了...
About binary cannot express decimals accurately
1090: integer power (multi instance test)
MIPS uclibc cross compile ffmpeg, support g711a encoding and decoding
freeswitch拨打分机号源代码跟踪
07_ Handout on the essence and practical skills of text measurement and geometric transformation
记一个并发规则验证实现
随机推荐
按键精灵采集学习-矿药采集及跑图
Docker compose start redis cluster
SQLMAP使用教程(四)实战技巧三之绕过防火墙
About some details of final, I have something to say - learn about final CSDN creation clock out from the memory model
URP - shaders and materials - light shader lit
"Xiaodeng in operation and maintenance" meets the compliance requirements of gdpr
PostgreSQL source code (59) analysis of transaction ID allocation and overflow judgment methods
Bi she - college student part-time platform system based on SSM
关于二进制无法精确表示小数
Tujia, muniao, meituan... Home stay summer war will start
云备份项目
JS decorator @decorator learning notes
Tumor immunotherapy research prosci Lag3 antibody solution
I failed in the postgraduate entrance examination and couldn't get into the big factory. I feel like it's over
Release notes of JMeter version 5.5
../ And/
Stack Title: nesting depth of valid parentheses
Precise space-time travel flow regulation system - ultra-high precision positioning system based on UWB
JS small exercise ---- time sharing reminder and greeting, form password display hidden effect, text box focus event, closing advertisement
Blue Bridge Cup Netizen age (violence)