Changes for page Интерфейс calc

Last modified by Bimit Administrator on 24.06.2024, 10:04

From version 8.1
edited by Bimit Administrator
on 08.02.2022, 14:31
Change comment: There is no comment for this version
To version 2.1
edited by Bimit Administrator
on 08.02.2022, 14:10
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,44 +1,100 @@
1 -Интерфейс строительного калькулятора предоставляет базовые функции расчета
2 -В нем доступны следующий функции:
1 +
3 3  
4 -* area  - подсчет площади прямоугольной фигуры, заданной длинами сторон
5 -* volume - подсчет объема параллелепипеда, заданной длинами сторон (ДЛИНАxШИРИНАxВЫСОТА)
6 -* areaBox - подсчет площади поверхности стен прямоугольной комнаты, заданной длинами сторон и высотой
7 -* volumeBox - подсчет объема стен коробки, заданной длинами сторон (по внешней стороне), высотой и толщиной стен
3 +(% style="line-height:1.38; margin-top:24px; margin-bottom:8px" %)
4 +== (% style="font-size: 16pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-weight: 700; font-style: normal; text-decoration: none" %)**calc**(%%) ==
8 8  
6 +(% style="line-height:1.38" %)
7 +(% style="font-size: 14pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-weight: 400; font-style: normal; text-decoration: none" %)это интерфейс строительного калькулятора, предоставляющий базовые функции расчета
9 9  
10 -Примеры использования:
9 +(% style="line-height:1.38" %)
10 +(% style="font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-weight: 400; font-style: normal; text-decoration: none" %)В нем доступны следующий функции:
11 11  
12 -**area**
13 13  
14 -{{code language="java"}}
15 -def area = calc.area(6,6)
13 +* (((
14 +(% role="presentation" style="line-height:1.38; font-size:13.999999999999998pt; font-family:Arial; color:#434343; font-weight:400; font-style:normal; font-variant:normal; text-decoration:none; vertical-align:baseline; white-space:pre; padding-inline-start:48px" %)
15 +=== (% style="font-size: 14pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(67, 67, 67); font-weight: 700; font-style: normal; text-decoration: none" %)**area  - **(% style="font-size: 14pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(67, 67, 67); font-weight: 400; font-style: normal; text-decoration: none" %)подсчет площади прямоугольной фигуры, заданной длинами сторон(%%) ===
16 +)))
16 16  
17 -// console.info(area) -> “INFO: 36.0”
18 -{{/code}}
18 +(% style="margin-left:48px" %)
19 +(((
20 +(% cellspacing="0" style="border-collapse:collapse; border:none; table-layout:fixed; width:602px" %)
21 +|(% style="background-color:#cccccc; border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top" width="NaN" %)(((
22 +(% style="line-height:1.38" %)
23 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none" %)Пример:
19 19  
25 +(% style="line-height:1.38; margin-left:48px" %)
26 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none" %)def area = calc.(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 700; font-style: normal; text-decoration: none" %)**area**(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 700; font-style: normal; text-decoration: none; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none" %)(6,6)
20 20  
21 -{{code language="java"}}
22 -// volume
23 -def vol= calc.volume(6,0.5,3)
28 +(% style="line-height:1.2; margin-left:47px" %)
29 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none" %)console.info(area(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 700; font-style: normal; text-decoration: none" %)**) -> **(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 700; font-style: normal; text-decoration: none; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none" %)“INFO: 36.0”
30 +)))
31 +)))
24 24  
25 -// console.info(vol) -> “INFO: 9.0”
26 -{{/code}}
27 27  
28 -**areaBox**
34 +\\
29 29  
30 -{{code language="java"}}
31 -// Пример:
32 -def area = calc.areaBox(6,6,3)
36 +* (((
37 +(% role="presentation" style="line-height:1.38; font-size:13.999999999999998pt; font-family:Arial; color:#434343; font-weight:400; font-style:normal; font-variant:normal; text-decoration:none; vertical-align:baseline; white-space:pre; padding-inline-start:48px" %)
38 +=== (% style="font-size: 14pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(67, 67, 67); font-weight: 700; font-style: normal; text-decoration: none" %)**volume - **(% style="font-size: 14pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(67, 67, 67); font-weight: 400; font-style: normal; text-decoration: none" %)подсчет объема параллелепипеда, заданной длинами сторон (ДЛИНАxШИРИНАxВЫСОТА)(%%) ===
39 +)))
33 33  
34 -// console.info(area) -> “INFO: 72.0”
35 -{{/code}}
41 +(% style="margin-left:48px" %)
42 +(((
43 +(% cellspacing="0" style="border-collapse:collapse; border:none; table-layout:fixed; width:602px" %)
44 +|(% style="background-color:#cccccc; border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top" width="NaN" %)(((
45 +(% style="line-height:1.38" %)
46 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none" %)Пример:
36 36  
37 -**volumeBox**
48 +(% style="line-height:1.38; margin-left:48px" %)
49 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none" %)def vol= calc.(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 700; font-style: normal; text-decoration: none" %)**volume**(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 700; font-style: normal; text-decoration: none; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none" %)(6,0.5,3)
38 38  
39 -{{code language="java"}}
40 -// Пример:
41 -def vol= calc.volumeBox(6,6,3,0.5)
51 +(% style="line-height:1.2; margin-left:47px" %)
52 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none" %)console.info(vol(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 700; font-style: normal; text-decoration: none" %)**) -> **(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 700; font-style: normal; text-decoration: none; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none" %)“INFO: 9.0”
53 +)))
54 +)))
42 42  
43 -// console.info(vol) -> “INFO: 33.0”
44 -{{/code}}
56 +
57 +\\
58 +
59 +* (((
60 +(% role="presentation" style="line-height:1.38; font-size:13.999999999999998pt; font-family:Arial; color:#434343; font-weight:400; font-style:normal; font-variant:normal; text-decoration:none; vertical-align:baseline; white-space:pre; padding-inline-start:48px" %)
61 +=== (% style="font-size: 14pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(67, 67, 67); font-weight: 700; font-style: normal; text-decoration: none" %)**areaBox - **(% style="font-size: 14pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(67, 67, 67); font-weight: 400; font-style: normal; text-decoration: none" %)подсчет площади поверхности стен прямоугольной комнаты, заданной длинами сторон и высотой(%%) ===
62 +)))
63 +
64 +(% style="margin-left:48px" %)
65 +(((
66 +(% cellspacing="0" style="border-collapse:collapse; border:none; table-layout:fixed; width:602px" %)
67 +|(% style="background-color:#cccccc; border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top" width="NaN" %)(((
68 +(% style="line-height:1.38" %)
69 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none" %)Пример:
70 +
71 +(% style="line-height:1.38; margin-left:48px" %)
72 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none" %)def area = calc.(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 700; font-style: normal; text-decoration: none" %)**areaBox**(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 700; font-style: normal; text-decoration: none; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none" %)(6,6,3)
73 +
74 +(% style="line-height:1.2; margin-left:47px" %)
75 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none" %)console.info(area(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 700; font-style: normal; text-decoration: none" %)**) -> **(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 700; font-style: normal; text-decoration: none; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none" %)“INFO: 72.0”
76 +)))
77 +)))
78 +
79 +
80 +\\
81 +
82 +* (((
83 +(% role="presentation" style="line-height:1.38; font-size:13.999999999999998pt; font-family:Arial; color:#434343; font-weight:400; font-style:normal; font-variant:normal; text-decoration:none; vertical-align:baseline; white-space:pre; padding-inline-start:48px" %)
84 +=== (% style="font-size: 14pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(67, 67, 67); font-weight: 700; font-style: normal; text-decoration: none" %)**volumeBox - **(% style="font-size: 14pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(67, 67, 67); font-weight: 400; font-style: normal; text-decoration: none" %)подсчет объема стен коробки, заданной длинами сторон (по внешней стороне), высотой и толщиной стены(%%) ===
85 +)))
86 +
87 +(% style="margin-left:48px" %)
88 +(((
89 +(% cellspacing="0" style="border-collapse:collapse; border:none; table-layout:fixed; width:602px" %)
90 +|(% style="background-color:#cccccc; border-bottom:1px solid #000000; border-left:1px solid #000000; border-right:1px solid #000000; border-top:1px solid #000000; padding:7px 7px 7px 7px; vertical-align:top" width="NaN" %)(((
91 +(% style="line-height:1.38" %)
92 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none" %)Пример:
93 +
94 +(% style="line-height:1.38; margin-left:48px" %)
95 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none" %)def vol= calc.(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 700; font-style: normal; text-decoration: none" %)**volumeBox**(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 700; font-style: normal; text-decoration: none; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none" %)(6,6,3,0.5)
96 +
97 +(% style="line-height:1.38; margin-left:48px" %)
98 +(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none" %)console.info(vol(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 700; font-style: normal; text-decoration: none" %)**) -> **(% style="overflow: hidden; overflow-wrap: break-word; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 700; font-style: normal; text-decoration: none; font-size: 13pt; font-variant: normal; white-space: pre-wrap; font-family: Arial; color: rgb(0, 0, 0); background-color: rgb(204, 204, 204); font-weight: 400; font-style: normal; text-decoration: none" %)“INFO: 33.0”
99 +)))
100 +)))