I'm trying to learn this program, mathematica. Basically, what I'm trying to do here is, I'm solving shortest spanning tree (using Prim's Algorithm) by implying this graph into mathematica. The Pic is shown below.
Since I had nothing to do yesterday, I was working on it. First thing first, I was just trying to get a square but I keep getting something else. Screenshot is below.
I had this project to do last semester but since i didnt know the program, I got to pick different project. But I'm just trying to do the problem so i can learn the program, who knows, once i graduate in may, my job may require me to learn this program.
*All the help will be appreciate it.