Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

## #1 2012-04-21 17:20:35

MathsIsFun

Offline

### Area of Polygon by Drawing

A new app tentatively titled: Area of Polygon by Drawing

Does the title make sense? It can also double as a "solving" tool if you know enough lengths/angles.

Converting back/forth between the mouse coords (in pixels) vs graph coords (which the user can vary) kept on going wrong, but I think it is good now.

Have a play, let me know how it goes.

"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

## #2 2012-04-21 18:29:53

bob bundy
Moderator

Offline

### Re: Area of Polygon by Drawing

hi MathsIsFun,

Another great page.  Well done!

Haven't found any bugs yet.

Question:  When adding a new point, what is your criteron for where it is placed?

And:  Do I have to move my points with the mouse or is there a way to move with arrow keys or even specify a pair of coordinates exactly.

I see, for example, that your default shape is a regular pentagon.  Supposing I wanted a regular hexagon?

Bob

You cannot teach a man anything;  you can only help him find it within himself..........Galileo Galilei

## #3 2012-04-21 19:12:49

bobbym

Offline

### Re: Area of Polygon by Drawing

Hi MIF;

A very good idea! I kind of like it.

I would like to have more digits.

In mathematics, you don't understand things. You just get used to them.
90% of mathematicians do not understand 90% of currently published mathematics.
I am willing to wager that over 75% of the new words that appeared were nothing more than spelling errors that caught on.

## #4 2012-04-21 20:16:19

MathsIsFun

Offline

### Re: Area of Polygon by Drawing

New point: half way between first 2 points.

Good suggestions. I can't figure how to implement at the moment, but will note them down.

#### bobbym wrote:

I would like to have more digits.

"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

## #5 2012-04-21 21:57:03

bobbym

Offline

### Re: Area of Polygon by Drawing

Hi MIF;

Hmmmm, those are fine. What would be nice is a few more digits for the area and points.

In mathematics, you don't understand things. You just get used to them.
90% of mathematicians do not understand 90% of currently published mathematics.
I am willing to wager that over 75% of the new words that appeared were nothing more than spelling errors that caught on.

## #6 2012-04-22 00:39:05

anonimnystefy
Real Member

Offline

### Re: Area of Polygon by Drawing

I like it,but it cannot be moved left,right,up and down.

I am amazed to how many digits I was able to zoom in.

Last edited by anonimnystefy (2012-04-22 00:39:17)

The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“A secret's worth depends on the people from whom it must be kept.” ― Carlos Ruiz Zafón

## #7 2012-04-22 08:17:21

MathsIsFun

Offline

### Re: Area of Polygon by Drawing

#### anonimnystefy wrote:

I like it,but it cannot be moved left,right,up and down.

Click on left of drawing surface to "recenter" half way to right.

"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

## #8 2012-04-22 08:24:34

anonimnystefy
Real Member

Offline

### Re: Area of Polygon by Drawing

I'll try that tomorrow.

The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“A secret's worth depends on the people from whom it must be kept.” ― Carlos Ruiz Zafón

## #9 2012-04-23 11:18:48

MathsIsFun

Offline

### Re: Area of Polygon by Drawing

Try putting in (4,6), (2,6), (2,4), (4,4), (4,2), (6,2), (6,4), (8,4), (8,6), (6,6), (6,8), (4,8) for a positive experience.

"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

## #10 2012-04-23 11:29:43

bobbym

Offline

### Re: Area of Polygon by Drawing

Hi MIF;

That is a neat feature.

In mathematics, you don't understand things. You just get used to them.
90% of mathematicians do not understand 90% of currently published mathematics.
I am willing to wager that over 75% of the new words that appeared were nothing more than spelling errors that caught on.

## #11 2012-04-23 12:22:31

anonimnystefy
Real Member

Offline

### Re: Area of Polygon by Drawing

I am not sure what that is,but I think it is a:

The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“A secret's worth depends on the people from whom it must be kept.” ― Carlos Ruiz Zafón

## #12 2012-04-23 14:11:44

MathsIsFun

Offline

### Re: Area of Polygon by Drawing

Yes, anonimnystefy, A+

"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

## #13 2012-04-23 15:04:22

anonimnystefy
Real Member

Offline

### Re: Area of Polygon by Drawing

A winner is me -.-"

The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“A secret's worth depends on the people from whom it must be kept.” ― Carlos Ruiz Zafón

## #14 2012-05-14 17:58:45

