Introduction

In the first part of this work (Elkhateeb 2014), assumptions were set out to mathematically analyze isosceles triangular right prisms in order to answer five questions:

  • How the angle θ (or θ and β) affects S?

  • When S becomes minimum (SMin)?

  • What is the ratio between walls surface area SW and S (SW/S = RW)?

  • When Ar numerically equals Per? and,

  • When S numerically equals V?

Applying the same methodology and assumptions that were previously established in Part I, this part investigates the case of regular quadratic right prisms. The bases of such prisms could be either rectangular or isosceles trapezoidal, both will be considered in this part.

Notations

In this part, the following terms mean:

Ar:

: Room floor area (m2)

h:

: The diagonal of the rectangle or trapezoid (m)

h 0 :

: The critical diagonal, the diagonal that fulfills (Per–Ar) equality (m)

HR :

: Room height, the height of the prism (m)

H Ro :

: The critical room height, the height that fulfills (S–V) equality (m)

Per:

: Perimeter (m)

S:

: Room total surface area (m2)

SMin :

: The minimum total surface area (m2)

SW :

: Walls total surface area (m2)

RW :

: Walls ratio, SW/S (Ratio)

R Wo :

: The critical walls ratio, the ratio between walls total surface area and total surface area when S is minimum (SMin) (Ratio)

V:

: Room volume (m3)

ω o :

: The critical ratio, the ratio between HR and r when S is minimum (SMin) (Ratio)

The other terms will be illustrated in figures according to each case as required.

Rectangular Rooms

The rectangular rooms are the most common rooms in architectural applications. There is almost no building that doesn’t contain a rectangular room. Figure 1 identifies the terms: θ, ψ, a, b, h and HR in the rectangular room. During this part, it is assumed that the angle θ, Ar and V are the independent variables whereas Per, and S are the dependent ones.

Fig. 1
figure 1

Rectangular rooms, the different variables. a Left room plan; b right room 3-D

The Mathematical Relationships of Rectangular Prisms

Similar to the isosceles triangle, a rectangle can be completely identified knowing both Ar and θ. This section derives the main mathematical functions among θ, h, Per, S and V (see Fig. 1). These functions will be utilized later to determine SMin and calculate the equality conditions. From the first principles, it can be proved that:

$$ \varvec{a} = \sqrt {\frac{{\varvec{Ar}}}{{\tan\varvec{\theta}}}} $$
(1)

Also

$$ \varvec{a} = \varvec{h cos\theta } $$
(2)

Thus

$$ \varvec{b} = \varvec{a}\tan\varvec{\theta}. $$
(3)

From Eq. 3, the perimeter Per (2a + 2b) can be calculated as:

$$ \varvec{Per} = 2\varvec{a }\left( {1 + \tan\varvec{\theta}} \right). $$
(4)

By substitution for a from Eq. 1, Per can be also calculated as:

$$ \varvec{Per} = 2\sqrt {\frac{{\varvec{Ar}}}{{\tan\varvec{\theta}}}} \varvec{ }\left( {1 + \tan\varvec{\theta}} \right). $$
(5)

From Eq. 1, Ar can be calculated as:

$$ \varvec{Ar} = \varvec{a}^{2} \varvec{ }\tan\varvec{\theta}. $$
(6)

In the third dimension, a rectangular shape can be extruded to form a right prism. In this case, its volume V = (HR × Ar) can be calculated from:

$$ \varvec{V} = \varvec{ a}^{2} \varvec{ H}_{\varvec{R}} \tan\varvec{\theta} $$
(7)

Thus

$$ \varvec{H}_{\varvec{R}} = \frac{\varvec{V}}{{\varvec{a}^{2} \tan\varvec{\theta}}}\varvec{ }. $$
(8)

The total surface area S of a right prism with rectangular bases can be calculated as:

$$ \varvec{S} = 2\varvec{Ar} + \left( {\varvec{Per} \times \varvec{H}_{\varvec{R}} } \right). $$
(9)

Given the values of Per (Eq. 4), Ar (Eq. 6), and HR (Eq. 8) as a function of θ, Eq. 9 can be rewritten as:

$$ \varvec{S} = \varvec{ }2\varvec{a}^{2} \varvec{ }\tan\varvec{\theta}+ 2\varvec{aH}_{\varvec{R}} (1 + \tan\varvec{\theta}) $$
(10)

or

$$ \varvec{S} = \varvec{ }2\varvec{a}^{2} \varvec{ }\tan\varvec{\theta}+ \frac{{2\varvec{ V}}}{{\varvec{a}\tan\varvec{\theta}}}(1 + \tan\varvec{\theta}). $$
(11)

Remark 1: Effect of θ on S

Generally, the relationship between θ and S in the case of the rectangular rooms resembles that of the triangular rooms. Figure 2 is a graphical representation for Eq. 10. As can be concluded from this figure, the function is symmetrical around a vertical axis that passes through θ = 45o. This has been expected earlier provided that the room is rectangular (i.e., θ + ψ = 90o). The function reaches its minimum value at θ = 45o. Again, this angle (45o) splits the function into two main zones:

