Inputs
-
width (w)
-
length (l)
-
height (h)
Outputs
-
Surface Area: A = 2(wh + lw + lh)
Neuron type
Best algorithm has been found - locked
Patterns
Pattern |
Input |
Output |
1. |
width (w): |
1 |
length (l): |
2 |
height (h): |
3 |
|
Surface Area: A = 2(wh + lw + lh): |
22 |
|
2. |
width (w): |
3 |
length (l): |
5 |
height (h): |
5 |
|
Surface Area: A = 2(wh + lw + lh): |
110 |
|
3. |
width (w): |
10 |
length (l): |
8 |
height (h): |
6 |
|
Surface Area: A = 2(wh + lw + lh): |
376 |
|
Applicable neurons
-
Plus (x + y)
-
Multiple (x × y)
-
begin of start tag
-
Get html after tag
-
character ]
-
constant x.xxxxx
-
\\n
Algorithm
Test
Code made by AI:
/**
* Plus (x + y): The addition of two whole numbers is the total amount of those quantities combined.
*
* @param x1 first number
* @param x2 second number
* @return {Array}
*/
function neuron1(x1, x2)
{
math.config({number: 'BigNumber', precision: 64}); return [math.eval(Number(x1) + '+'+Number(x2)).toString()];
}
/**
* Multiple (x × y):
*
* @param x1 Number X
* @param x2 Number Y
* @return {Array}
*/
function neuron3(x1, x2)
{
math.config({number: 'BigNumber', precision: 64}); return [math.eval(Number(x1) + '*'+Number(x2)).toString()];
}
/**
* Rectangular cuboid - Surface Area:
*
* @param x1 width (w)
* @param x2 length (l)
* @param x3 height (h)
* @return {Array}
*/
function neuron37(x1, x2, x3)
{
var outputs = [];
outputs[0] = x1;
outputs[1] = x2;
outputs[2] = x3;
arr = neuron1(outputs[0], outputs[2]);
outputs[3] = arr[0];
arr = neuron3(outputs[0], outputs[2]);
outputs[4] = arr[0];
arr = neuron3(outputs[1], outputs[3]);
outputs[5] = arr[0];
arr = neuron1(outputs[5], outputs[4]);
outputs[6] = arr[0];
arr = neuron1(outputs[6], outputs[6]);
outputs[7] = arr[0];
return[outputs[7]];
}
Code made by AI: