## 355 Reputation

7 years, 252 days

## How can I get function of the graph in t...

Maple

I am trying to get the function of the curve in this picture. But, I don't know how to start. How can I get function of the graph in this picture?
I guess f(x) = (x + 1) (x - 1) (x - 3), if -1 <= x <=3.5 and f(x) = -(x + 1) (x + 2.5), if -2.5 <=x <=-1.

## How to solve this system of equations?...

Maple

I am trying to  solve the system of equations
with(RealDomain);
solve(x^2+y^2+z^2-4*x+6*y-2*z-11 = 0, 2*x+2*y-z = -18], [x, y, z]);

I didn't get the result x = - 4/3, y = -19/3, z = 8/3.

How can I get the solution?

With Mathematica, I tried
Solve[{x^2 + y^2 + z^2 - 4*x + 6*y - 2*z - 11 == 0,
2*x + 2*y - z == -18}, {x, y, z}, Reals]

And got the correct solution.

## How to explain the result of this direct...

Maple

I want to find limit of the function sqrt(x^2 - 3 x + 2) from the left of the point x = 2. I tried
limit(sqrt(x^2-3*x+2), x = 2, left)

I got the result 0.  I know that, the limit is not exits. How to explain the result of Maple?

Another example,
limit(sqrt(x^2-3*x+2), x = 2, real)

I got the output 0.

With Mathematica, I see at here https://mathematica.stackexchange.com/questions/102981/limit-sqrt3-x-as-x-to3

## How to find coordinates of the projectio...

Maple

I am trying to find coodinates projection H(x,y, z)  of the point P :=<x3, y3, z3> on the line AB, where A:= <x1,y1,z1>, B:= <x2,y2,z2>. I tried

```restart:
with(LinearAlgebra);
A:= <x1,y1,z1>:
B:= <x2,y2,z2>:
P :=<x3, y3, z3>:
H:=<x,y,z>;
solve([DotProduct(B-A, H-P, conjugate = false) = 0, B-A = k*(H-A)], [x, y, z, k]);```

I can not get the result. How can I get the coordinates of the point H?

## A sphere is inscribed in a  tetrahedron ...

Maple

Tetrahedron with vertices A(1,2,3), B(-2, 8, 9) , C(5, 0, 7) and D(3, 4, 2) has centre of sphere is inscribed I(2, 3, 4) and radius is r = 1
I tried

```restart:
with(geom3d):
point(P1, 1, 2, 3):
point(P2, -2, 8, 9):
point(P3, 5, 0, 7):
point(P4, 3, 4, 2):
s1 := area(triangle(T1, [P2, P3, P4])):
s2 := area(triangle(T2, [P1, P3, P4])):
s3 := area(triangle(T3, [P1, P2, P4])):
s4 := area(triangle(T4, [P1, P2, P3])):
s := s1+s2+s3+s4:
x_I := simplify((xcoord(P1)*s1+xcoord(P2)*s2+xcoord(P3)*s3+xcoord(P4)*s4)/s):
y_I := simplify((ycoord(P1)*s1+ycoord(P2)*s2+ycoord(P3)*s3+ycoord(P4)*s4)/s):
z_I := simplify((zcoord(P1)*s1+zcoord(P2)*s2+zcoord(P3)*s3+zcoord(P4)*s4)/s):
plane(P, [P2, P3, P4], [x, y, z]):
point(T, x_I, y_I, z_I);
r := distance(T, P)

```

I am trying to find all tetrahedrons that  sphere is inscribed in a  tetrahedron satisfy the following conditions:

1. Each vertex (x, y, z) is a triples of integers such that -20 <= x, y, z <= 20.
2. The coordinates centre of sphere are also triples of integers.

How can I find?

 First 12 13 14 15 16 17 Page 14 of 17
﻿