Fig. 2
figure 2

The relationship between θ and S according to Eq. 10

  • Zone 1: This zone encloses between 0o < θ ≤ 45o, in this zone S is a decreasing function of θ. This zone can be also divided into two sub-zones:

    • Zone of rapid decay [a] (0o < θ ≤ 7o): where S loses more than 40 % of its maximum value.

    • Zone of slow decay [b] (7o ≤ θ ≤ 45o): θ increases rapidly in comparison with the reduction in S (in this zone, S loses about 10 % of its value at θ = 7o).

  • Zone 2: in this zone S is an increasing function of θ. This zone (between 45o ≤ θ < 90o) can be also divided into two additional sub-zones [c] (up to θ ≤ 83o), and [d]. Both zones are similar to the sub-zones [b] and [a] respectively.

Remark 2: the Minimum Total Surface Area, SMin

Following the same approach previously applied in case of triangular rooms, two cases will be considered:

  • Case of constant θ, where both Ar and HR will be variables, or

  • Case of variable θ, where both Ar and HR will be constants.

Case I, Constant θ, Variable Ar and HR

In this case, among the different rectangular rooms that have the same θ and V, SMin occurs when the first derivative of Eq. 11 equals zero, i.e.,

$$ \frac{{\varvec{dS}}}{{\varvec{da}}} = 4\varvec{a }\tan\varvec{\theta}- \frac{{2\varvec{V}}}{{\varvec{a}^{2} \tan\varvec{\theta}}}\varvec{ }\left( {1 + \tan\varvec{\theta}} \right) = 0. $$
(12)

By Substitution for a and V according to Eqs. 2 and 7 respectively, Eq. 12 can be rewritten as:

$$ 4\varvec{h }\cos \varvec{\theta }\tan\varvec{\theta}= \frac{{2\varvec{a}^{2} \varvec{H}_{\varvec{R}} \varvec{ tan\theta }}}{{\varvec{a}^{2} \tan\varvec{\theta}}}\varvec{ }\left( {1 + \tan\varvec{\theta}} \right). $$
(13)

By applying the rules of algebra and trigonometry, the critical ratio ω o (see Sect. Notations) can be calculated from Eq. 13 as:

$$ \varvec{\omega}_{\varvec{o}} = \varvec{ }\frac{{2\varvec{ }\sin\varvec{\theta}}}{{(1 + \tan\varvec{\theta})}}. $$
(14)

Equation 14 indicates the condition under which S will reach its minimum value in a rectangular right prism. It is clear from Eq. 14 that ω o in this case also depends entirely on θ. To determine room dimensions that fulfill SMin:

  • Determine both θ and V;

  • Calculate ω o by applying Eq. 14;

  • Apply Eq. 8 to get h;

  • Apply Eq. 14 again to get HR;

  • Utilize Eqs. 2 and 6 respectively to get a and Ar.

Figure 3 represents Eq. 14 and also the values of ω o in the range 10o ≤ θ ≤ 80o. It can be concluded from this figure also that the function is symmetrical around θ = 45o. In the range θ < 45o, ω o is an increasing function of θ, whereas in the range θ > 45o, ω o is a decreasing function of θ.

Fig. 3
figure 3

Values of ω o in the range 20o ≤ θ ≤ 80o according to Eq. 14

Again, the two relationships HR–Ar on the one hand and Ar–S on the other resemble the same relationships in case of the triangular rooms. Both relationships depend totally on ω o . As can be seen in Figs. 4 and 5, ω o divides the functions into two zones:

Fig. 4
figure 4

The relationship of HR to S (case of θ = 30o)

Fig. 5
figure 5

The relationship of Ar to S (case of θ = 30o)

  • Zone [a]: where ω < ω o . In this zone, S is a decreasing function of HR (see Fig. 4) and an increasing function of Ar (see Fig. 5), note that the location of the zones is reversed in Fig. 5. Thus, any increase in room height will decrease its total surface area.

  • Zone [b]: where ω > ω o . In this zone, S is an increasing function of HR and a decreasing function of Ar. This means that, unlike zone [a], an increase in HR will increase S.

Case II, Variable θ, Constant Ar and HR

In this case, V, Ar and HR are constants in all rooms, thus and according to Eq. 9, the perimeter will control the values of S. In this case, among the different rectangular rooms, SMin occurs when the perimeter of the room reaches its minimum value. This can be mathematically calculated when the first derivative of Eq. 5 equals zero, i.e.,

$$ \frac{{\varvec{dPer}}}{{\varvec{d\theta }}} = 2\sqrt {\frac{{\varvec{Ar}}}{{\tan\varvec{\theta}}}} \varvec{ }\left( {\varvec{sec}^{2} \varvec{ \theta }} \right) + 2(1 + \tan\varvec{\theta}) \times \frac{1}{2}\varvec{ }\sqrt {\frac{{\tan\varvec{\theta}}}{{\varvec{Ar}}}} \varvec{ } \times \varvec{ }\frac{{ - \varvec{Ar}}}{{\varvec{sin}^{2}\varvec{\theta}}} = 0. $$
(15)

