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

Last modified by Bimit Administrator on 24.06.2024, 10:04

From version 9.1
edited by Bimit Administrator
on 08.02.2022, 14:33
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,37 +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  
9 -Примеры использования:
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" %)это интерфейс строительного калькулятора, предоставляющий базовые функции расчета
10 10  
11 -{{code language="java"}}
12 -// area
13 -def area = calc.area(6,6)
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" %)В нем доступны следующий функции:
14 14  
15 -// console.info(area) -> “INFO: 36.0”
16 -{{/code}}
17 17  
18 -{{code language="java"}}
19 -// volume
20 -def vol= calc.volume(6,0.5,3)
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 +)))
21 21  
22 -// console.info(vol) -> “INFO: 9.0”
23 -{{/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" %)Пример:
24 24  
25 -{{code language="java"}}
26 -// areaBox
27 -def area = calc.areaBox(6,6,3)
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)
28 28  
29 -// console.info(area) -> “INFO: 72.0”
30 -{{/code}}
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 +)))
31 31  
32 -{{code language="java"}}
33 -// volumeBox
34 -def vol= calc.volumeBox(6,6,3,0.5)
35 35  
36 -// console.info(vol) -> “INFO: 33.0”
37 -{{/code}}
34 +\\
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 +)))
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" %)Пример:
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)
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 +)))