Skip to content

formula_6_7n

codes.eurocode.en_1992_1_1_2004.chapter_6_ultimate_limit_state.formula_6_7n

Formula 6.7n from EN 1992-1-1:2004: Chapter 6 - Ultimate limit state.

Classes:

codes.eurocode.en_1992_1_1_2004.chapter_6_ultimate_limit_state.formula_6_7n.Form6Dot7nCheckCotTheta

Form6Dot7nCheckCotTheta(theta: DEG)

Bases: Formula

Class representing formula 6.7n for check of cotangent of theta.

Check if cotangent of theta is between 1 and 2.5.

EN 1992-1-1:2004 art.6.2.3(2) - Formula (6.7n)

Parameters:

  • theta (DEG) –

    [\(\theta\)] angle between the concrete compression strut and the beam axis perpendicular to the shear force [\(-\)].

Source code in blueprints/codes/eurocode/en_1992_1_1_2004/chapter_6_ultimate_limit_state/formula_6_7n.py
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
def __init__(
    self,
    theta: DEG,
) -> None:
    r"""Check if cotangent of theta is between 1 and 2.5.

    EN 1992-1-1:2004 art.6.2.3(2) - Formula (6.7n)

    Parameters
    ----------
    theta : DEG
        [$\theta$] angle between the concrete compression strut and the beam axis perpendicular to the shear force [$-$].
    """
    super().__init__()
    self.theta = theta

codes.eurocode.en_1992_1_1_2004.chapter_6_ultimate_limit_state.formula_6_7n.Form6Dot7nCheckCotTheta.latex

latex(n: int = 3) -> LatexFormula

Returns LatexFormula object for formula 6.7n.

Source code in blueprints/codes/eurocode/en_1992_1_1_2004/chapter_6_ultimate_limit_state/formula_6_7n.py
43
44
45
46
47
48
49
50
51
52
def latex(self, n: int = 3) -> LatexFormula:
    """Returns LatexFormula object for formula 6.7n."""
    return LatexFormula(
        return_symbol=r"CHECK",
        result="OK" if self.__bool__() else "\\text{Not OK}",
        equation=r"1 \leq \cot(\theta) \leq 2.5",
        numeric_equation=rf"1 \leq \cot({self.theta:.{n}f}) \leq 2.5",
        comparison_operator_label="\\to",
        unit="",
    )