By applying the rules of algebra and trigonometry, Eq. 15 will be:

$$ \tan\varvec{\theta}= \varvec{ }1,\,{\mathbf{thus}}\;{\varvec{\uptheta}} \, = \, {\mathbf{45}}^{{\mathbf{o}}} ,{\text{i}}.{\text{e}}.{\text{ square}}. $$
(16)

This means that a room with a squared plan possesses the minimum perimeter among the other rectangular plans. Consequently, such a room has the minimum total surface area among the other rooms that have the same Ar and V but different θ. This result completely agrees with the findings of Sect. Remark 1 (see Fig. 2).

Remark 3: Walls Ratio RW

In rectangular rooms, RW can be mathematically defined as:

$$ \varvec{R}_{\varvec{W}} = \frac{{\varvec{Per} \times \varvec{H}_{\varvec{R}} }}{{2\varvec{Ar} + \varvec{Per} \times \varvec{H}_{\varvec{R}} }}. $$
(17)

By substitution for Per and Ar from Eqs. 4 and 6 respectively, Eq. 17 can be rewritten as:

$$ \varvec{R}_{\varvec{W}} = \frac{{\varvec{H}_{\varvec{R}} (1 + \tan\varvec{\theta})}}{{\varvec{a}\tan\varvec{\theta}+ \varvec{H}_{\varvec{R}} (1 + \tan\varvec{\theta})}}. $$
(18)

The relationship between RW and θ resembles the relationship between S and θ (see Fig. 2). Thus it is symmetrical around θ = 45o. In the zone where θ < 45o, RW is a decreasing function of θ. In the zone where θ > 45o, RW is an increasing function of θ. RW reaches its minimum value at θ = 45o. To calculate R Wo , the conditions for ω o must be applied, thus, Eq. 18 can be rewritten as:

$$ \varvec{R}_{{\varvec{Wo}}} = \frac{{\frac{{2\varvec{h}\sin\varvec{\theta}}}{{(1 + \tan\varvec{\theta})}} \times (1 + \tan\varvec{\theta})}}{{\varvec{h}\cos\varvec{\theta}\tan\varvec{\theta}+ \frac{{2\varvec{h}\sin\varvec{\theta}}}{{(1 + \tan\varvec{\theta})}} \times (1 + \tan\varvec{\theta})}} $$
(19)

This leads to:

$$ \varvec{R}_{{\varvec{Wo}}} = \frac{2}{3} = 0.6667. $$
(20)

Thus, the critical walls ratio R Wo (see Sect. Notations) in rectangular right prisms is also constant for any θ and equals 2/3. This is similar to isosceles triangular right prisms (Elkhateeb 2014).

Remark 4: Case of Equality

This section calculates two cases of numerical equality in rectangular rooms. The first considers the equality between Per and Ar. The last considers the equality between S and V.

Case I, Equality of Per and Ar

In rectangular rooms and according to Eqs. 4 and 6, the numerical equality between Per and Ar occurs when:

$$ 2\varvec{a }\left( {1 + \tan\varvec{\theta}} \right) = \varvec{ a}^{2} \tan\varvec{\theta}. $$
(21)

By substitution for a from Eq. 2, and applying the rules of algebra and trigonometry, the critical diagonal h o (see Sect. Notations) can be calculated from Eq. 21 as:

$$ \varvec{h}_{\varvec{o}} = \varvec{ }2\varvec{ }(\sec\varvec{\theta}+ \csc\varvec{\theta}). $$
(22)

Equation 22 indicates the condition for the numerical equality between Per and Ar. Likewise ω o , the equality in this case depends completely on θ, for every θ there is a specific h o that fulfills this equality. The values of h o (in the range 20o ≤ θ ≤ 70o) were plotted in Fig. 6. As can be seen from this figure, the relationship between θ and h o is similar to the relationship between θ and S (see Fig. 2), symmetrical around a vertical axis that passes through θ = 45o. The values of other variables: a, b, Per and Ar can be calculated from Eqs. 2, 3, 4 and 6.

Fig. 6
figure 6

Values of h o in the range 20o ≤ θ ≤ 70o according to Eq. 22

Case II, Equality of S and V

In this case, the numerical equality between S and V occurs when:

$$ 2\varvec{Ar} + (\varvec{Per} \times \varvec{H}_{{\varvec{Ro}}} ) = \varvec{ Ar} \times \varvec{H}_{{\varvec{Ro}}} . $$
(23)

By substitution for Ar and Per according to Eqs. 2 and 4 respectively, and by applying the rules of algebra, Eq. 23 will be:

