801 Topics

Member Avatar for
Member Avatar for Octavian_1

I have the following code that is working but i need further functionality. The code shows the payments made and is based on two tables. The payments table that has the following fields mID, type (account type), dayentered(date when the money was donated) and the members table has the following …

Member Avatar for Octavian_1
0
263
Member Avatar for gamingthinktank

This tutorial explains the mathematics behind collision detection using bounding circle method. Source code and online demo is available with the tutorial. [Bounding Circle collision detection: KineticJS/HTML5 Tutorial](http://www.gamingthinktank.com/2013/07/23/bounding-circle-collision-detection-kineticjshtml5-tutorial/)

0
87
Member Avatar for Fangling

list i have: School,campus,adminno,modulecode,modulegroup SEG AMK 101427Y EG3902 EG3902-G1 SEG AMK 101427Y EGS650 EGS650-G1 SEG AMK 103852S EG3901 EG3901-G1 SEG AMK 103852S EG3904 EG3904-G1 SEG AMK 103852S EGS104 EGS104-G1 SEG AMK 103852S EGS650 EGS650-G1 SEG AMK 106581C EG3901 EG3901-G1 SEG AMK 106581C EG3902 EG3902-G1 SEG AMK 111713M EG3901 EG3901-G1 SEG …

Member Avatar for Fangling
0
107
Member Avatar for Fangling

i have an excel file which contains the following: (only part of the file) 1 SEG-AMK EG1832 Mechanics and Materials 286 1.5 EG1832 2 SEG-AMK EG1833 Electrical Principles 375 1.5 EG1833 EG1952 EG1903 3 SEG-AMK EG1835.1 Engineering Mathematics (1) 456 1.5 EG1835 EG1001 4 SEG-AMK EG1835.2 Engineering Mathematics (2) 363 …

Member Avatar for Fangling
0
209
Member Avatar for Fangling

i have a database table containing: SEG,AMK,101427Y,EG3902,EG3902-G1 SEG,AMK,101427Y,EGS650,EGS650-G1 SEG,AMK,103852S,EG3901,EG3901-G1 SEG,AMK,103852S,EG3904,EG3904-G1 SEG,AMK,103852S,EGS104,EGS104-G1 SEG,AMK,103852S,EGS650,EGS650-G1 SEG,AMK,106581C,EG3901,EG3901-G1 SEG,AMK,106581C,EG3902,EG3902-G1 SEG,AMK,111713M,EG3901,EG3901-G1 SEG,AMK,111713M,EG3902,EG3902-G1 another table containing: 1 SEG-AMK EG1832 Mechanics and Materials 286 1.5 EG1832 2 SEG-AMK EG1833 Electrical Principles 375 1.5 EG1833 EG1952 EG1903 3 SEG-AMK EG1835.1 Engineering Mathematics (1) 456 1.5 EG1835 EG1001 4 SEG-AMK …

0
97
Member Avatar for DavidB

Here is a small--complete--program that includes a sub-routine that inputs two matrices and then multiplies them. Notes: * 1) I happen to like taking input from a text file. It eliminates the need to type input from the console, especially when debugging, it prevents the possibility of making typos. * …

Member Avatar for Shellback3
3
2K
Member Avatar for cocopium

I'm sorry. These question probably sound very stupid to you people. But to me they are extremely difficult. Imagine being completely ignorant with computers, and signing up for an intermediate level class (I did not take the beginner class)................ and NEEDING an A to make up for the 2 B's …

Member Avatar for Gonbe
0
290
Member Avatar for hackoman96

is data structure (algorithms )related to mathematics like ) - sets ,matrices ,sequence and series , or logical maths related topics ?? and is there any differnce between data structure and data representation??

Member Avatar for Abhinisha
0
161
Member Avatar for essaydoctor

What does a "private" area of a website involve?Webhooks, tokens, APIs? I am developing a website which will allow registered users to register, make a payment, and then get transferred to an area where they write an online essay in a textarea. I DON'T WANT NON-PAYERS TO GO HERE. The …

Member Avatar for diafol
0
194
Member Avatar for Yuexuan

Hey guys, New to the site, new to writing SQL queries and have no background in this type of thing. But I've been googling my way to victory for the most part. I'm struggling on probably a very simple problem. I'd like to Sum the contents of a column, if …

Member Avatar for Yuexuan
0
443
Member Avatar for xrjf

The days when the calculator had almost 3 thousand visits a day have gone. Since then, there have been several major versions and lots of minor versions. Somehow, I feel pleased in that the present core algorithm follows the rules of the first I read; of course, extending the simplicity …

0
428
Member Avatar for DavidB

Here is my first Code Snippet contribution: a C++ sub-routine that computes the roots of a quadratic equation. Notes: * This sub-routine checks if a = 0. * IF a = 0, then the equation is actually not a quadratic equation; it is a linear equation with one--if any--root. * …