MathsIsFun

Offline

### Re: Area of Polygon by Drawing

New version 0.75

Linky (same as above)  Area of Polygon by Drawing

Has a "Regular" button (to make it regular, of course). A bob bundy request.

Also includes a description of the polygon: regular, concave, complex. Let me know if it gets it wrong!

Also try to make a regular polygon without using the regular button

"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

## #15 2012-05-14 19:08:37

bobbym

Offline

### Re: Area of Polygon by Drawing

Hi MIF;

Seems to be working nicely.

I use a formula involving determinants for the computation of areas. What do you use?

In mathematics, you don't understand things. You just get used to them.
90% of mathematicians do not understand 90% of currently published mathematics.
I am willing to wager that over 75% of the new words that appeared were nothing more than spelling errors that caught on.

## #16 2012-05-14 20:56:44

anonimnystefy
Real Member

Offline

### Re: Area of Polygon by Drawing

Hi bobbym

Is that the shoelace formula you are using?

The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“A secret's worth depends on the people from whom it must be kept.” ― Carlos Ruiz Zafón

## #17 2012-05-14 20:59:00

bobbym

Offline

### Re: Area of Polygon by Drawing

Sorry, I can not even remember what day it is and you want me to remember what these formulas are called?

In mathematics, you don't understand things. You just get used to them.
90% of mathematicians do not understand 90% of currently published mathematics.
I am willing to wager that over 75% of the new words that appeared were nothing more than spelling errors that caught on.

## #18 2012-05-14 21:04:34

anonimnystefy
Real Member

Offline

### Re: Area of Polygon by Drawing

Did you try searching "shoelace formula" to see if that is the one?

Btw,today is 14/5/2012,Europian date format.

The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“A secret's worth depends on the people from whom it must be kept.” ― Carlos Ruiz Zafón

## #19 2012-05-14 21:12:35

bobbym

Offline

### Re: Area of Polygon by Drawing

Heck no! That is most convoluted idea I have ever seen. I just plug them into a big matrix and let M get the determinant.

In mathematics, you don't understand things. You just get used to them.
90% of mathematicians do not understand 90% of currently published mathematics.
I am willing to wager that over 75% of the new words that appeared were nothing more than spelling errors that caught on.

## #20 2012-05-14 21:14:27

anonimnystefy
Real Member

Offline

### Re: Area of Polygon by Drawing

Plug what into a big matrix?

The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“A secret's worth depends on the people from whom it must be kept.” ― Carlos Ruiz Zafón

## #21 2012-05-14 21:15:28

bobbym

Offline

### Re: Area of Polygon by Drawing

The coordinates.

In mathematics, you don't understand things. You just get used to them.
90% of mathematicians do not understand 90% of currently published mathematics.
I am willing to wager that over 75% of the new words that appeared were nothing more than spelling errors that caught on.

## #22 2012-05-14 21:16:16

anonimnystefy
Real Member

Offline

### Re: Area of Polygon by Drawing

What kind of matrix? What are the dimensions?

The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“A secret's worth depends on the people from whom it must be kept.” ― Carlos Ruiz Zafón

## #23 2012-05-14 21:17:59

MathsIsFun

Offline

### Re: Area of Polygon by Drawing

#### bobbym wrote:

I use a formula involving determinants for the computation of areas. What do you use?

Same, really. Sum up (pt0.x * pt1.y - pt0.y * pt1.x) for successive pairs of points (including last to first). Need to divide by 2 at end.

Couldn't work out how to get area for complex shapes, though, so just say "complex".

"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

## #24 2012-05-14 21:20:56

bobbym

Offline

### Re: Area of Polygon by Drawing

Sorry, I seemed to have dropped the determinant way in favor of some algorithm. This is the one I have in my notes right now. I was wondering what MIF is using

In mathematics, you don't understand things. You just get used to them.
90% of mathematicians do not understand 90% of currently published mathematics.
I am willing to wager that over 75% of the new words that appeared were nothing more than spelling errors that caught on.

## #25 2012-05-14 21:21:34

anonimnystefy
Real Member

Offline

### Re: Area of Polygon by Drawing

Does the same method work for complex polys?

The limit operator is just an excuse for doing something you know you can't.
“It's the subject that nobody knows anything about that we can all talk about!” ― Richard Feynman
“A secret's worth depends on the people from whom it must be kept.” ― Carlos Ruiz Zafón