$$ \varvec{H}_{{\varvec{Ro}}} = \varvec{ }\frac{{2\varvec{a}\tan\varvec{\theta}}}{{\varvec{a}\tan\varvec{\theta}- 2(1 + \tan\varvec{\theta})}}. $$
(24)

If a was replaced by its equivalent value according to Eq. 2, and by applying the rules of trigonometry, Eq. 24 will be:

$$ \varvec{H}_{{\varvec{Ro}}} = \varvec{ }\frac{{2\varvec{h}\sin\varvec{\theta}}}{{\varvec{h}\sin\varvec{\theta}- 2(1 + \tan\varvec{\theta})}}. $$
(25)

For a rectangular room with given θ and Ar, the numerical equality between S and V will occur if the condition of Eq. 24 (or 25) has been satisfied. This can be calculated in the following sequence:

  • Determine both θ and Ar;

  • Apply Eq. 1 to get a or Eq. 2 to get h, then;

  • Substitute in Eq. 24 or 25, to get the critical room height H Ro (see Sect. Notations).

Similar to triangular rooms, the minus sign (−) in the denominator of Eq. 24 (or 25) indicates that for every θ there is a minimum a (accordingly h) under which this numerical equality will never exist. This occurs when H Ro tends to , i.e., when Ar numerically equals Per according to Eq. 22. Figure 7 represents the relationship between Ar and H Ro calculated from Eq. 24 (for θ = 30o). As can be seen from this figure, in the acceptable range, H Ro is a decreasing function of Ar while the function can be divided into two main zones, zone of rapid decay (when Ar tends to be equal to Per) and zone of slow decay (when Ar is far from this equality).

Fig. 7
figure 7

The relationship of Ar to H Ro (case of θ = 30o)

Trapezoidal Rooms

Trapezoidal, or fan-shaped, rooms are commonly used as auditoriums due to their good acoustic characteristics (Cremer et al. 1978). Dissimilar to triangular or rectangular shapes that can be mathematically identified knowing both their Ar and θ, an isosceles trapezoidal shape needs more parameters in order to be completely identified. At least one of the following parameters x, a, L, ψ or β (see Fig. 8) must be also given. In the following section it is assumed that the three parameters Ar, θ and β are defined. HR is the height of the prism. During this section, it is also assumed that θ, Ar, β and V are the independent variables whereas Per, and S are the dependent ones.

Fig. 8
figure 8

Trapezoidal rooms, the different variables

The Mathematical Relationships of Regular Trapezoidal Prisms

From the first principles, in an isosceles trapezoid it can be proved that:

$$ \varvec{L} = \varvec{ h sin\theta } $$
(26)
$$ \varvec{n} = \varvec{ }\frac{{\varvec{Ar}}}{\varvec{L}} $$
(27)
$$ \varvec{n} = \varvec{ h cos\theta } $$
(28)
$$ \varvec{n} = \varvec{ }\sqrt {\frac{{\varvec{Ar}}}{{\tan\varvec{\theta}}}} $$
(29)
$$ \varvec{b} = \varvec{ }\frac{\varvec{L}}{{\sin\varvec{\beta}}}\varvec{ }. $$
(30)

By substitution for L according to Eqs. 26, Eq. 30 will be:

$$ \varvec{b} = \varvec{ }\frac{{\varvec{h sin\theta }}}{{\sin\varvec{\beta}}} $$
(31)
$$ \varvec{h} = \varvec{ }\frac{\varvec{n}}{{\cos\varvec{\theta}}} $$
(32)

By substitution for n according to Eq. 29, and applying the rules of algebra and trigonometry, Eq. 32 will be:

$$ \varvec{h} = \varvec{ }\sqrt {\frac{{\varvec{Ar}}}{{\sin\varvec{\theta}\cos\varvec{\theta}}}} \varvec{ }. $$
(33)

The perimeter Per of an isosceles trapezoid can be calculated from:

$$ \varvec{Per} = \varvec{ }2(\varvec{a} + \varvec{x} + \varvec{b}) $$
(34)

Thus, and according to Fig. 8, Eq. 34 can be rewritten as:

$$ \varvec{Per} = \varvec{ }2(\varvec{n} + \varvec{b}). $$
(35)

The last equation can be set in different formats according to the values of both n and b as calculated in the previous equations. From Eqs. 28 and 31, Eq. 35 can be rewritten as:

$$ \varvec{Per} = \varvec{ }2\varvec{h }\left( {\varvec{cos \theta } + \frac{{\varvec{sin \theta }}}{{\varvec{sin \beta }}}} \right). $$
(36)

By substitution for h according to Eq. 33, Eq. 36 can be rewritten as:

$$ \varvec{Per} = \varvec{ }2\sqrt {\frac{{\varvec{Ar}}}{{\sin\varvec{\theta}\cos\varvec{\theta}}}} \varvec{ }\left( {\varvec{cos \theta } + \frac{{\varvec{sin \theta }}}{{\varvec{sin \beta }}}} \right). $$
(37)

If n and b were replaced by their equivalent values according to Eqs. 27 and 30 respectively, Eq. 35 can be rewritten as:

$$ \varvec{Per} = 2\left( {\frac{{\varvec{Ar}}}{\varvec{L}} + \frac{\varvec{L}}{{\varvec{sin \beta }}}} \right). $$
(38)

If L was replaced by its equivalent value according to Eq. 26, the last formula will be:

$$ \varvec{Per} = 2\left( {\frac{{\varvec{Ar}}}{{\varvec{h sin \theta }}} + \frac{{\varvec{h sin\theta }}}{{\varvec{sin \beta }}}} \right) $$
(39)

This leads to:

$$ \varvec{Per} = 2\left( {\frac{{\varvec{Ar sin \beta } + \varvec{h}^{2} \varvec{ }\sin^{2}\varvec{\theta}}}{{\varvec{h sin \theta sin \beta }}}} \right). $$
(40)

By substitution for h according to Eq. 33, Eq. 39 can be rewritten as:

$$ \varvec{Per} = 2\left[ {\frac{{\left( {\varvec{Ar sin \beta } + \frac{{\varvec{Ar}}}{{\varvec{sin \theta cos \theta }}} \times \varvec{sin}^{2} \varvec{ \theta }} \right)}}{{\sqrt {\frac{{\varvec{Ar}}}{{\sin\varvec{\theta}\cos\varvec{\theta}}}} \times \sin\varvec{\theta}\sin\varvec{\beta}}}} \right]. $$
(41)

Applying the rules of algebra and trigonometry, Eq. 41 can be simplified to:

$$ \varvec{Per} = \frac{{2\sqrt {\varvec{Ar}} }}{{\sin\varvec{\beta}}}\varvec{ }\left( {\frac{{\varvec{sin \beta } + \varvec{tan \theta }}}{{\sqrt {\tan\varvec{\theta}} }}} \right). $$
(42)

The area Ar of an isosceles trapezoid can be calculated from:

$$ \varvec{Ar} = \varvec{L }(\varvec{a} + \varvec{x}) $$
(43)

Thus

$$ \varvec{Ar} = \varvec{n L}. $$
(44)

By substitution for L and n according to Eqs. 26 and 28 respectively, Eq. 44 will be:

$$ \varvec{Ar} = \varvec{ h}^{2} \sin\varvec{\theta}\cos\varvec{\theta}. $$
(45)

In the third dimension and according to the assumptions, the isosceles trapezoidal plan will be extruded to form a right prism. Its volume (Ar × HR) can be calculated as:

$$ \varvec{V} = \varvec{h}^{2} \varvec{H}_{\varvec{R}} \varvec{ }\sin\varvec{\theta}\cos\varvec{\theta} $$
(46)

Thus, HR can be calculated as:

$$ \varvec{H}_{\varvec{R}} = \frac{\varvec{V}}{{\varvec{h}^{2} \varvec{ }\sin\varvec{\theta}\cos\varvec{\theta}}}\varvec{ }. $$
(47)

The total surface area S of this prism can be calculated according to Eq. 9. By substitution for Per and Ar according to Eqs. 36 and 45 respectively, Eq. 9 will be:

$$ \varvec{S} = \varvec{ }2\varvec{hH}_{\varvec{R}} \varvec{ }\left( {\varvec{cos \theta } + \frac{{\varvec{sin \theta }}}{{\varvec{sin \beta }}}} \right) + 2\varvec{h}^{2} \sin\varvec{\theta}\cos\varvec{\theta}. $$
(48)

If HR was replaced by its equivalent value according to Eq. 47, Eq. 48 can be rewritten as:

$$ \varvec{S} = \varvec{ }\frac{{2\varvec{V}}}{{\varvec{h }\sin\varvec{\theta}\cos\varvec{\theta}}}\varvec{ }\left( {\varvec{cos \theta } + \frac{{\varvec{sin \theta }}}{{\varvec{sin \beta }}}} \right) + 2\varvec{h}^{2} \sin\varvec{\theta}\cos\varvec{\theta}. $$
(49)

Remark 1: Effect of θ on S

Figure 9 is a graphical representation for Eq. 48. As there are three independent variables in the isosceles trapezoid, the effect of θ on S is more complicated than the corresponding cases of triangle and rectangle. In case of the isosceles trapezoid, the minimum S depends on the three variables. In other words, there is SMin for every combination of θ and β, this will be discussed in more details in Sect. Case II, variable θ and/or β. Nevertheless, the function resembles the case of triangular rooms, where the relationship is reversed when the function reaches its minimum value, i.e., in Zone [a], S is a decreasing function of θ, while in Zone [b], S is an increasing function of θ (see Fig. 9).

Fig. 9
figure 9

The relationship between θ and S according to Eq. 48 (both θ and β are variables)

Remark 2: the Minimum Total Surface Area, SMin

