Thank you @ImranTariq!
[Extension] Math Formulas [V3]
Great work
Changelog V2
Added 6 blocks for calculating volumes of following:
- Cube
- Parallelepiped
- Regular prism
- Cylinder
- Cone
- Sphere
Check 1st post for the link.
Changelog V3
Added 10 new blocks
- Pi (Returns value of Pi)
- Cube (Returns Cube of a number)
- CubeRoot (Returns cube root of a number)
- Log (Returns the natural logarithm of a number)
- Log10 (Returns the base 10 logarithm of a number)
- Log1p (Returns the natural logarithm of the sum of the argument and 1)
- Exp (Returns E raised to the power of a number, where E is Euler’s number and it is approximately equal to 2.71828
- Expm1 (Calculate the power of E and subtract one from it)
- PowerOfNumber (Returns the power of a number)
- QuadraticFormula (Find the value of Quadratic formula by providing values of a, b and c. Positive value will be returned)
Suggest me what should be added in next version?
Great extension! I suggest to add the n th root. It isn’t too hard. For example, 3√x = x^(1/3). Are you able to power using non whole exponents?
thank you for your contribution
a math extension is a good start into creating extensions…
are you aware, that there already is a Math extension, which is able to calculate “everything”?
and it uses only one method to do that…
Taifun
Yeah! That’s why I started with it. I had no prior knowledge of creating extensions.
Sir, I know about every single extension of yours.
This page opens the whole time I’m using my PC or laptop:
App Inventor Extensions | Pura Vida Apps
You are great! You are my inspiration!
Yes I know, you can make anything simple. I’m just using Java's Math class
for my experience.
Yes, I was talking about this? So the method (power) is already implemented. However, it would be nice to add another* n th root block.
*2nd root already exists
Small Update
Added Nth Root
Usage Example
Download link in the first post updated!
P.S: Thank you @Robert for the idea!
Thank you .
You’re welcome .
Any other idea?
I would like to hear.
Well, you have done such a great job! This extension has a lot of blocks already. Currently I do not have other ideas.
mathematical functions are interesting of course.
but
how about the next one:
- to make the functions work with the hexadecimal transformation ? for example, working with bytes … 04 6C 01 08 … as a result it is 01086C04
or 17 329 156. (the difficulty in assembling it is to control the number greater than 10 or not) . - base for translation (basis) of representation of number from hexadecimal system in decimal at observance of base of numerical values (16-bit, 32,64)?
- Translation of numeric values into alphabetic values in both directions . For example, code 31=number 1, https://upload.wikimedia.org/wikipedia/commons/thumb/4/4f/ASCII_Code_Chart.svg/369px-ASCII_Code_Chart.svg.png
Well, thank you for your interest @11119!
You can clearly see from the name of extension that it is related to mathematical formulas (formulae).
Why do you think that your proposal is related to this extension?
Maybe I’m wrong.
I would like to do a scientific account, but can it be done?
sin or cos or tan 30
The result
Why you don’t use built-in math blocks?
https://docs.kodular.io/blocks/math/#sin
I mean fractional view