Pythagoras

For questions about using Classic.

Post » Mon Oct 04, 2010 12:21 pm

What I need to write to use Pythagoras' theorem like an expression? Or there is an alternative expression in system/math?

B
34
S
16
G
10
Posts: 285
Reputation: 7,349

Post » Mon Oct 04, 2010 1:18 pm

2 ways:

1) System expression "sqrt"
sqrt(a^2 + b^2)

2) System expression "distance" (which is using that theorem)
distance(x1, y1, x2, y2)
Image
B
24
S
8
G
10
Posts: 1,821
Reputation: 8,279

Post » Mon Oct 04, 2010 1:38 pm

Thanks tulamide!
B
34
S
16
G
10
Posts: 285
Reputation: 7,349


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 6 guests