Hi Noak,
Can you give us a link to your project so we can see what you have so far? I'm not familiar with the Heron formula so a bit more detail would also be helpful. The more detail you can give us, the better our chances of giving you what you are looking for
Ah, I see from Wikipedia that Heron's formula is a way of calculating the area of a triangle from the length of it's three sides. Maybe you are looking for a way to enter the three side lengths all at once, separated by commas? If that's the case, you might want to try an easier approach as Scratch doesn't have an easy way to split answers apart on commas (although it can be done, see my Flexible Line project). An easier approach would be to use the Ask/Answer blocks three times to set some variable values:
Ask "Enter length of side A" and wait
Set Side_A to Answer
Ask "Enter length of side B" and wait
Set Side_B to Answer
Ask "Enter length of side C" and wait
Set Side_C to Answer
Offline

Ah, I researched it, Heron's formula is a method of working out the area T of a triangle whose sides have lengths a, b, and c.
s is apparently the semiperimeter which can be worked out using this:
But I have no idea how the comma relates to this.
Last edited by rookwood101 (2011-12-21 05:09:04)
Offline