Unfortunately, without the diagram of the network, which should include the structure and the weights on each connection, I cannot accurately compute the output values directly. Nonetheless, I can explain how you would go about calculating the values yourself for a given network.
Assuming a simple two-layer neural network with inputs (i1, i2), the weights on connections from inputs to the first hidden layer (w11, w12, w21, w22, etc.), and weights on connections from the hidden layer to the output (w31, w32, etc.), here's a general approach:
Linear Activation Function
a. For input (0.5,1), you would compute the weighted sum of the inputs at each neuron in the first hidden layer using the respective weights on the connections. For instance, if h1 is the first neuron in the hidden layer, the weighted input would be:
h1 = i1 * w11 + i2 * w21
Since the activation function is linear, this weighted input is also the output of the neuron. Calculate similarly for all hidden neurons.
Then, you use these outputs as inputs to calculate the next layer until reaching the output neurons, e.g., for output neuron o1:
o1 = h1 * w31 + h2 * w32 + ...
b. For input (1,2), you can use the same method as in part (a) but with the new input values. Due to the linearity of the function, you could also note that the output will be exactly double the output for (0.5,1) because the input is double. Linearity ensures that the relationship between input and output is directly proportional. Hence, you don't technically need to do the calculations all over if you have the results from part (a).
Sigmoid Activation Function
c. With a Sigmoid activation function, the process is similar; however, after calculating the weighted sum at each neuron, you apply the Sigmoid function to get the output. The Sigmoid function is defined as:
S(x) = 1 / (1 + e^(-x))
For the hidden layer neuron h1 with input (0.5, 1), for example, you first compute the weighted sum:
h1_input = 0.5 * w11 + 1 * w21
Then apply the Sigmoid function to this sum to get the neuron's output:
h1_output = 1 / (1 + e^(-h1_input))
Repeat this for all neurons and layers in the network.
d. For input (1,2), as with the linear case, you would do the process as in part (c) using these new inputs. However, unlike the linear case, the output for (1,2) won't be simply double that of (0.5, 1) because the Sigmoid function is not linear. You must repeat the computations for the new inputs since the Sigmoid introduces non-linearity to the relationship between input and output.
Please provide the network diagram or more detailed information about the network so that I can give you the specific calculations.