- Load the “Path Enumeration download” code into CoCalc. Open this file and copy and paste the code into the firstcell of your P1B-Lastname-Firstname document. Test this code with an input of 2, 3, 4, and 5.Be sure to read the comments so that you know what this code is supposed to do.
- Create a variable called “weights”. This variable will be a list of lists. The “zeroth” list will be a list of all the weightsfrom node zero to all the nodes, including zero. The “first” list will be a list of all the weights from node one to all thenodes, including one. Etc. Use the weights shown in the table
#Sales Offer!| Get upto 25% Off: