To find the volume of a pyramid with square base we first have to find the dimensions of the pyramid. For this example, the sides of the base are 6 and the height of the pyramid is 4. The lengths of the lines going from the corner of the base square to the top of the pyramid is 5 (found from the distance formula between points (0,4) at the top of the pyramid and (3,0) the corner edge of the rectangle base. This isn't necesarry for the integral but it is helpful in constructing the pyramid in onshape. Next we need to find the equation of the area of a representative rectangle (in this case a square) inside the pyramid. To do this we use the area of a square formula where the sides are "a" length and the area is equal to \(a^2\). We want this in terms of "x" instead of "a", so we say that "a" is equal to "2x". This is because the length from the center of the representative rectangle to the edge of the pyramid is "x" and to account for both sides we get "2x". Thus, in terms of "x", the area of the rectangle is 2\(x^2\). We will find the volume of the pyramid by integrating the area of this rectangle along the height of the pyramid. To do this, we have to get the area equation in terms of y, so we need an equation in terms of y that we can then use to find a relation between x and y and use that relation in terms of x in the area equation. This is slightly confusing but it will make sense once we find an equation in terms of y. To do this we find the equation of the line along the side of the pyramid going from the point at the top of the pyramid to the corner.
This gives us \[y=( \frac{-4}{3}x)+4\] because the y-intercept is 4, the rise is -4 and the run is 3.
Now, solve the eqaution for x. \[y=( \frac{-4}{3}x)+4\] \[x= 3-\frac{3}{4}y\] Now we can integrate the equation in terms of y with respect to y \[ \int_{0}^{4} (a^2 )\,dy \] \[ \int_{0}^{4} (2x)^2 \,dy \] \[ \int_{0}^{4} (2(3-\frac{3}{4}y)^2 \,dy \] \[ \int_{0}^{4} (6-\frac{6}{4}y)^2 \,dy \] \[ \int_{0}^{4} 36-18y+\frac{9}{4}y^2 \,dy \] \[volume=48\] So, all we had to do was get the dimensions of the base and height, and we are able to use a slope intercept formula and the formula for the area of a representative rectangle inside the pyramid to find the volume. To aproximate the volume of the pyramid using the rectangles themselves stacked on top of each other and filling the pyramid, we simply add the volume of each rectangle together. The volume of a single rectangle is length*width*height. For this aproximation we will use 10 layers, so the height of each rectangle will be 4in/10layers or 0.4in tall, and the sides of each rectangle will be variable starting with 6in. The sides will decrease in length by 6in/10layers=0.6in/layer each time. We get the below table showing the aproximation of the volume using these rectangles. To make this representation on Onshape, simply make a a rectangle to represent the base of the pyramid with the dimensions of the base of the pyramid, in this case it is a 1:1 scale so the sides were each 6in. The, to make the first layer extrude it 0.4in because we want 10 layers total and the height of the pyramid is 4in high and 4in/10layers=0.4in/layer. From then on, simply draw another rectangle on top of one another, each time reducing the length by 0.6in, because we want 10 layers and 6in/10layers=0.6in/layer. So, the height for each layer is 0.4in, but the lengths of the rectangles change to be 0.6in less than the one below it. Below are pictures of the resulting representation of these representitive rectangles aproximating the volume of the pyramid on Onshape. In order to print these in a reasonable dimension, we simply scale the entire pyramid by 1/4 or 0.25 to get a resulting pyramid of height 1 and width 1.5.Shown below. I chose this shape because I have always been intrigued by pyramids and I think they are the most interesting architectural accomplishment in mankind's design history.
Now, solve the eqaution for x. \[y=( \frac{-4}{3}x)+4\] \[x= 3-\frac{3}{4}y\] Now we can integrate the equation in terms of y with respect to y \[ \int_{0}^{4} (a^2 )\,dy \] \[ \int_{0}^{4} (2x)^2 \,dy \] \[ \int_{0}^{4} (2(3-\frac{3}{4}y)^2 \,dy \] \[ \int_{0}^{4} (6-\frac{6}{4}y)^2 \,dy \] \[ \int_{0}^{4} 36-18y+\frac{9}{4}y^2 \,dy \] \[volume=48\] So, all we had to do was get the dimensions of the base and height, and we are able to use a slope intercept formula and the formula for the area of a representative rectangle inside the pyramid to find the volume. To aproximate the volume of the pyramid using the rectangles themselves stacked on top of each other and filling the pyramid, we simply add the volume of each rectangle together. The volume of a single rectangle is length*width*height. For this aproximation we will use 10 layers, so the height of each rectangle will be 4in/10layers or 0.4in tall, and the sides of each rectangle will be variable starting with 6in. The sides will decrease in length by 6in/10layers=0.6in/layer each time. We get the below table showing the aproximation of the volume using these rectangles. To make this representation on Onshape, simply make a a rectangle to represent the base of the pyramid with the dimensions of the base of the pyramid, in this case it is a 1:1 scale so the sides were each 6in. The, to make the first layer extrude it 0.4in because we want 10 layers total and the height of the pyramid is 4in high and 4in/10layers=0.4in/layer. From then on, simply draw another rectangle on top of one another, each time reducing the length by 0.6in, because we want 10 layers and 6in/10layers=0.6in/layer. So, the height for each layer is 0.4in, but the lengths of the rectangles change to be 0.6in less than the one below it. Below are pictures of the resulting representation of these representitive rectangles aproximating the volume of the pyramid on Onshape. In order to print these in a reasonable dimension, we simply scale the entire pyramid by 1/4 or 0.25 to get a resulting pyramid of height 1 and width 1.5.Shown below. I chose this shape because I have always been intrigued by pyramids and I think they are the most interesting architectural accomplishment in mankind's design history.
Comments
Post a Comment