how would i make a program that outputs this:
amount of vairiables: 3
3123
1412
2412
mean: 1414
standard viariance: 4344
Joshua_9 0 Newbie Poster
Recommended Answers
Jump to PostThe mean of the numbers 3123, 1412 and 2412 is 2316 (not 1414), and the variance of them is also not what you stated.
Are you using some alternative definition of these terms?
Jump to PostIf you would show us your code on how you did the mean calculation, that would help us alot to provide you an answer to your question.
All 8 Replies
Joshua_9 0 Newbie Poster
L7Sqr 227 Practically a Master Poster
Moschops 683 Practically a Master Poster Featured Poster
Joshua_9 0 Newbie Poster
ddanbe 2,724 Professional Procrastinator Featured Poster
Joshua_9 0 Newbie Poster
David W 131 Practically a Posting Shark
David W 131 Practically a Posting Shark
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.