EGR 1400 Hanna Exam 1| Answered 100% correctly 2026
EGR 1400 Hanna Exam 1| Answered 100% correctly 2026 random number generator Random myGen= new Random(); Random number generator from 50-100 myGen.Next(50,101); converting text box text (X) to a string = X.ToString(); Sum of variables (x, x1, x2, x3) double sum= x+x1+x2+x3; mean of 4 variables double= (sum/4); Variance formula standard deviation squared SD formula find mean, (point-mean)^2, add up all the point values, divide by the number of points, take the square root. SD squared formula in code (sumofsquares/#datapoints)-mean*mean; SD in code using math function Math.Sqrt(SD Squared); make program exit (); makes text box1 say 0
Written for
- Institution
- EGR 1400 Hanna
- Course
- EGR 1400 Hanna
Document information
- Uploaded on
- February 27, 2026
- Number of pages
- 7
- Written in
- 2025/2026
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
egr 1400 hanna exam 1
-
random number generator
Also available in package deal