当前位置:网站首页>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 .
边栏推荐
- 1090: integer power (multi instance test)
- gatk4中的interval是什么??
- transform-origin属性详解
- 抽絲剝繭C語言(高階)數據的儲存+練習
- How can a 35 year old programmer build a technological moat?
- Mobx knowledge point collection case (quick start)
- sql中对集合进行非空校验
- Software acceptance test
- 按键精灵脚本学习-关于天猫抢红包
- Tumor immunotherapy research prosci Lag3 antibody solution
猜你喜欢
【Liunx】进程控制和父子进程
Model application of time series analysis - stock price prediction
$refs: get the element object or sub component instance in the component:
URP - shaders and materials - light shader lit
[semantic segmentation] - multi-scale attention
计算机服务中缺失MySQL服务
机器人技术创新与实践旧版本大纲
Dynamics CRM server deployment - restore database prompt: the database is in use
I failed in the postgraduate entrance examination and couldn't get into the big factory. I feel like it's over
抽絲剝繭C語言(高階)數據的儲存+練習
随机推荐
Jesd204b clock network
C language (high-level) data storage + Practice
组件的嵌套和拆分
软件验收测试
Freeswitch dials extension number source code tracking
Blue Bridge Cup Netizen age (violence)
Abnova membrane protein lipoprotein technology and category display
Apache AB stress test
$refs: get the element object or sub component instance in the component:
2、 Concurrent and test notes youth training camp notes
RuntimeError: CUDA error: CUBLAS_ STATUS_ ALLOC_ Failed when calling `cublascreate (handle) `problem solving
Project practice five fitting straight lines to obtain the center line
transform-origin属性详解
Summary of customer value model (RFM) technology for data analysis
Non empty verification of collection in SQL
[cloud native] how to give full play to memory advantage of memory database
【leetcode】1020. Number of enclaves
FPGA course: application scenario of jesd204b (dry goods sharing)
云备份项目
Outlier detection technology of time series data