当前位置:网站首页>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 .
边栏推荐
- 外包干了四年,废了...
- 抽絲剝繭C語言(高階)數據的儲存+練習
- How does an enterprise manage data? Share the experience summary of four aspects of data governance
- 普通测试年薪15w,测试开发年薪30w+,二者差距在哪?
- 机器人技术创新与实践旧版本大纲
- MIPS uclibc cross compile ffmpeg, support g711a encoding and decoding
- transform-origin属性详解
- RuntimeError: CUDA error: CUBLAS_ STATUS_ ALLOC_ Failed when calling `cublascreate (handle) `problem solving
- MySQL service is missing from computer service
- 选择商品属性弹框从底部弹出动画效果
猜你喜欢

Advanced practice of C language (high level) pointer

Kuboard can't send email and nail alarm problem is solved

URP - shaders and materials - simple lit

Jesd204b clock network

Tujia, muniao, meituan... Home stay summer war will start

Abnova membrane protein lipoprotein technology and category display

MySQL service is missing from computer service

Bindingexception exception (error reporting) processing

MIPS uclibc cross compile ffmpeg, support g711a encoding and decoding

Lm11 reconstruction of K-line and construction of timing trading strategy
随机推荐
考研失败,卷不进大厂,感觉没戏了
sql中对集合进行非空校验
云备份项目
Outlier detection technology of time series data
FPGA course: application scenario of jesd204b (dry goods sharing)
PostgreSQL source code (59) analysis of transaction ID allocation and overflow judgment methods
修改Jupyter Notebook文件路径
Role of virtual machine
Interviewer: what development models do you know?
Paranoid unqualified company
$parent (get parent component) and $root (get root component)
我理想的软件测试人员发展状态
四、高性能 Go 语言发行版优化与落地实践 青训营笔记
Deep learning Flower Book + machine learning watermelon book electronic version I found
聊聊异步编程的 7 种实现方式
Project practice five fitting straight lines to obtain the center line
Academic report series (VI) - autonomous driving on the journey to full autonomy
ROS2规划系统plansys2简单的例子
95后CV工程师晒出工资单,狠补了这个,真香...
js小练习----分时提醒问候、表单密码显示隐藏效果、文本框焦点事件、关闭广告