In isosceles trapezoidal right prisms, three independent variables (Ar, θ and β) yield more possibilities than the corresponding cases of triangular or rectangular prisms. In general, there are two main possibilities that may contain more sub-possibilities, they are:

  • Case of constant θ and β, (variable Ar and HR)

  • Case of variable θ and/or β, (constant Ar and HR). This case can be divided into two additional sub-cases, these are:

    • Case of constant θ and variable β;

    • Case of variable θ and constant β.

Case I, Constant θ and β

In this case, both h (i.e. Ar) and HR are variables whereas θ and β are constants. Among the different isosceles trapezoidal right prisms that have the same θ, β and V, SMin occurs when the first derivative of Eq. 49 equals zero, i.e.

$$ \frac{{\varvec{dS}}}{{\varvec{dh}}} = - \frac{{2\varvec{V}}}{{\varvec{h}^{2} \varvec{ }\sin\varvec{\theta}\cos\varvec{\theta}}}\varvec{ }\left( {\varvec{cos \theta } + \frac{{\varvec{sin \theta }}}{{\varvec{sin \beta }}}} \right) + 4\varvec{h}\sin\varvec{\theta}\cos\varvec{\theta}= 0. $$
(50)

By substitution for V from Eq. 46, and by applying the rules of algebra and trigonometry, the critical ratio ω o can be calculated from Eq. 50 as:

$$ \varvec{\omega}_{\varvec{o}} = \varvec{ }\frac{{2\sin\varvec{\theta}\cos \varvec{\theta }}}{{\varvec{cos \theta } + \varvec{sin \theta csc \beta }}}\varvec{ }. $$
(51)

Case I, Constant θ and β

By substitution in Eq. 47, h can be calculated. Knowing h, the other variables L, n and b can be calculated according to Eqs. 26, 28 and 31 respectively. Consequently the other parameters of the trapezoid can be calculated.

As can be concluded from Eq. 51, ω o is a function of both θ and β, i.e., for every combination of θ and β (θ < β) there is a value for ω o . This is obvious in Fig. 10, which is a graphical representation for Eq. 51 in the range 20o ≤ β ≤ 80o (values of ω o calculated at 10o intervals). It can be concluded from this figure that ω o is an increasing function of θ as long as θ < 45o. When θ exceeds 45o, ω o is a decreasing function of θ.

Fig. 10
figure 10

Values of ω o in the range 20o ≤ β ≤ 80o according to Eq. 51

The relationships between (HR–S) and (Ar−S) are similar to the same relationships in triangular and rectangular right prisms (see Figs. 4, 5), both depend entirely on ω o . In case ω < ω o , S is a decreasing function of HR and an increasing function of Ar. In case ω > ω o , S is an increasing function of HR and a decreasing function of Ar. Table 1 presents an example for an isosceles trapezoidal right prism where θ = 15o, β = 20o and V = 4,500 m3. For the given prism, ω o  = 0.29 (see Fig. 10). HR is assumed for each case except for ω o (the bold row in the table). As can be concluded from this table, the increase of HR in the zone ω > ω o has a limited effect of S (around 0.1–10 % of S corresponding to ω o ). Whereas the increase in Ar in the zone ω < ω o has a significant effect on S (around 0.1–28 % of S corresponding to ω o ).

Table 1 Example shows the effect of Ar and HR on S in isosceles trapezoidal right prisms (constant θ and β, and variable Ar)

Case II, Variable θ and/or β

In this case, both Ar and HR are similar to the cases of triangle and rectangle, SMin occurs when Per is minimum. As mentioned above, the case of variable θ and/or β can be divided into two sub-cases, these are:

  • Case of constant θ and variable β

  • Case of variable θ and constant β

In the following sections, the condition(s) to fulfill SMin for each case will be addressed.

  • Case of constant θ and variable β

In this case, to fulfill SMin the first derivative of Eq. 37 must be equal to zero, i.e.

$$ \frac{{\varvec{dPer}}}{{\varvec{d\beta }}} = \varvec{ }2\sqrt {\frac{{\varvec{Ar}}}{{\sin\varvec{\theta}\cos\varvec{\theta}}}} \varvec{ } \times \left( { - \frac{{\varvec{sin \theta cos \beta }}}{{\varvec{sin }^{2}\varvec{\beta}}}} \right) = 0 $$
(52)

Thus

$$ \frac{{\varvec{sin \theta cos \beta }}}{{\varvec{sin }^{2}\varvec{\beta}}} = 0 $$
(53)

Consequently

$$ \varvec{cos \beta } = \varvec{ }0,\, {\mathbf{i}}.{\mathbf{e}}. \, {\varvec{\upbeta}} = {\mathbf{90}}^{{\mathbf{o}}} . $$
(54)

Equation 54 indicates that an isosceles trapezoidal right prism (with constant θ and variable β) will possess the minimum S when x → 0, i.e., the trapezoid tends to be a rectangle. In this case and according to Eq. 54, it is clear that S is a decreasing function of β (see Fig. 11) regardless the value of θ. It can be concluded also that S is a decreasing function of θ in the range where θ ≤ 45o. This relationship is reversed when θ > 45o, i.e. S becomes an increasing function of θ (see Fig. 11) regardless the value of β.

