110 Topics

Member Avatar for
Member Avatar for ddanbe

Well, there was a thread about a frequency function and a bell curve in Excel. [url]http://www.daniweb.com/forums/thread295203.html[/url] So here it is how about to do the NORMDIST function in Excel in C#.

Member Avatar for dlhockey12
0
3K
Member Avatar for jrotunda85

I have created a table in a mySQL DB where users are going to a form and entering ratings on 6 Categories (5 Specific and 1 Overall) for a particular item_id. On the item table, I have a column that calculates the total number of ratings this particular item_id has …

Member Avatar for Vishwajeet_2
0
3K
Member Avatar for DeanMSands3

Hi, Daniweb. I have this hobby project I'm playing with where I need to generate data for a MonteCarlo simulation. The data needs to fit within a bell-curve around a given mean with a standard-deviation. I'm trying to figure out which random distribution system I need to use and how …

Member Avatar for DeanMSands3
0
369
Member Avatar for dlmagers

I am trying to display scores by what the user is requesting either 'Average','Total',or 'Both'. The following is my code for the loop_tester.php and below that is the code for my index.php. I am trying to add a switch statement to the index.php file that will sets values for only …

Member Avatar for cereal
0
355
Member Avatar for happygeek

[ATTACH=RIGHT]22199[/ATTACH]Ever wondered just how many domain names there are on the Internet? DaniWeb has, and can reveal the answer as being an almost astonishing 215 million worldwide. According to global Internet infrastructure provider and domain registrar Verisign, more than five million domain names were added to the total during the …

Member Avatar for Portia_1
3
1K
Member Avatar for psvmr

