- 博客(16)
- 收藏
- 关注
原创 绘制心形线
心形线的故事*Christine是十七世纪时瑞典的一位公主,她美丽善良,而且很聪明,尤其很喜欢数学。有一天她换上了便服去王宫外面,路上看到很多乞丐,其中有一个很特别,他不主动请求过路人施舍,而是安静地蹲在地上专心研究数学问题。那个人并不知道站在他眼前的小姐就是公主,只是很惊讶于这位年轻小姐言谈之间显露出来的数学才华,便很高兴地和Christine交谈起来。Christine公主这才知道,他原本是一个数学家,可惜因为某些原因在法国做数学不得志,穷困落魄,最后流浪到瑞典来的。于是Christine公主把这个数
2022-01-19 21:26:12
582
原创 数学分形之二叉树
二叉树绘图库:Easy Graphics Engine (EGE)编程语言:c++二叉树夹角:90度夹角:120度夹角:180度夹角:60度代码:#include <graphics.h>#include <stdio.h>#include <stdlib.h>#include <conio.h>#include <math.h>#include <time.h>const double pi =
2022-01-19 21:03:44
561
原创 数学分形之科赫雪花
科赫雪花绘图库:Easy Graphics Engine (EGE)编程语言:c++科赫雪花n=5反科赫雪花n=5代码:#include <graphics.h>#include <stdio.h>#include <stdlib.h>#include <conio.h>#include <math.h>#include <time.h>const double pi = 3.1415926536;st
2022-01-19 18:12:11
763
原创 数学分形之谢尔宾方毯
谢尔宾方毯绘图库:Easy Graphics Engine (EGE)编程语言:c++n=1n=2n=3n=4n=5代码:#include <graphics.h>#include <stdio.h>#include <stdlib.h>#include <conio.h>#include <math.h>#include <time.h>const double pi = 3.141592653
2022-01-19 18:01:13
172
原创 数学分形之谢尔宾三角形
谢尔宾三角形绘图库:Easy Graphics Engine (EGE)编程语言:c++代码:#include <graphics.h>#include <stdio.h>#include <stdlib.h>#include <conio.h>#include <math.h>#include <time.h>const double pi = 3.1415926536;struct Point{ d
2022-01-19 17:52:02
290
1
原创 植物分形之海草
海草原理:分形之分叉结构 迭代法绘图库:Easy Graphics Engine (EGE)编程语言:c++代码:#include <graphics.h>#include <stdio.h>#include <stdlib.h>#include <conio.h>#include <math.h>#include <time.h>const double pi = 3.1415926536;struct P
2022-01-19 17:39:21
303
原创 绘制直方图
直方图(Histogram),又称质量分布图,是一种统计报告图,由一系列高度不等的纵向条纹或线段表示数据分布的情况。 一般用横轴表示数据类型,纵轴表示分布情况。绘图库:Easy Graphics Engine (EGE)编程语言:c++最终效果:代码:#include <stdio.h>#include <stdlib.h>#include <math.h>#include <string.h>#include <graphics.
2022-01-19 01:09:52
1404
原创 绘制李萨如曲线
李萨如曲线Lissajous曲线原理:参数方程parameter equation的绘制绘图库:Easy Graphics Engine (EGE)编程语言:c++ X=SIN(2θ) Y=SIN(3θ) (0≤θ≤2π)
2022-01-19 00:09:33
1697
1
原创 数学分形之复牛顿迭代法
复牛顿迭代法绘图库:Easy Graphics Engine (EGE)编程语言:c++z=z^3-1z=z^4-1z=sin(z)z=z^6-1代码:#include <stdio.h>#include <stdlib.h>#include <math.h>#include <string.h>#include <windows.h>#include <graphics.h>#include <
2022-01-17 00:46:54
410
原创 数学分形之龙分形
龙分形绘图库:Easy Graphics Engine (EGE)编程语言:c++n=10n=14代码:#include <graphics.h>#include <stdio.h>#include <stdlib.h>#include <conio.h>#include <math.h>#include <time.h>const double pi = 3.1415926536;struct Poin
2022-01-17 00:34:20
1127
1
原创 植物分形之珊瑚
珊瑚原理:分形之分叉结构 迭代法绘图库:Easy Graphics Engine (EGE)编程语言:c++#include <graphics.h>#include <stdio.h>#include <stdlib.h>#include <conio.h>#include <math.h>#include <time.h>const double pi = 3.1415926536;struct Point
2022-01-17 00:20:07
439
1
原创 数学分形之勾股树
勾股树绘图库:Easy Graphics Engine (EGE)编程语言:c++代码:#include <graphics.h>#include <stdio.h>#include <stdlib.h>#include <conio.h>#include <math.h>#include <time.h>const double pi = 3.1415926536;struct Point{ double
2022-01-17 00:06:04
816
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人