# [FREE] Maths Extension

1. Introduction
Use this extension to do simple and Advanced Mathematics.

2. Details
Name: Maths
Version: `1`
Package Name: `com.appybuilder.rutheniumalpha.Maths`
Date Build: 2021-02-06T18:30:00Z
Last Updated: 2021-02-06T18:30:00Z

3. Blocks

Absolute

Returns the absolute value of num.

AngleThetaRectanCoord

Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates.

ArcosineRad

Returns the arccosine of num, in radians.

ArcsineRad

Returns the arcsine of num, in radians.

ArctangentRad

Returns the arctangent of num as a numeric value between -PI/2 and PI/2 radians.

Arithemetics

Use Arithemetics. + for Adddition, - for Subtraction, * for Multiplication, / for Division.

Ceil

Returns the value of num rounded up to its nearest integer.

Convert
Converts Radians to Degrees and vise versa. Rad - Radians, Deg - Degrees. If the from-to is not given properly it will return 0.
Case 1

This will convert Radians to Degrees.
Case 2

This will convert Degrees to Radians.

Cosine

Returns the cosine of num (num is in radians).

CubeRoot

Returns the cube root of num.

Floor

Returns the value of num rounded down to its nearest integer.

HyperbolicCosine and HyperbolicTangent

Returns the Hyperbolic Tangent/Cosine of num.

Hypot

Returns sqrt(x^2 +y^2) without intermediate overflow or underflow.

Log and Log10

Returns the log/log 10 of num.

Min and Max

Returns the min/max of x,y.

Power

Returns the value of x to the power of y.

Random0to1

Returns a random number between 0 and 1.

Round

Returns the value of num rounded to its nearest integer.

Sine

Returns the sine of num (num is in radians).

SquareRoot

Returns the square root of num.

Tangent

Returns the tangent of an angle.

CopySign

Returns the first floating point num with the sign of the second floating point y.

Download (Version 1)
Download AIX : com.appybuilder.rutheniumalpha.Maths.aix (9.9 KB)

Thanks to my best friend and teacher @Salman_Dev.

Please feel free to say any improvements or any bugs.

7 Likes

Maybe add a function called Map()? I know it can be achieved by regular blocks though.

4 Likes

Nice extension @Alpha2020

2 Likes

Thank you very much @Nisarga_Adhikary

2 Likes

Wow, I’m so proud of you. @Alpha2020
Keep up the good work.

4 Likes

Thank you....

4 Likes

Some blocks are useful,
others are present in the inbuilt blocks itself...

5 Likes

Good. Can you adjust the size of the image of the extension? I think it is too big.

1 Like

I have only one question. How can i round numbers on 2 decimal numbers?? @Alpha2020
Ty

A community search might have yielded the fiollowing:

1 Like