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
30
S
15
G
10
Posts: 285
Reputation: 7,144

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
23
S
8
G
10
Posts: 1,820
Reputation: 8,242

Post » Mon Oct 04, 2010 1:38 pm

Thanks tulamide!
B
30
S
15
G
10
Posts: 285
Reputation: 7,144


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests