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

Last modified by Bimit Administrator on 24.06.2024, 10:04

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

Summary

Details

Page properties
Content
... ... @@ -1,100 +1,44 @@
1 -
1 +Интерфейс строительного калькулятора предоставляет базовые функции расчета
2 +В нем доступны следующий функции:
2 2  
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**(%%) ==
4 +* area  - подсчет площади прямоугольной фигуры, заданной длинами сторон
5 +* volume - подсчет объема параллелепипеда, заданной длинами сторон (ДЛИНАxШИРИНАxВЫСОТА)
6 +* areaBox - подсчет площади поверхности стен прямоугольной комнаты, заданной длинами сторон и высотой
7 +* volumeBox - подсчет объема стен коробки, заданной длинами сторон (по внешней стороне), высотой и толщиной стены
5 5  
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" %)это интерфейс строительного калькулятора, предоставляющий базовые функции расчета
8 8  
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" %)В нем доступны следующий функции:
10 +**area**  - подсчет площади прямоугольной фигуры, заданной длинами сторон
11 11  
12 +{{code language="java"}}
13 +// Пример:
14 +def area = calc.area(6,6)
12 12  
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 +// console.info(area) -> “INFO: 36.0”
17 +{{/code}}
17 17  
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 +**volume** - подсчет объема параллелепипеда, заданной длинами сторон (ДЛИНАxШИРИНАxВЫСОТА)
24 24  
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)
21 +{{code language="java"}}
22 +// Пример:
23 +def vol= calc.volume(6,0.5,3)
27 27  
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 -)))
25 +// console.info(vol) -> “INFO: 9.0”
26 +{{/code}}
32 32  
28 +**areaBox** - подсчет площади поверхности стен прямоугольной комнаты, заданной длинами сторон и высотой
33 33  
34 -\\
30 +{{code language="java"}}
31 +// Пример:
32 +def area = calc.areaBox(6,6,3)
35 35  
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 -)))
34 +// console.info(area) -> “INFO: 72.0”
35 +{{/code}}
40 40  
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" %)Пример:
37 +**volumeBox** - подсчет объема стен коробки, заданной длинами сторон (по внешней стороне), высотой и толщиной стены
47 47  
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)
39 +{{code language="java"}}
40 +// Пример:
41 +def vol= calc.volumeBox(6,6,3,0.5)
50 50  
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 -)))
55 -
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 -)))
43 +// console.info(vol) -> “INFO: 33.0”
44 +{{/code}}