Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Solve for a given quantity in a geometric scene
ResourceFunction["GeometricSolve"][scene,expr] solves for the quantity expr defined by the GeometricScene scene. | |
ResourceFunction["GeometricSolve"][scene,{expr1,expr2,…}] returns a list containing the solutions of scene for expr1,expr2, …. |
Solve for the hypotenuse of a right triangle:
| In[1]:= | |
| Out[1]= | |
Compute the area of a specific triangle:
| In[2]:= | |
| Out[2]= | |
Compute the area of a triangle where one point has an unknown but positive x value:
| In[3]:= | |
| Out[3]= | |
For a generic triangle, there are two possible solutions for the area, only one of which will have the correct sign for a specific numeric instantiation of the parameters:
| In[4]:= | |
| Out[4]= | |
Find an instance of a scene:
| In[5]:= | |
| Out[5]= | |
Solve for the point a, the distance between points a and c and the area of the triangle in this scene instance:
| In[6]:= | |
| Out[6]= | |
Wolfram Language 12.2 (December 2020) or above
This work is licensed under a Creative Commons Attribution 4.0 International License