You are on page 1of 3

PI, E

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)

plot(sin(x^2+y^2)/7, x=-2..2, y=-2..2, #3D)

plotfunc3d((x^2+y^2)/4, sin(x-y)/(x-y), x=-2..2, y=-2..2);

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(sin(x^2+y^2), x=-3..3, y=-3..3);


plotfunc3d(sin(x^2+y^2), x=-3..3, y=-3..3);

plotfunc3d(sin(x^2+y^2), x=-3..3, y=-3..3, Submesh = [5, 5]);

plot((9-(x-3)^2)*(y^3/(27*sqrt(3))), x = 0..5, y = 0..5, #3D)

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]);

plot( (x := 2.999673604965) , (y := 1.731810975820), )


y 3.0

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)

g1 := plot::Function3d((9-(x-3)^2)*(y^3/(27*sqrt(3))), x = 0..5, y = 0..5, Color = RGB::Red);


  
plot::Function3d -
   
3 y3 x - 3 2 - 9
, x = 0..5, y = 0..5
81
g2 := plot::Function3d(y-x/sqrt(3), x = 0..5, y = 0..5, Color = RGB::Green);
  
3x
plot::Function3d y - , x = 0..5, y = 0..5
3
g3 := plot::Function3d(x+sqrt(3)*y - 6, x = 0..5, y = 0..5, Color = RGB::Blue);
  
plot::Function3d x + 3 y - 6, x = 0..5, y = 0..5
plot(p1, g1, g2, g3)

You might also like