My first extension - quadratic equation

I created my first simple extension (for testing). :champagne:

I have seen this extension: [Extension] Math Formulas [V3]


Yes, this returns x1, which of course can also be negative. But what about x2 ?

grafik

grafik

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:

14 Likes

Congratulations Anke! I have tested the extension and it works ! :champagne:

2 Likes

@Anke wow, awesome!

1 Like

Congratulations!

1 Like

Nice Work !!
which programing language used to create extension ?

1 Like

They are made with Java

2 Likes

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

I updated the extension. Now the values x1, x2 are output in a list.
Thanks @vishwas

grafik

3 Likes

Can you share source code , Please.

Can you please help me how to use it in app inventor?
I have tried many versions but non of them works...

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

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:

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

Woww, perfect , Thank you so much!!!!:slight_smile:
I've just understood the real meaning of the "drawer directly"
It looks normal over there and works perfectly like this: