Programming Definition and 1000 Threads

  1. L

    Comp Sci Programming an interface in Java

    For my final project I need to code a program to handle a bookstore. Because the Java console isn't meant for stuff like this I decided to make my own UI. The inventory, reports, and cashier section each get their own tab. Each tab has a console output screen, a box showing what you just...
  2. P

    The Benefits of Programming for Theoretical Physics

    Hello, I am a physics student and I am currently writing my Bachelor thesis in theoretical Physics. A thing which has sometimes crossed my mind over the past months is this: I have always loved computers and programming. I always find it fun to solve some programing related problem. E.g...
  3. T

    Programming Binary Addition with a Turing Machine

    hello, One can wonder what is the relation between the title of this thread and the subject of quantum mechanics, well, i was reading in a book about quantum computation and information and it was talking about computer science in some chapter where it shows a basic understanding of Turing...
  4. R

    C/C++ Recommend books on Python/ C++ Programming

    idk if some of you remember Recommend a book on Python Programming thread i created a while back. As some of you suggested, i bought Lutz's book. I've looked into (or at least skimmed through) most of the book...i really liked it. I'm currently working on GUI Tkinter, it seems interesting...
  5. M

    Simplex Method - Programming Problem

    Simplex Method --- Programming Problem Homework Statement Here's the question - Conside the linear programming problem: maximise P = -3x + y, subject to 3x + 2y =< 24, 4x + 9y =< 36, -2x + y =< 1, and...
  6. D

    What's the Best Programming Language for MechE Students to Start Learning?

    I've recently decided to really try and learn a computer language for the first time. I've had a standard computer science course that covered C material but I found that language to be overly tedious and absolutely miserable. Matlab was interesting, and I enjoy using it for dynamics and other...
  7. H

    Are GPUs Really Faster Than CPUs for Scientific Computing?

    I've seen references to using the graphics processing unit (GPU) of computers instead of the CPU for scientific / general purpose computing: http://groups.google.com/group/sci.math.num-analysis/browse_thread/thread/76eac4d19d044096/0c46d5c5e04deeb3?lnk=gst&q=GPU#0c46d5c5e04deeb3 but can't...
  8. D

    Programming Advice for Physics BSc Student

    Ok, let me introduce you to my problem. I am very interested in and am actively applying to many summer research positions but I find myself somewhat limited towards what I can apply for. My issue is that most of the positions, if not all, want programming experience and I have only done 1...
  9. T

    Comp Sci Borland C++ programming quistion, what's wrong with my program

    This program is supposed to add 2 integers ,according to the compiler, there are 2 warnings and 1 error ,the error is (undefined symbol' end') the warnings are 'sum' and 'y' are declared but never used here is the program : # include <iostream> # include <conio.h> intmain() { int x; int...
  10. B

    What language is best for programming a MUD/online game bot?

    My goal is just a simple bot that could "play" or do basic functions without human aid, on a online game of some sort, for example facebook's farmville or something similar.
  11. P

    Programming a 7 segment display timer

    Hi, I was wondering if anyone could help me, I am studying industrial design at Loughborough and as part of my coursework I am re-designing a stopwatch. Along with this coursework I need to submit a simulation of the electronics that would be involved. We have all ben given a basic circuit...
  12. S

    3 Variable Linear Programming Question

    Homework Statement Homework Statement Omega Manufacturing Company has excess manufacturing capacity and is considering devoting its excess capacity to product 1,2, and 3. The production process uses three types of machines and the available capacity on the machines is as follows: Milling...
  13. S

    Maximize Profit w/ Linear Programming: Omega Mfg Co

    Homework Statement Omega Manufacturing Company has excess manufacturing capacity and is considering devoting its excess capacity to product 1,2, and 3. The production process uses three types of machines and the available capacity on the machines is as follows: Milling Machine: 550...
  14. G

    Codelab excercise 2- computer programming part 1

    Homework Statement 1) Given three already declared int variables, i , j , and temp , write some code that swaps the values in i and j . Use temp to hold the value of i and then assign j 's value to i . The original value of i , which was saved in temp , can now be assigned to j . 2)...
  15. G

    Codelab excercise 2- computer programming

    Homework Statement 1) Given an integer variable strawsOnCamel , write a statement that uses the auto-increment operator to increase the value of that variable by 1. 2) Given an integer variable timer , write a statement that uses the auto-decrement operator to decrease the value of that...
  16. E

    How Much Architecture Knowledge Is Needed for Parallel Programming?

    Hello folks. I just finished my phd in theoretical chemistry and my work thus far hasn't involved any parallel programming. In the future I'm sure I'll be expected to know and use parallel methods, so I'm trying to learn it now. The books that I'm reading from begin by describing the different...
  17. R

    Fortran Learn Fortran Programming: Tips & Resources

    Hi , i need help in writing fortran code.? can any suggest me best site or where to approach?
  18. K

    Linear Programming Constraints

    I'm trying to minimize a function over a rather complicated surface. I'm using an algorithm that takes an initial guess, finds the tangent plane at that point, minimizes using a linear programming algorithm, then (tries to) project back onto the complicated surface. More specifically, if \xi...
  19. L

    What Can Function Prototypes Do Without Parameters and Return Values?

    Just some basic questions i have about function prototypes (functions) What's an example of a code which has no parameters? ie: double func(void) what is the purpose if the thing doesn't take in parameters? also, what if there is keyboard input and screen input what does that mean in the...
  20. S

    Can I Create & Share Physics Programs Online with Graphics?

    Howdy Folks- I've developed an online programming environment that physics enthusiasts would find useful. You can use it to write programs & publish them online. There's built-in graphics capabilities, if you want to do fancy visualization stuff. http://sporkforge.com/sporkapps/build.php
  21. kjohnson

    Programming Efficiency N-body problem

    I am currently in the process of writing a program in VBA that will numerically "solve" a given n-body gravitational problem. I'm doing this pretty much just for fun and am by no means a programmer (had a 1 semester course in c++). The question I have is something that seems to keep coming into...
  22. Greg Bernhardt

    ESPN's Push to 3D Programming: Pros & Cons

    I was reading this story on CNN about how ESPN is starting to develop and implement 3D programming. http://www.cnn.com/2010/TECH/01/05/espn.3d/index.html It seems like an obvious step with the 3D movies out. However, besides the fact you'll need to buy a new TV, you will also need those 3D...
  23. L

    C/C++ C++ programming and electrical engineering

    Is C++ programming used in electrical engineering work, it really doesn't seem as though it would be,but what could it be useful for, some kind of possible scenario ? (E.E. encorporates the use of electricity to make things happen mainly, whereas C++ has to do with computer design)
  24. C

    Guide to Programming Languages: Beginner's Path

    Guide me ! hi frnds, i am doing my computer science engineering in India and i am in 1st year.I am interested to learn some languages as i am interested in programming.Can u people please guide me .:confused:
  25. L

    Computer programming a great career?

    Some people don't mind sitting down on a desk with a cup of coffee and solve some problems on computer, (mostly coding for whatever it be). im thinking of persuing my career as a programmer and i think it suits my personality and my strength. Im looking for anyone whos currently working...
  26. J

    Linear programming - profit maximisation

    Homework Statement I can do most the question, but just get stuck on the final question. Here is the whole question 1. Gordon Ltd makes 2 products, Tennis racquets and badminton racquets, each using the same materials and the same skilled labour. The costs of the products per unit...
  27. M

    Linear Programming Production Line

    I have absolutely no ides where to go from here, I am horrible at this, If you could help me I would appreciate it, I want help doing it, not just answers. Homework Statement You are the owner of a manufacturing plant. We've been hired by Apple to produce iPhone and iPods. Apples pays us $50...
  28. O

    Programming a PIC 16F886 on a FR28 I/O board

    I need help in programming a pic on a FR28 I/O board that i bought off of ebay. no software came with it, only pdf's. Essentially i want to hook up sensors (Thermocouple, ph, photon) and have the pic store the data (using flash mem). the data stored will later be uploaded to a computer. the...
  29. A

    MATLAB How Can I Program a Series Using Pi in Matlab?

    How can I program this series the n looking symbol is Pi thanks in advance Aron
  30. S

    Electric engineering programming language

    Well I am studying electric engineering and computer engineering major... i really want to get into microchips/microprocessor programing.. i don't know any programming language at this moment should i learn C? or i should start with another language like phyton?
  31. B

    Solve FORTRAN 77 Programming Problem: Date Validation & Conversion

    I'm currently taking my first programming course (1st year student - using FORTRAN 77) and the way the course is taught is atrocious. We listen to the prof give his lecture (3/4 of which is him going off on tangents). We spend no time in a computer lab. The only "practice" we get is 1 lab per...
  32. K

    C Programming: give command a 5 sec interval to run

    Hi all, I am new to C and I need some help solving an issue with network programming. So in general, i have two programs running: Program A and Program B. Description of A: Send out packet with SN = i (SN is the label for the packet. i.e first pkt SN=1, 2nd pkt SN=2 etc) Set...
  33. I

    C Programming: Adding 16bit and 32bit Integers with Local and Global Variables

    Homework Statement Write a C program to use a function to add two 16bit and two 32bit integers together and return a long integer result. Call the function twice with different parameters and print the results. Declare your input variables to one of the function calls as local variables (on...
  34. C

    Help in C Programming: Fixing Errors with nr.h & nrutil.h Libraries

    What are the functions of the following C libraries? nr.h nrutil.h What I understood is that these are used when u are calling functions like 'qromb or polint or trapzd' for integration. Acutally when I compile the program I get these errors. nr.h: No such file or directory nrutil.h: No...
  35. A

    Mathematica Drawing a ParametricPlot3D in Mathematica with n & t

    Hi I have a function that relies on n and t. I am presently drawing it with "ParametricPlot3D." I am drawing it for all t in [0,1]. Now I can either draw this for all values of n in a defined interval, say [a,b], just as I define it to draw all t. Or I can draw one value of n by using the...
  36. F

    Programs Is being good at programming necessary for comp sci major?

    I used to think that computer science was all coding and making software. That displeased me greatly since I'm not the greatest at coding. Certainly not one of those people who started at 10 or even 16. It's not that I'm fundamentally bad at it, but I just tend to dislike it. Yet I am drawn to...
  37. R

    Python Recommend a book on Python Programming

    I'm not a complete newbie to Python but I'm not a pro either (far from it). I played with Python on surface, like doing simple computation in python shell or creating a very simple program (such as finding roots of quadratic equations). Anyway, i would like to explore more into this subject...
  38. J

    Best Beginner Programming Language?

    [SIZE="3"][FONT="Times New Roman"]I am looking to start learning programming more or less on my own. I can make some advanced programs on the TI-83+ calculator and have been for the past year. I learned just from reading the manual and messing with the different logic operators and commands...
  39. D

    Which programming language should I learn?

    I'm going for a major in mechanical engineering and am planning on getting a PhD. I was planning on having a minor in Computer Science just to help with research and general programming. With all of the programming languages out there, it gets kind of overwhelming when trying to narrow it...
  40. K

    Which programming language should i use for my project? And question about PIC.

    I will be doing my finalyear project next year. And I thought of building a robotic butler, i.e: a robot that can be summoned by the user with a click on the remote control to bring the food/drinks that are stored in it to the user. I am hoping that the robot could trace and go to the signal...
  41. G

    What is the best programming language for building a 2D pathfinding robot?

    Hello. I'm thinking about building a 2D pathfinding robot. I was just wondering if anyone wanted to suggest a programming language. I have experience in a few, but I also like trying new ones so I'm open to anything. Any suggestions? Thanks.
  42. M

    Suggestions for an AI programming project?

    Hi everyone. I'm supposed to do a small research project for one of my C++ classes. The only requirement is that it can be rendered in 3D (opengl). I wanted to do something AI related, like pathfinding or something. I thought of making a 3D pacman with each ghost following a different...
  43. K

    How Do I Complete Pseudocode for Classroom Score Calculations?

    I am taking a very basic programming class, and all we work with is fliowcharts and pseudocode. We use the following book: Programming Logic and Design, 5th edition, comprehensive by Joyce Farrell. We use VISIO for the flowcharts, and Word for the pseudocode. And I need help with the following...
  44. M

    Little Man Programming: Get Help Now

    Hello everyone, New to the forums and I really need some help. I'm trying to create a little man program that would accept any three user inputs and return them in order from largest to smallest. I really have no clue where to start since I'm completely new to programming. Please help..
  45. V

    Tips for Reading and Splitting Data in C Programming Lab Homework

    Homework Statement Well the program has several functions but I just really need help with reading a text file and splitting the data in the file into a one-dimensional array and a two-dimensional array The text file is like this... 21 1110 1.5 5.4 6.0 9.8. 8.5 8.3 5.6...
  46. D

    Comp Sci Need Help with Programming Class: Convert Feet & Metres

    I'm making a program for one of my programming classes and just needed some help! #include <iostream> #include <iomanip> using namespace std; int main() { int number; float feet; float metres; float conv1; float conv2; cout << "Do you wish to convert 1...
  47. H

    How can I use Runge Kutta to solve coupled first order DE's in Matlab?

    Hello All, I need to utilize a Runge Kutta second order approach to solve two coupled first order DE's simultaneously given some initial conditions and a conservation relationship. The DE's are as follows: \frac{dp}{dt} = aq - bp \frac{dq}{dt} = -aq + bp Where a and b are...
  48. C

    Programming on different platforms

    When I first started programming, I used a text editor & the command line to compile & run my programs. However, then I switched to the Eclipse IDE, and I've been using that ever since (I also used Visual Studio when I took a C++ class). As you can see, my exposure to different development...
  49. K

    Optimality Condition for Linear Programming Solutions

    Homework Statement A feasible dictionary whose last row reads z = z* + ∑ cjxjdescribes an optimal solution if and only if cj ≤ 0 for all j. Prove or disprove. Homework Equations The Attempt at a Solution It is clear that if all c's are ≤ 0, then the solution is optimal since increasing any of...
  50. J

    Sites for chemistsry programming

    hi everyone, one of my homework questions asks me to write a computer program to evaluate the Planck distribution at any temperature and wavelength and add it to a routine for evaluating integrals for the energy density of the radiation between two wavelengths. I have never used any...
Back
Top