Assignment:
Use nodal analysis to determine the node voltages and also the branch currents of the circuit as shown in Fig. Use Matlab to calculate these values. Enter these readings in Table under the 'calculated' column. (Note: Node voltage VA is known, that is, 10 V. So you need to write nodal equations at B and C only for the circuit analysis).