The wsq10 \u00a0is about to use a list to get multiple calculation. I am asked to do a program that recieves a set of ten numbers, and to get the total, the average, the standard desviation, yet in order to get the standard desviation I have to get the variance.<\/p>\n
To get the list I used a for loop that asks ten times for a number; I used n as a counter to make the inputs float To get te average I just divided the total over the number ofelements In order to get the standard desviation I had to get the variance, so I get it with another for adding que square root of the “e” position of the lis minus the average; to get the standard desviation I get the square root of the divition of the variance over the number of elements\u00a0 As always the code:<\/p>\n Github Code<\/a><\/span><\/p>\n This program was like doing a cheesburger of a cheesburguer of acheesburger of a cheesburger… n of a n+1<\/p>\n<\/p>\n <\/a> <\/p>\n","protected":false},"excerpt":{"rendered":" The wsq10 is about to use a list to get multiple calculation. I am asked to do a program that recieves a set of ten numbers, and to get the total, the average, the standard desviation, yet in order to get the standard desviation I … Continúa leyendo WSQ10: Inception list<\/span><\/a><\/p>\n","protected":false},"author":191,"featured_media":23642,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3],"tags":[45,39,88],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/23648"}],"collection":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/users\/191"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/comments?post=23648"}],"version-history":[{"count":1,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/23648\/revisions"}],"predecessor-version":[{"id":23649,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/23648\/revisions\/23649"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/media\/23642"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/media?parent=23648"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/categories?post=23648"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/tags?post=23648"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\n<\/a>
\nTo get the total I used another for loop to add the variable the number that is in the “e” position
\n<\/a><\/p>\n
\n<\/p>\n
\n<\/a><\/p>\n