Anke
April 2, 2020, 8:20pm
1
I created my first simple extension (for testing).
I have seen this extension: [Extension] Math Formulas [V3]
Yes, this returns x1, which of course can also be negative. But what about x2 ?
I used the Extension Template Repository: Extension Template Repository
(of course, not a big deal, but for the first time )
de.BodyMindPower.quadraticEquation.aix (5.6 KB)
UPDATE v2: de.BodyMindPower.quadraticEquation_v2.aix (5.7 KB)
I have simplified the extension following @vishwas advice:
Great first extension! Have you considered having only one method that returns a List of both solutions of the equation? You could do something like: public YailList Calc(float a, float b, float c) { float x1 = /*YOUR CODE TO FIND THE FIRST...
14 Likes
Congratulations Anke! I have tested the extension and it works !
2 Likes
Ambok
April 3, 2020, 1:35am
5
Nice Work !!
which programing language used to create extension ?
1 Like
ABG
April 3, 2020, 2:21pm
8
I would love to see the source code.
Can it be posted here as a snippet, or
do we have to be lowered on a rope into a Framework to see it, like a cave painting?
1 Like
Anke
April 3, 2020, 6:35pm
9
I updated the extension. Now the values x1, x2 are output in a list.
Thanks @vishwas
3 Likes
Can you share source code , Please.
Din
December 24, 2021, 5:38pm
11
Can you please help me how to use it in app inventor?
I have tried many versions but non of them works...
Taifun
December 24, 2021, 6:48pm
12
it looks like you are using one of the advanced blocks (which has a "for component socket), which does not make sense... just use the normal blocks from the extension drawer directly...
Taifun
1 Like
Din
December 24, 2021, 7:10pm
13
The interesting thing is that the same extension looks different in AI vs Kodular and my project is in AI.
In AI it looks like this:
In Kodular it look like this:
Taifun
December 24, 2021, 7:25pm
14
As already said earlier...
You found the extension in the Any component drawer... you might want to close that drawer...
What do you get, if you expand the Screen1 drawer? Do you see the + sign next to Screen1?
Taifun
3 Likes
Din
December 24, 2021, 7:44pm
15
Woww, perfect , Thank you so much!!!!
I've just understood the real meaning of the "drawer directly"
It looks normal over there and works perfectly like this: