Neural network
a. Compile the code in Section 22.6 and perform different simulations to get acquainted with its structure.
b. Change the values of the weights, then calculate the new values that should be produced in the simulations, and fi nally compile and simulate the code to verify the actual results.
c. Make the neuron bigger (note that the constants in lines 7-9 of the initial package are very helpful for that), then again compile and simulate the code to compare the actual results against your predictions.
d. Add more neurons to the structure, again fully simulating the design to understand its details.
e. Finally, add other layers to it.