Fig. 11
figure 11

The relationship between β and S (different θ)

  • Case of variable θ and constant β

Unlike the previous case, here L is variable. Applying the rule of minimum Per, SMin occurs when the first derivative of Eq. 42 equals zero, i.e.,

$$ \frac{{\varvec{dPer}}}{{\varvec{d\theta }}} = \frac{{2\sqrt {\varvec{Ar}} }}{{\sin\varvec{\beta}}}\varvec{ } \times \left[ {\frac{{ - \varvec{sec}^{2} \varvec{ \theta }}}{{2\varvec{tan \theta }\sqrt {\tan\varvec{\theta}} }}\varvec{ } \times \left( {\varvec{sin \beta } + \varvec{tan \theta } + \frac{1}{{\sqrt {\tan\varvec{\theta}} }} \times \varvec{sec}^{2} \varvec{ \theta }} \right)} \right] = 0. $$
(55)

Applying the rules of trigonometry, this leads to:

$$ \varvec{sin \beta } = \varvec{ tan \theta } $$
(56)

Thus

$$ \varvec{\theta}= \varvec{tan}^{ - 1} (\varvec{sin \beta }).\varvec{ } $$
(57)

Consequently, among the different isosceles trapezoidal right prisms (with variable θ and constant β), the one that satisfies the condition of Eq. 57 possesses SMin. Figure 12 shows an example for the relationship between θ and S (case of β = 45o).

Fig. 12
figure 12

The relationship between θ and S (case of β = 45o)

Equation 57 also reveals the results of the general case where both θ and β are variables. In such cases, SMin exists when β reaches its maximum value (90o). Thus, and according to Eq. 57, θ equals 45o. This means that θ = ψ, or a squared shape. This result agrees with the findings of the rectangular prisms where a squared prism has the minimum S among other prisms that have the same Ar and V (see Sect. Case II, variable θ, constant Ar and HR).

Remark 3: Walls Ratio RW

In isosceles trapezoidal right prisms, the ratio RW can be mathematically calculated from Eq. 17. By substitution for Per and Ar according to Eqs. 36 and 45 respectively, Eq. 17 will be:

$$ \varvec{R}_{\varvec{W}} = \frac{{2\varvec{h H}_{\varvec{R}} \varvec{ }\left( {\varvec{cos \theta } + \frac{{\varvec{sin \theta }}}{{\varvec{sin \beta }}}} \right)}}{{2\varvec{h}^{2} \sin\varvec{\theta}\cos\varvec{\theta}+ 2\varvec{h H}_{\varvec{R}} \varvec{ }\left( {\varvec{cos \theta } + \frac{{\varvec{sin \theta }}}{{\varvec{sin \beta }}}} \right)}}. $$
(58)

By applying the rules of algebra and trigonometry, Eq. 58 can be rewritten as:

$$ \varvec{R}_{\varvec{W}} = \frac{{\varvec{H}_{\varvec{R}} \varvec{ }\left( {\varvec{cos \theta } + \varvec{sin \theta csc \beta }} \right)}}{{\varvec{h}\sin\varvec{\theta}\cos\varvec{\theta}+ \varvec{H}_{\varvec{R}} \varvec{ }\left( {\varvec{cos \theta } + \varvec{sin \theta csc \beta }} \right)}}. $$
(59)

To calculate R Wo , the conditions for ω o must be applied, thus, Eq. 58 will be written as:

$$ \varvec{R}_{{\varvec{Wo}}} = \frac{{4\varvec{h}^{2} \sin \varvec{\theta }\cos\varvec{\theta}\times \left( {\frac{{(\cos\varvec{\theta}+ \frac{{\sin\varvec{\theta}}}{{\sin\varvec{\beta}}})}}{{(\cos\varvec{\theta}+ \frac{{\sin\varvec{\theta}}}{{\sin\varvec{\beta}}})}}} \right)}}{{2\varvec{h}^{2} \sin \varvec{\theta }\cos\varvec{\theta}+ 4\varvec{h}^{2} \sin \varvec{\theta }\cos\varvec{\theta}\times \left( {\frac{{(\cos\varvec{\theta}+ \frac{{\sin\varvec{\theta}}}{{\sin\varvec{\beta}}})}}{{(\cos\varvec{\theta}+ \frac{{\sin\varvec{\theta}}}{{\sin\varvec{\beta}}})}}} \right)}} . $$
(60)

By applying the rules of trigonometry, this leads to:

$$ \varvec{R}_{{\varvec{Wo}}} = \frac{2}{3} = 0.6667. $$
(61)

The last equation indicates that R Wo , similar to triangular and rectangular right prisms, is constant for any combination of θ and β and equals 2/3.

Remark 4: Case of Equality

Following the same methodology, this section calculates the two numerical equalities, (Per–Ar) and (S–V).

