A school warm-up exercise to occupy your time - page 6

 
Cramer's theorem is in this book (Appendix, page 102).
Крыжановский Д.А. Изопериметры. Максимальные и минимальные свойства геометрических фигур
Крыжановский Д.А. Изопериметры. Максимальные и минимальные свойства геометрических фигур
  • www.studmed.ru
Приложение алгебры к геометрии состоит в систематическом изложении способов разрешать вопросы, которыми требуется определить или величину или положение геометрических количеств. Издание 1827 года. Отделение 1. Отделение 2. Отделение 3. Готман Э.Г. Задачи по планиметрии и методы их решения М: Просвещение, 1996. - 243 с. В сборнике, содержащем...
 

assuming that indeed if all nodes lie on a circle, the area is maximal (which is so similar to the truth that it seems to be true),

the maximal area does not depend on the order of sides (it is shown on the given pictures), for example, the maximal area 1-2-3-4 is equal to the maximal area 1-4-3-2

for 3- angle, the formula should be reduced to Heron's formula, for the square x-x-x-x reduce to x^2

it seems to be simple and obvious thing, but it somehow does not count

---

damn it, and these people are looking for a grail in the financial markets :-)

 
Maxim Kuznetsov:

assuming that indeed if all nodes lie on a circle, then the area is maximal (which is so similar to the truth that it seems to be true),

the maximal area does not depend on the order of sides (it is shown on the given pictures), for example, the maximal area 1-2-3-4 is equal to the maximal area 1-4-3-2

for 3- angle, the formula should be reduced to Heron's formula, for the square x-x-x-x reduce to x^2

it seems to be simple and obvious thing, but it somehow does not count

---

damn it, and these people are looking for a grail in the financial markets :-)

Read about Brahmagupta formula (quadrilateral). With more sides it seems to be much sadder - there's a wiki about it.

Your "school" tasks are not school tasks at all)
Формула Брахмагупты — Википедия
  • ru.wikipedia.org
Если вписанный четырёхугольник имеет длины сторон и полупериметр , то его площадь выражается формулой: S = ( p − a ) ( p − b ) ( p − c ) ( p − d ) . {\displaystyle S={\sqrt {(p-a)(p-b)(p-c)(p-d)}}.} S = 1 2 a b sin ⁡ A + 1 2 c d sin ⁡ C . {\displaystyle S={\frac {1}{2}}ab\sin A+{\frac {1}{2}}cd\sin C.} Так как является вписанным...
 

Would you like to use this method?

The idea is to choose the side of the square grid so that it (its nodes) is closest to all the sides of the polygon.

Как найти площадь геометрической фигуры по клеточкам?
Как найти площадь геометрической фигуры по клеточкам?
  • www.bolshoyvopros.ru
Есть способ, при котором надо воспользоваться формулой, основой которой будет понятие узла, узла внутреннего и узла внешнего. Узел это пересечение линий, образующих эти самые клеточки. Внешние узлы, это узлы, находящиеся на сторонах и вершинах геометрических фигур, площади которых нам надо найти. А внутренние узлы, это узлы внутри этих фигур...
 
Renat Akhtyamov:

let's say the price goes along a parabola.


try a polynomial, with different degrees

 
Aleksey Nikolayev:

Read about Brahmagupta's formula (quadrilateral). With more sides it seems to be much sadder - the wiki is about that.

Your "school" problems are not school problems at all)

If you rape Wolfram (or Maxima) if you have it handy,

then for A-B-C-D-.

s is the area of a single segment (isosceles triangle) of A, r is the radius of the circumcircle.

The radii of all segments are the same, they can be equated or make a system. The area of s in sum = the area of the figure... Sum of angles opposite sides is 360 degrees

But the idea goes further than that...

 
Vladimir Simakov:

The above solution is only valid for polygons whose centre of the circumcircle lies inside the perimeter. Try triangle {2,2,3.9}

In general terms (approximation by precision double) it is solved like this:

Yes, you are correct. Did not take into account if the centre is outside the polygon.

 

Aleksey Nikolayev:

3) MathSum()

s=6.0

Ah, so these are external libraries. So it's the same as I wrote there. To be encumbered by them only to replace one line of code:

for(int i=0; i<size; i++) sum+=arr[i];

I don't see any sense

 
Nikolai Semko:

Ah, so these are external libraries. So it's the same as what I wrote. Just to be surrounded by them just to replace one line of code:

I don't see the point.

Not external, standard) external is your i-canvas)

 
Aleksey Nikolayev:

Not external, standard) external is your i-canvas)

Is it?
Not at the computer at the moment.
I think I've tried it. ME didn't recognise this function and didn't find it in help by F1
I understood that it is an AlgLib library