I am trying to sort averages of scores in a class by pupil, from highest to lowest. My data is stored in text files like this: Charlie:0 Seema:2 Amber:4 Paige:5 Amber:8 Keith:1 Charlie:8 Seema:0 Charlie:9 Seema:3 Paige:0 Paige:4 Paige:4 Charlie:1 Keith:5 Keith:3 Here is my code so far: with open("class …

Member Avatar for vegaseat
0
961
Member Avatar for happygeek

You may be wondering what a superfecta actually is, and the answer is: the most dangerous and serious threat to business. To clarify, the superfecta as defined by secure cloud hosting outfit FireHost is a group of four attack vectors that comprises of Cross-Site Request Forgery (CSRF), Cross-Site Scripting (XSS), …

Member Avatar for sanimirza
3
439
Member Avatar for jjones0150

Create a form that accepts scores from the user, displays the total, count, and average of the scores, and displays a dialog box that lists the scores.This application should check the number entered by the user to make sure it is a valid integer from 0 to 100. If a …

Member Avatar for jjones0150
0
3K
Member Avatar for dumicom

Hi Guys, I'm Using Python 2.7.3 This is my txt file: TimeStamp,Irradiance 21/7/2014 0:00,0.66 21/7/2014 0:00,0.71 21/7/2014 0:00,0.65 21/7/2014 0:00,0.67 21/7/2014 0:01,0.58 21/7/2014 0:01,0.54 21/7/2014 0:01,0.63 21/7/2014 0:01,0.65 21/7/2014 0:02,0.64 21/7/2014 0:02,0.63 21/7/2014 0:02,0.63 21/7/2014 0:02,0.64 . . . . 22/7/2014 23:57,0.53 22/7/2014 23:58,0.69 22/7/2014 23:58,0.61 22/7/2014 23:58,0.65 22/7/2014 23:58,0.59 …

Member Avatar for Gribouillis
0
2K
Member Avatar for Sudhanshu_1
Member Avatar for khess

System Administrators (SAs) have a tough job: Dealing with users and user accounts, security, patching, updates, upgrades, disk space, performance and other miscellaneous tasks often known as "other duties as assigned." For some SAs, the day never ends. Despite the challenges, pitfalls and occasional irate user; system administration is a …

Member Avatar for Spencer_1
0
2K
Member Avatar for Emma_3

I'm really struggling with this assignment. Here's what I have to do: Write a program that uses an array to store 10 elements, representing 10 students' test scores that will be entered from the keyboard. Given the following grading scale (given in my if statements) determine the letter grade each …

Member Avatar for Moschops
0
286
Member Avatar for breezett93

Hi Everyone, For a couple weeks, I have been developing a pi approximation program and making little upgrades. Right now, the program asks for an input of iterations and then prints out the approximation. Now, I want to have every iteration printed out into an excel file with an approximation …

Member Avatar for duskoKoscica
0
221
Member Avatar for Labdabeta

Hello, I have used taylor polynomials to approximate floating-point values before. I am wondering whether there is a way to still apply them to functions with complex arguments, and if there is a way what its constraints would be. For example, to calculate the sine of a floating-point number to …

Member Avatar for ddanbe
0
245
Member Avatar for JRDJ12

My requirements are as follows: 1. use main method 2. use the following array- `int[] grades = new int[] {` `82, 70, 99, 90, 92, 75, 87, 85, 91, 100, 91, 87 ` `};` 3. Write code to step through the array of grades and calculate the average grade. Modify …

Member Avatar for JamesCherrill
0
10K
Member Avatar for user4678

I'm trying to create a program that computes the values of cos using the Taylor Series as long as the absolute value of a term is greater than 0.0001 and prints the number of terms used in the series approximation. My code is the following and as of right now …

Member Avatar for Labdabeta
0
619
Member Avatar for super.sam1
Member Avatar for maiza.razzaq

//write a program whih takes input until user enters a negative number. print the sum of given inputs. #include <iostream> using namespace std; int main () { int a[10]; cout << " enter numbers " << endl ; int i = 0 ; while ( i < 10) {while (a[i] …

Member Avatar for nullptr
0
281
Member Avatar for suzyq888

Im suppose to write a program that accepts five input values and stores them into an array. The program should then display the average of the five numbers. Finally, the program should display all the numbers in the array that are larger than the average of the five numbers. I …

Member Avatar for rishif2
0
324
Member Avatar for kamalashraf

i am getting result of average in int instead of float, tell me where i have made mistake. this is the code. #include<iostream> using namespace std; void getData (int a[], int s); int numbersSum (int a[], int s); float average (int sum, int size); int main() { int size=0; int …

Member Avatar for Ancient Dragon
0
318
Member Avatar for josh2006k

I am trying to build a code that outputs user input a certain way. I need to take user input to store 10 statistics for 3 players over 2 games, and then have the code ask the user which player they would like to see. Instead of showing the stats …

Member Avatar for josh2006k
0
244
Member Avatar for SLMQC

Using Visual Basic 10, and I am trying to identify min/max statistics and display the results. My calculations are working, but the display is not (line 68 & 80). With the way the code is written now, I don't get the error but my results are displayed as "The minimum …

Member Avatar for SLMQC
0
405
Member Avatar for saadi068

I am (student) just switched to linux working on NoC (noxim) simulator in ubuntu 12.04 c++ is supported assignment from university, I want to make a script that call my whole program multiple times (for loop= e.g 10) and want to take average value from the functions that were called …

Member Avatar for Watael
0
236
Member Avatar for saadi068

I am working on NoC simulator in ubuntu 12.04 c++ is supported, I want to make a script that call my whole program multiple times (for loop= e.g 10) and want to take average value from the functions that were called from other files. Should I create a new file …

Member Avatar for saadi068
0
282
Member Avatar for wschamps42

Hello, for some reason, I am getting a very weird negative nuber as my average for my program, here is my code: int sum, avg; sum = 0; avg = 0; for(int i = 1; i < size; i++){ sum += array[i]; } avg = sum / size; my output …

Member Avatar for vmanes
0
242
Member Avatar for happygeek

Wednesday 6th June 2012 is [URL="http://www.worldipv6day.org/"]World IPv6 Launch Day[/URL] (no, seriously, it is) and, we have been continually reminded in a Chicken Little fashion, the IPv4 address space sky is falling. The fact that the media obsession with Internet addresses running out has been on-going for at least a decade …

Member Avatar for LastMitch
0
798
Member Avatar for Glass_Joe

Forget all that stuff your parents taught you about not talking to strangers. One lucky user brought Twitter to its 20 billionth tweet over the weekend, an award as prestigious as being swept away in the confetti and balloons of being the 10,000th grocery market shopper. The momentous tweet was …

Member Avatar for LastMitch
1
262
Member Avatar for ralph.d.abernathy.1

Hello all. I wrote a program that gives me 100 random values from the range between -100 to +100. How am I supposed to find the minimum, maximum, and average of the values that will be listed when I run the program? I appreciate the help anyone can give me. …

Member Avatar for tinstaafl
0
3K
Member Avatar for vegaseat
Member Avatar for dashing.adamhughes
2
7K
Member Avatar for vegaseat

This Python code allows you to get selected statistics of a story text. It will count lines, sentences, words, list words and characters by frequency, and give the average word length. It should be easy to add more statistics using the dictionaries created.

Member Avatar for Ene Uran
3
797

The End.