数学图形(1.6)抛物线

相关软件参见:数学图形可视化工具

 

以初速度,朝向,加重力生成的抛物线:

vertices = 1000
v = 50.0
a = 1.0
g = 9.8
t = from 0 to 10
x = v*cos(a)*t
y = v*sin(a)*t - g*t*t/2

极坐标方程的抛物线

vertices = 10000

t = from (PI/8) to (15/8*PI)
r = 10
p = r/(1 - cos(t))
x = p*sin(t)
y = p*cos(t)
x = limit(x, -120, 120)
y = limit(y, -120, 120)

随机二次三项式

vertices = 1000
a = rand2(-2, 2)
b = rand2(-2, 2)
c = rand2(-2, 2)
x = from -5 to 5
y = a*x*x + b*x + c

面的形式显示

vertices = D1:512 D2:100
u = from -5 to 5 D1
v = from (-2) to (2) D2
x = u
y = v*x*x
v = v*10

vertices = D1:360 D2:100

u = from -10 to 10 D1
v = from -10 to 10 D2

x = u
y = v*x*x + x

y = limit(y, -100, 100)

vertices = D1:360 D2:100

u = from -10 to 10 D1
v = from -10 to 10 D2

x = u
y = x*x + v*x

y = limit(y, -100, 100)

vertices = D1:512 D2:100
u = from -5 to 5 D1
v = from (-1) to (1) D2
x = u
y = v*(x*x - 25)

v = v*5

 

立方抛物线

vertices = 1000

x = from -5 to 5
a = 0.1

y = a*pow(x,3)

立方抛物面

vertices = D1:512 D2:100

u = from -5 to 5 D1
v = from 0 to (1) D2

x = u
y = v*pow(x,3)

v = v*10

半立方抛物线

vertices = 1000

y = from -5 to 5
a = 0.1

x = pow((y*y)*a, 1/3)

半立方抛物面

vertices = D1:512 D2:100

u = from -5 to 5 D1
v = from 0 to 10 D2

y = u
x = pow((y*y)*v, 1/3)

v = v*10

 

posted on 2014-07-04 13:39  叶飞影  阅读(1872)  评论(0编辑  收藏  举报