Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Equation to a rectangular Prism

  1. May 21, 2014 #1
    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:
    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
  2. jcsd
  3. May 21, 2014 #2


    User Avatar
    Science Advisor
    Gold Member

    The rectangular prism is the the sum of 6 planes. Do you know the equations for planes?
  4. May 21, 2014 #3


    User Avatar
    Science Advisor

    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.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook