In a mathematical expression, if the form is y = f (x, z), it can be called a terrain surface. it can be considered that the position on each plane corresponds to a unique height value.
In this section, we will display the graphics of several terrain and surfaces. use the script code of the custom syntax to generate a hyper-ball image. for related software, see: Mathematical graphics visualization tool. This software is free and open-source. QQ chat group: 367752815
The original version of this software was written only for the equation Y = f (x, z). For details, see why mathematical graphics display tool. at that time, a mathematical expression is input, and then its data range is input to generate a graph, as shown in:
Then, based on the software, we reconstructed the original mathematical expression parsing algorithm, defined a script language format, and edited the mathematical graphics in the form of scripts.
(1)
#http://www.mathcurve.com/surfaces/algebricsu/algebricsu.shtmlvertices = dimension1:101 dimension2:101x = from (-4) to (4) dimension1z = from (-4) to (4) dimension2a = (x*x + z*z)y = x*z/(a*a)y = limit(y, -5, 5)
(2)
vertices = dimension1:320 dimension2:320x = from (-4) to (4) dimension1z = from (-4) to (4) dimension2r = x^2 + z^2y = sin(x^2 + z^2*3)/(0.05 + r) + (x^2 + z^2*5)*exp(1 - r)/2u = xv = zx = x*5y = y*5z = z*5
(3)
vertices = dimension1:201 dimension2:201x = from (-20) to (20) dimension1z = from (-20) to (20) dimension2y = sin(sqrt(x*x+z*z))u = x/5v = z/5
(4)
vertices = dimension1:201 dimension2:201x = from (-8*PI) to (8*PI) dimension1z = from (-8*PI) to (8*PI) dimension2a = abs(x)b = abs(z)y = sin(a * b * 0.1)*exp((a + b)/24)u = x/5v = z/5
(5)
vertices = dimension1:201 dimension2:201x = from (-100) to (100) dimension1z = from (-100) to (100) dimension2y = sqrt(abs(x*z)) + sin(x*z*0.005)*5u = x/10v = z/10
(6)
vertices = dimension1:101 dimension2:101x = from (-100) to (100) dimension1z = from (-100) to (100) dimension2y = sqrt(abs(x*z))u = x/10v = z/10