php hit counter

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CS506 Web Design and Development assignment no 1 spring fall 25 october 2011
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#1
Question:
Write a program that computes the average and standard deviation of the text floating point numbers in a file. Use the following formulas for the average and the standard deviation of N values. The formulas compute the sum, the sum of squares, the average, the average square, the variance, and finally, the standard deviation.
[FONT=&quot]sum = x1 + x2 + x3 + ... + xN-1 + xN [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]sumSQ = x12 + x22 + x32 + ... + xN-12 + xN2 [/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]avg = sum/N[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]avgSQ = sumSQ/N[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]var = avgSQ - avg2[/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]sd = var(1/2)[/FONT]
The input file will contain any number text floating point numbers, similar to the following:
[FONT=&quot]10.5[/FONT]
[FONT=&quot]12.9[/FONT]
[FONT=&quot]9.67[/FONT]
[FONT=&quot]12.05[/FONT]
[FONT=&quot]8.23[/FONT]
[FONT=&quot]10.08[/FONT]
[FONT=&quot]10.23[/FONT]
[FONT=&quot]7.7[/FONT]
[FONT=&quot]10.4[/FONT]
[FONT=&quot]11.34[/FONT]
Numbers could be several, or none per line, and negative numbers are perfectly OK. [FONT=&quot][/FONT]
[FONT=&quot] [/FONT]
[FONT=&quot]Note: [/FONT][FONT=&quot]All the source code should be written manually. Your code must justify enough for 15 marks[/FONT]


Attached Files
.doc   Fall 2011_CS506_1.doc (Size: 159.5 KB / Downloads: 222)

0300-9520262
Get solution in 24 hour
|cpmputer & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply


Messages In This Thread
CS506 Web Design and Development assignment no 1 spring fall 25 october 2011 - by Vuhelper - 10-25-2011, 11:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  CS301 Assignment # 4 Due Date: 02-Feb-2016 Vuhelper 0 2,380 02-03-2016, 05:38 PM
Last Post: Vuhelper
  CS703 – Advanced Operating Systems Assignment No.3 solution January 2016 Vuhelper 0 5,972 01-23-2016, 09:58 PM
Last Post: Vuhelper
  CS601 Data Communication Assignment No. 03 Solution 23rd January 2016 Vuhelper 1 2,008 01-23-2016, 06:09 PM
Last Post: Vuhelper
  CS403 Assignment No. 03 Solution 23rd January 2016 Vuhelper 2 1,252 01-23-2016, 03:18 PM
Last Post: Vuhelper
  CS506 Web Design and Development Assignment no 3 Solution 3rd January 2016 Vuhelper 0 2,309 01-23-2016, 03:16 PM
Last Post: Vuhelper
  CS724 Software Process Improvement Assignment No 01 Solution 20th January 2016 Vuhelper 0 2,036 01-20-2016, 06:26 PM
Last Post: Vuhelper
  CS711 Software Design Assignment No 01 Solution Due Date Feb 12, 2016 Vuhelper 0 1,729 01-20-2016, 06:24 PM
Last Post: Vuhelper
  CS709 Formal Methods for Software Engineering Assignment No 01 Solution January 2016 Vuhelper 0 1,866 01-20-2016, 06:22 PM
Last Post: Vuhelper
  cs703 assignment no 3 Solution 20th January 2016 Vuhelper 0 1,764 01-20-2016, 06:20 PM
Last Post: Vuhelper
  CS704 Assignment No. 01 Solution January 2016 Vuhelper 0 4,866 01-20-2016, 06:19 PM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support