Member Avatar for DavidB
1
737
Member Avatar for njoguj

Write a C++ program to display your personal information: Name: A. Another School: Tuungane High School County: Umoja Year Joined: 2004 Subjects: Mathematics, Computer Studies, English School KCSE Mean: 9.82

Member Avatar for new_developer
0
116
Member Avatar for siddiquedu

I choose a program that can read data from a txt file. Now, I input two column from txt file and i want to substract first value of 2nd column to every value of 2nd column. finally I want the sum of substracted values. Can anyone please help me. Actually, …

Member Avatar for siddiquedu
0
253
Member Avatar for erinkay528

**Here is the assignment:** Write a C++ program to calculate and display the number of primes in the first 50 “chiliads”. Your results should be exactly as presented below, under testing. Design Considerations: I think you will find your program easier to structure and write if you break it down …

Member Avatar for tinstaafl
0
329
Member Avatar for ddanbe

Complex numbers are seldom used in daily life, altough you could say that every real number is complex, but with the imaginary part equal to zero. And btw. "complex" is a bit of a misnomer, perhaps we should call them "easies", because often they make it easier to perform certain …

Member Avatar for ddanbe
0
1K
Member Avatar for grant.baker

I'm trying to sum all numeric fields individually. I won't always know the field names, otherwise I could manually construct the query `SELECT SUM(Field1) as Field1, SUM(Field2) as Field2...etc FROM myTable` Is there a way to construct this on the fly in mysql? I'm thinking there's probably a way to …

Member Avatar for grant.baker
0
245
Member Avatar for SpottyBlue

I was in the library's multimedia room to do my assignment, but all PCs don't have Visual Studio and other smiliar programs. So I wrtie the code on Notepad for the question: > Design a solution that will determine and display the fewest number of ringgit and coins in change …

Member Avatar for tinstaafl
0
1K
Member Avatar for robert.speciale

