gibson:teaching:fall-2014:math445:lab5

This shows you the differences between two versions of the page.

Both sides previous revision Previous revision | |||

gibson:teaching:fall-2014:math445:lab5 [2014/11/13 06:45] gibson |
gibson:teaching:fall-2014:math445:lab5 [2015/03/09 13:39] (current) gibson |
||
---|---|---|---|

Line 50: | Line 50: | ||

</code> | </code> | ||

- | or equivalently | ||

- | |||

- | <code> | ||

- | N=100; | ||

- | p=(G^N)*p; | ||

- | </code> | ||

After that is complete the elements of ''p'' give the probabilities that a random web surfer will end up at the web pages listed in ''U'', and you can rank the pages in ''U'' according to their probabilities in ''p''. Look up the ''sort'' command in the Help menu and find a way to print the list of websites in order of their rank. Turn in the list of the top 10, the fraction of the time a random web surfer would spend in each one of those 10, and your code to complete the Lab. | After that is complete the elements of ''p'' give the probabilities that a random web surfer will end up at the web pages listed in ''U'', and you can rank the pages in ''U'' according to their probabilities in ''p''. Look up the ''sort'' command in the Help menu and find a way to print the list of websites in order of their rank. Turn in the list of the top 10, the fraction of the time a random web surfer would spend in each one of those 10, and your code to complete the Lab. |

gibson/teaching/fall-2014/math445/lab5.txt ยท Last modified: 2015/03/09 13:39 by gibson