November 3, 2019, 11:30am
I always wondered how extensions are made. I started to explore about making extensions and started learning JAVA. I’m still a beginner. And I hope to bring more useful extensions to the community.
Here is my very first extension. Math Formulas
As clearly stated in the name, this extension includes some formulas of math.
25. I will add more in the next releases.
Usage / Instructions
I think blocks are clear and don’t need any instructions to use.
Direct Link: [V3] com.Fahad.MathFormulas.aix (10.2 KB)
[V3] com.Fahad.MathFormulas.aix - Google Drive
Version 1: Added 8 blocks (For calculating areas)
Version 2: Added 6 blocks (For calculating volumes) ( Details)
Version 3: Added 10 new blocks ( Details)
First of all thanks to
@KodularCreator for this great platform.
And thanks to this Community where I learnt many things from people like @yusufcihan
Any suggestions are greatly appreciated.
@FahadAhmad Keep up with the updates.
November 4, 2019, 2:54pm
Thank you for liking
I’ll bring more updates soon.
November 4, 2019, 5:40pm
Added 6 blocks for calculating volumes of following:
Check 1st post for the link.
November 5, 2019, 1:19pm
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?
November 5, 2019, 6:13pm
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?
November 5, 2019, 9:30pm
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…
November 6, 2019, 4:11am
Will try to add.
Are you talking about this?
November 6, 2019, 4:17am
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.
November 6, 2019, 4:51pm
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
November 7, 2019, 9:58am
Added Nth Root
Download link in the first post updated!
P.S: Thank you @Robert for the idea!
November 7, 2019, 4:49pm
Any other idea?
I would like to hear.
November 8, 2019, 5:18pm
Well, you have done such a great job! This extension has a lot of blocks already. Currently I do not have other ideas.
January 10, 2020, 6:13am
mathematical functions are interesting of course.
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,
January 11, 2020, 9:17am
Well, thank you for your interest
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