Acosh Icon
Mathematical.Acosh
AcoshA component that computes the inverse hyperbolic cosine of the input signal.
Description
The Acosh block computes the inverse hyperbolic cosine of input u using the built-in acosh() function. The output y is defined as: y = acosh(u). Note: acosh(u) is only defined for u >= 1.
Variables
u(t): Input signal (must be >= 1)y(t): Output signal (inverse hyperbolic cosine of u)
Examples
- u = 1 → y = 0
- u = 2 → y ≈ 1.317
- u = 5 → y ≈ 2.293
This component extends from BlockComponents.SISO
Usage
PrimitiveComponents.Mathematical.Acosh()
Connectors
u- This connector represents a real signal as an input to a component (RealInput)y- This connector represents a real signal as an output from a component (RealOutput)
Behavior
\[ \begin{align} y\left( t \right) &= \mathrm{arccosh}\left( u\left( t \right) \right) \end{align} \]
Source
"""
Acosh
A component that computes the inverse hyperbolic cosine of the input signal.
# Description
The Acosh block computes the inverse hyperbolic cosine of input `u` using the built-in `acosh()` function.
The output `y` is defined as: y = acosh(u).
Note: acosh(u) is only defined for u >= 1.
# Variables
- `u(t)`: Input signal (must be >= 1)
- `y(t)`: Output signal (inverse hyperbolic cosine of u)
# Examples
- u = 1 → y = 0
- u = 2 → y ≈ 1.317
- u = 5 → y ≈ 2.293
"""
component Acosh
extends BlockComponents.SISO
relations
y = acosh(u)
metadata {
"Dyad": {
"icons": {"default": "dyad://PrimitiveComponents/Acosh.svg"},
"labels": [{"label": "$(instance)", "x": 500, "y": 1100}]
}
}
end
Flattened Source
"""
Acosh
A component that computes the inverse hyperbolic cosine of the input signal.
# Description
The Acosh block computes the inverse hyperbolic cosine of input `u` using the built-in `acosh()` function.
The output `y` is defined as: y = acosh(u).
Note: acosh(u) is only defined for u >= 1.
# Variables
- `u(t)`: Input signal (must be >= 1)
- `y(t)`: Output signal (inverse hyperbolic cosine of u)
# Examples
- u = 1 → y = 0
- u = 2 → y ≈ 1.317
- u = 5 → y ≈ 2.293
"""
component Acosh
"Input signal port"
u = RealInput() {
"Dyad": {
"placement": {
"icon": {"iconName": "input", "x1": -100, "y1": 450, "x2": 0, "y2": 550, "rot": 0},
"diagram": {"iconName": "input", "x1": -100, "y1": 450, "x2": 0, "y2": 550, "rot": 0}
}
}
}
"Output signal port"
y = RealOutput() {
"Dyad": {
"placement": {
"icon": {"iconName": "output", "x1": 1000, "y1": 450, "x2": 1100, "y2": 550, "rot": 0},
"diagram": {"iconName": "output", "x1": 1000, "y1": 450, "x2": 1100, "y2": 550, "rot": 0}
}
}
}
relations
y = acosh(u)
metadata {
"Dyad": {
"labels": [{"label": "$(instance)", "x": 500, "y": 1100, "rot": 0}],
"icons": {"default": "dyad://PrimitiveComponents/Acosh.svg"}
}
}
endTest Cases
No test cases defined.
Related
- Examples
- Experiments
- Analyses