Professional Documents
Culture Documents
p, e
float(PI), float(E)
3.141592654, 2.718281828
DIGITS := 100
100
float(PI), float(E)
3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117068,
2.718281828459045235360287471352662497757247093699959574966967627724076630353547594571382178525166427
delete DIGITS: DIGITS
10
plot(sin(x^2+y^2), x=0..PI, y=0..PI, #3D)
plotfunc3d(3+x^2+y^2, 2+x^4+y^4, 1+x^6+y^6, x^8+y^8, x=-1..1, y=-1..1, Colors =[RGB:: Gray, RGB:: Red, RGB:: Green, RGB:: Blue]);
plotfunc3d((9-(x-3)^2)*(y^3/(27*sqrt(3))), (y-x/sqrt(3)), (x+sqrt(3)*y - 6), x = 0..5, y = 0..5,Colors =[RGB:: Red, RGB:: Green, RGB:: Blue]);
2.8
2.6
2.4
2.2
2.0
1.8
-5 -4 -3 -2 -1 0 1 2 3 4 5
x
p1 := plot :: Point3d(2.99, 1.73, 0.999, PointSize = 4*unit::mm);
plot::Point3d 2.99, 1.73, 0.999, PointSize = 4
plot(p1)
plot(p1)