Square Root
A simple arithmetic function block that calculates the square root of a numeric value. Use this block when you need the positive root of a non-negative number inside your scenario.
π₯ Inputs (sockets)
Number The numeric value to compute the square root of. Provide a non-negative value for valid results.
π€ Outputs (sockets)
Number The resulting square root value.
πΉοΈ Controls
This block has no interactive controls. It computes its output directly from the input socket.
βοΈ Running mechanism
When the block receives a numeric input, it produces the square root of that value at its output each evaluation cycle. If the input is missing or invalid for square root (for example, a negative number), the block will not produce a meaningful numeric result β include a check before feeding such values.
β¨ Features
Instant numeric operation suitable for live pipelines.
Minimal UI footprint β designed to be combined with other math and logic blocks.
Works seamlessly in arithmetic chains (e.g., combine with multiply or divide blocks).
π How to use
Provide a numeric value into the
Numberinput socket (for example from aNumber Inputblock or the output of another math block).Read the result from the
Numberoutput socket.If you expect negative inputs, validate first (see tips below).
π‘ Tips and Tricks
Feed values using
Number Inputfor manual testing or parameter tuning.Validate input non-negativity with
Greaterbefore connecting to avoid invalid values.If you want to compute the square root of an absolute value, use
Absolutebefore this block.Round results for display using
Roundif you need fewer decimals.Use
MultiplyorDividebefore/after to scale values into the desired range.Visualize numeric trends with
Scopeor log values withCSV ExportorData to JSONfor monitoring.
π οΈ Troubleshooting
If the output looks incorrect, ensure the input value is non-negative.
If no value appears, confirm the input socket is connected (for example, from a
Number Inputor another math block).Use a simple pre-check chain (
Greaterβ conditional flow) to prevent invalid inputs from reaching this block.
Last updated
Was this helpful?