Case I, Equality of Per and Ar

In case of isosceles trapezoidal shapes, the critical diagonal h o (see Sect. Notations) that fulfills the numerical equality between Ar and Per can be calculated based on Eqs. 36 and 45 as:

$$ 2\varvec{h}_{\varvec{o}} \left( {\varvec{cos \theta } + \frac{{\varvec{sin \theta }}}{{\varvec{sin \beta }}}} \right) = \varvec{h}_{\varvec{o}}^{2} \varvec{ sin\theta }\cos\varvec{\theta}. $$
(62)

By applying the rules of algebra and trigonometry, Eq. 62 can be simplified to:

$$ \varvec{h}_{\varvec{o}} = \varvec{ }2\varvec{ }(\csc\varvec{\theta}+ \sec\varvec{\theta}\csc\varvec{\beta}). $$
(63)

Equation 63 reveals the condition under which this numerical equality exists. Again, and similar to ω o , the numerical equality in this case is a function of both θ and β, for every combination of θ and β there is a specific h o that fulfills this equality. Given the values of h o , θ and β, the other parameters of a trapezoid: L, n, b, Per and Ar can be calculated from Eqs. 26, 28, 31, 36 and 45 respectively.

Case II, Equality of S and V

In isosceles trapezoidal right prisms, the critical room height H Ro (see Sect. Notations) that fulfills the numerical equality between S and V can be calculated from Eqs. 46 and 48 as:

$$ 2\varvec{h}^{2} \sin\varvec{\theta}\cos\varvec{\theta}+ 2\varvec{h H}_{{\varvec{Ro}}} \left( {\varvec{cos \theta } + \frac{{\varvec{sin \theta }}}{{\varvec{sin \beta }}}} \right) = \varvec{ h}^{2} \sin\varvec{\theta}\cos\varvec{\theta}\times \varvec{H}_{{\varvec{Ro}}}.\varvec{ } $$
(64)

By applying the rules of algebra and trigonometry, Eq. 64 can be simplified to:

$$ \varvec{H}_{{\varvec{Ro}}} = \frac{{2\varvec{h}\sin\varvec{\theta}\cos\varvec{\theta}}}{{\varvec{h}\sin\varvec{\theta}\cos\varvec{\theta}- 2(\cos\varvec{\theta}+ \sin\varvec{\theta}\csc\varvec{\beta})}}\varvec{ }. $$
(65)

For an isosceles trapezoidal room with given θ, β and Ar, the numerical equality between S and V will exist if the condition in Eq. 65 fulfilled. This can be calculated in the following sequence:

  • Determine θ, β and Ar;

  • Apply Eq. 33 to get h, then;

  • Substitute in Eq. 65, to get the critical room height H Ro ;

  • Apply Eq. 46 to get V and Eq. 48 to get S.

Similar to the triangular and rectangular rooms, the minus sign (-) in the denominator of Eq. 65 indicates that for every θ and β there is a minimum h under which this equality will never exist. Again, this occurs when H Ro tends to , i.e., when Ar equals Per according to Eq. 63. The relationship between Ar and H Ro resembles the same relationship in the case of the rectangular right prisms (see Fig. 7).

Conclusions

Following the same methodology and rules that were applied previously in Part I, this part examines the cases of the regular quadratic right prisms. Such prisms include the rectangular and isosceles trapezoidal right prisms; both were considered in this part. The first remark examines the effect of θ on S. In the second remark, the minimum total surface area SMin for the rooms under discussion was calculated in two cases, case of constant θ (or constant θ and β) and case of variable θ (or variable θ and/or β). In the first case, the critical ratio ω o was calculated. Results showed that ω o depends entirely on θ (or θ and β in case of isosceles trapezoidal right prisms). The values of ω o were calculated and presented. In the second case, where θ (or θ and/or β in isosceles trapezoids) is variable, results showed that SMin, in the case of rectangles, corresponds to θ = 45o. In the case of trapezoids, results indicate that an isosceles trapezoidal right prism (with constant θ and variable β) will possess the minimum S when x → 0. In case of variable θ and constant β, the isosceles trapezoid that satisfies the condition of Eq. 57 possesses SMin. The third remark calculates the ratio RW (SW/S). In rectangles, results showed that RW reaches its minimum value when θ = 45o whereas in trapezoids, it depends on the values of θ, β, h and HR. Results also showed that the critical walls ratio R Wo is constant for any θ (or θ and β in isosceles trapezoids) and is equal to 2/3. The last remark investigates the conditions for the numerical equality either between Per and Ar or S and V. In the first case, the critical diagonal h o that fulfills Per–Ar equality was calculated. Results showed that h o depends entirely on θ (or θ and β in isosceles trapezoids). In the second case, the critical room height H Ro that fulfills S–V equality was calculated. Results also indicated that for every θ (or θ and β in isosceles trapezoids) there is a minimum h under which this equality will never exist; this corresponds to h o (i.e. Ar = Per).