I have a void function that takes data from an ifstream, reads the first value, (which is an ID #), and compares that value against the ID# info from an array of records. If it's invalid, the rest of the line is ignored. If it's valid, it adds the hours …

Member Avatar for robert.speciale
0
239
Member Avatar for SpottyBlue

Can someone help me with this? This is part of my first assignment. I am quite new to programming. > A company wants to transmit data over the telephone, but they are concerned that their phones are tapped. All of their data are transmitted as four-digit integers. They wanted you …

Member Avatar for Moschops
0
505
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
421
Member Avatar for mattster

Hi folks, I am aware this is a problem that many people have, but I am yet to find an answer... I have a 10x10 grid generated using a html `<table>`, each cell has an id reffering to its location (ie. #15 - row 1, colmn 5). All I need …

Member Avatar for LastMitch
0
365
Member Avatar for vegaseat

This code example shows how to create a dictionary with row,column indexed (r,c) key tuples from a typical list of lists 2D matrix. Also an example is shown of the ease of processing the resulting dictionary.

Member Avatar for TrustyTony
5
6K
Member Avatar for akkbkht

Hello. Can I add any data directly from table into data base using dreamviewer 8 by php? i mean in design view, i add table. then when i enter a data in the cell, so can i add this cell text to a field in DB table? Also how can …

Member Avatar for akkbkht
0
273
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
241
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
285
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
248
Member Avatar for mical700

Write a java code, Extend class Fraction by adding methods for the arithmetic operators +, - and /, and the six relational operators (==, !=, <, >, <= and >=). Then compute a menu-driven fraction calculator. Program shoud do all 9 arithmetic operations and 0 to stop. User should first …

Member Avatar for stultuske
0
492
Member Avatar for masterjiraya

I have MS EXCEL 2k3 problem: On my previous post I have the NOT the INTERSECTION of 2 sets of data using VLOOKUP() where is the equivalent function of INTERSECTION in Discrete Mathematics. Right now I was looking for forums if Excel has the ability to combine 2 sets of …

0
113
Member Avatar for masterjiraya

Problem: I have a version of 2003 of MS EXCEL for example I have Line A and Line B in the same work sheet the DATA of Line A has a b c d e and f the data of Line B has b and d only if I use …

Member Avatar for masterjiraya
0
222
Member Avatar for xHellghostx

Okay so I have couple of questions about lists in vb.. Please be aware that it's all related to integers only no strings or others 1. How to sum values of a list? 2. How to sort values of list from highest to lowest? Also how would I display list …

Member Avatar for ddanbe
0
332
Member Avatar for masterjiraya

I dont know where to post it, but this is the reliable help from geeks I've known for several years Problem: I have a version of 2003 of MS EXCEL for example I have Line A and Line B in the same work sheet the DATA of Line A has …

Member Avatar for Mike Askew
0
185
Member Avatar for jmartzr1

Hey everyone, I am having trouble on this one practice problem. It is a question that requires another question I already completed to solve this one. The qusetion is "Implement a method allPerfect() that takes an integer parameter end. The method prints every perfect number from 1 to end. Use …

Member Avatar for JamesCherrill
0
541
Member Avatar for ImZick

Hi i'm having a trouble with this i got 3 textbox and i format it to Textbox1.Text = Format(Textbox1.Text, "Standard") Textbox2.Text = Format(Textbox2.Text, "Standard") Textbox3.Text = Format(Textbox3.Text, "Standard") which give something like this 1,230.00 2,500.00 1,245.00 and when i add it `Textbox4.text = Val(Textbox1.Text) + Val(Textbox2.Text) + Val(Textbox3.Text)` the result …

Member Avatar for ImZick
0
241
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
887
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
270
Member Avatar for paku_dnj

Hi I want to take input of two variable as integer and than do addition with the two variables. The ans will stored in another variable. The program will repeat after every addition end and will ask for user input of varibles and will do addition again. My qus is …

Member Avatar for JamesCherrill
0
205
Member Avatar for mkweska

Hello all! I am sorry to have to waste your time with such an easy problem but I am stuck with some coders block on this one. I know it is definitely an easy fix I just cannot seem to wrap my head around it at the moment... I do …

Member Avatar for mkweska
0
272
Member Avatar for burcinerek

public class secenek { public static void main(String[] args) { int option=0; int a,b; a=5; b=7; if (option==0){ System.out.println("A+B= "+a+b); } } }

Member Avatar for sepp2k
0
156
Member Avatar for SoreComet

Hi Guys, I was trying to code in C for the following. You are given with 2 files, file1.txt and file2.txt. The contents of the file contain INTERGER values. Add the contents of the file and write them to another file file3.txt. My code is as follows #include <stdio.h> #include …

Member Avatar for SoreComet
0
366
Member Avatar for happygeek

The news wires have been buzzing over the weekend after it emerged that the Raspberry Pi website had been hit by a 'million zombie' Distributed Denial of Service (DDoS) attack during the week. Although the outage was relatively brief, with the Raspberry Pi Foundation admitting the attack with a Twitter …

Member Avatar for LastMitch
1
1K
Member Avatar for javalover

Hi frnds, I am developing a struts2 project, I do require how to multiply to variable using struts tag ... I tried with this code below, <s:set var="total" value="var1" /> <s:set var="tot" value="%{var2 * #attr.total}"></s:set> <s:property value="%{'' + #attr.total}"/> AM getting the output as 0.0 .. Please any help ...

Member Avatar for LastMitch
0
127
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 terrier_unknown

I was just wondering is there a class handling integrals and derivatives or do i have to make methods on my own?

Member Avatar for tinstaafl
0
319
Member Avatar for 03330

Hello everyone. Im COMPLETELY new to programming and Ruby and i would like to know how i can make this happen: What I want from my program is to understand letters as numbers then add up names into numbers and then retreive previously written names when number x is given. …

Member Avatar for ken_taiken
0
147
Member Avatar for paigewms

**My assignment:** Write a program that extends the example that we have done in class. Create a class called Trapezium, which is determined by two parallel sides “a” and “b” and the height “h” between them.The area of the trapezium can be calculated as Area = (a+b)h/2 The perimeter = …

Member Avatar for tux4life
0
823
Member Avatar for amweasel

I have been trying to make a simple "quiz" program on Python. And this is what I coded: print("Mathematics Quiz") question1 = "Who is president of USA?" options1 = "a. Bharat Chauhan\nb. His dad\nc. His mom\nd. Barack Obama\n" print(question1) print(options1) while True: response = input("Hit 'a', 'b', 'c' or 'd' …

Member Avatar for amweasel
0
469
Member Avatar for rexmorgan

Good Day, I have a text file in the .csv format. The file originates as a xlsx (excel) file type. The file looks something like the following. Name Number Lat Long Jan Feb Mar Apr Brockton 24-1670-06 38.145236 145.854921 0.15 0.62 1.25 2.14 Westby 24-7432-04 35.846125 132.743652 0.25 0.94 1.14 …

Member Avatar for rexmorgan
0
3K
Member Avatar for nash.tc.5

Hie GUYS. Im looking for a final year project to start on. Im thinking along the lines of Mathematics, or Physics. I want to solve problems in these fields, any suggestions? Something that has not been done.

Member Avatar for tinstaafl
0
71
Member Avatar for jonsan32

I have a site for youth basketball, where parents can list their kid to get them onto a team. The listings that get replied to by teams needing players are deleted, but some listing remain on there for months or years. To combat the potential confusion of which grade a …

Member Avatar for EvolutionFallen
0
240

The End.