The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]



Индекс форумов
Составление сообщения

Исходное сообщение
"Исследование проблем с производительностью JavaScript на моб..."
Отправлено pavlinux, 15-Июл-13 16:02 
> 35 мегабайт джаваскрипта. Это что,...


/*
* This file is part of the superpuper project.
*
* Copyright (C) 2011 The Vasya Pupkin.  All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA, 02110-1301 USA
*/


        /*
         *   In mathematics, the Pythagorean theorem — or Pythagoras' theorem — is a relation in
         *  Euclidean geometry among the three sides of a right triangle (right-angled triangle).
         * In terms of areas, it states:
         *
         *        In any right-angled triangle, the area of the square whose side is the hypotenuse
         *        (the side opposite the right angle) is equal to the sum of the areas of the squares
         *        whose sides are the two legs (the two sides that meet at a right angle).
         *
         *  The theorem can be written as an equation relating the lengths of the sides a, b and c,  
         * often called the Pythagorean equation: where c represents the length of the hypotenuse,
         * and a and b represent the lengths of the other two sides.
         *
         * The Pythagorean theorem is named after the Greek mathematician Pythagoras (ca. 570 BC—ca. 495 BC),
         * who by tradition is credited with its discovery and proof,[2][3] although it is often argued
         * that knowledge of the theorem predates him. There is evidence that Babylonian mathematicians
         * understood the formula, although there is little surviving evidence that they used it in a
         * mathematical framework.
         * The theorem has numerous proofs, possibly the most of any mathematical theorem. These are very diverse,
         * including both geometric proofs and algebraic proofs, with some dating back thousands of years. The
         * theorem can be generalized in various ways, including higher-dimensional spaces, to spaces that are
         * not Euclidean, to objects that are not right triangles, and indeed, to objects that are not triangles
         * at all, but n-dimensional solids. The Pythagorean theorem has attracted interest outside mathematics
         * as a symbol of mathematical abstruseness, mystique, or intellectual power; popular references
         * in literature, plays, musicals, songs, stamps and cartoons abound.
         */
         function pyth() {
                          c = Math.sqrt(a*a + b*b);
         }


 

Ваше сообщение
Имя*:
EMail:
Для отправки ответов на email укажите знак ! перед адресом, например, !user@host.ru (!! - не показывать email).
Более тонкая настройка отправки ответов производится в профиле зарегистрированного участника форума.
Заголовок*:
Сообщение*:
 
При общении не допускается: неуважительное отношение к собеседнику, хамство, унизительное обращение, ненормативная лексика, переход на личности, агрессивное поведение, обесценивание собеседника, провоцирование флейма голословными и заведомо ложными заявлениями. Не отвечайте на сообщения, явно нарушающие правила - удаляются не только сами нарушения, но и все ответы на них. Лог модерирования.



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру