Is There an Equation for a Rectangular Prism in Cartesian Coordinates?

  • Context: High School 
  • Thread starter Thread starter michael pranit
  • Start date Start date
  • Tags Tags
    Prism Rectangular
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
michael pranit
Messages
5
Reaction score
0
Hello,
I am trying to understand the concept of solid geometry(spheres, cubes, polyhedra etc) as a function of their co-ordinates.
for example, the general ellipsoid, is a quadratic surface which is given in Cartesian coordinates by:
(x^2/a^2)+(y^2/b^2)+(z^2/c^2)=1
a,b,c being the semi axis.
-Is there an equation to a rectangular prism as a function of the x,y,z coordinates like the ellipsoid?
Could someone clarify/explain.
Any help will be appreciated.
Thank you
 
Physics news on Phys.org
Because a "rectangular prism" is not smooth (it has edges and corners) you cannot give it as one differentiable function. You can, as Matterwave suggests, write equations for each of the six planes.