Programming Definition and 1000 Threads

  1. F

    MATLAB How Can I Simplify This Matlab Source Code for GUI Implementation?

    Hi, Matlab noob here. I need your help to simplify this Matlab source code. Here the code that i currently use for k=1:1:gg k1=gains(k,1); k2=gains(k,2); k3=gains(k,3); . . kn=pidgains(k,n) [T,X,Y]=sim('Evaporator_PID',[Tstart Tfinal],opt); end...
  2. M

    Fortran Fortran (better suited to programming section)

    The following question pertains to programming, but I have posted it here because I want the views of mathematicians (also of physicists and engineers), not those of computer scientists (which i already know) and I do not know how many of the former category care to look into programming...
  3. S

    Dynamic Programming Related Questions

    Hi all, (1.) Can someone tell me the difference between a compact valued and single valued correspondence? (2.) I have been seeing repeating themes of "continuity on a compact set". Does that imply boundedness and thus possible to attain maximum? (3.) What's the difference between...
  4. A

    Programs Is a computer science degree suitable for someone with no programming exp

    Howdy All! I have been lurking in the shadows of physicsforums for a few months now, but this is my first official post here. A bit of background about me. I'm technically in my second year of university, but I say "technically" because I more or less squandered away my first year. I'm...
  5. D

    Which Programming Language Should I Learn First?

    University has finished for me this year until late February of next year, so i currently have plenty of spare time (and loving it) :smile: Normally over the summer holidays i like to just have a break from uni study, but i am still always keen to learn something--something that i want to learn...
  6. U

    C Programming: Output of Float Calculation

    The question is What will be the output? #include<stdio.h> int main(void) {float y=6/4; printf("%.1f\n",y);} The answer is 1.0 I got that right by trusting my senses:biggrin:; but I want to understand why.
  7. A

    Comp Sci C++, where Programming Meets Chemistry.

    Homework Statement http://www.engr.mun.ca/~markevans/engr1020/Eng1020Labs/Assignments/Entries/2010/11/16_Assignment_8__Computers!_Science!.htmlThe Attempt at a Solution I'm not sure how to use array in this assignment, and I'm not sure where to use switch statement... My Code #include...
  8. D

    Testing How Can I Improve at Hand Written Programming Exams?

    So I am taking an intro to programming class and am doing pretty well. I am getting high 90s on all assignments and end up helping others during lab time (used to practice programming). However, on our last exam I got a B on the test (about average). Not too bad, but I know I can do better. Now...
  9. L

    Programming Language Project Ideas

    I am in a class where we are studying concepts and design of programming languages. For a project we are suppose to design our own programming language or come up with some alternative project idea to do for the class. So, my question is... do ya'll have any ideas for an interesting and...
  10. S

    Simulations - Programming languages?

    I was wondering whether anyone has experience in astronomy simulations. If so, what language do you use and recommend? I've done Haskell and a very small bit of C++... I've been told Python is good, what are your thoughts? Also are there any good websites that may get me started? Thanks
  11. T

    General programming language question

    I'm currently in a computer science class in my senior year of high school and we're learning java. I was wondering if this is going to be the language I would be using in the workforce after college if I graduate with an interactive media degree. I've heard multiple people say that java is a...
  12. P

    Programs Is Programming Experience Necessary for a PhD in Theoretical Particle Physics?

    Hi! I'd like to do a PhD in theoretical particle physics, but I have the following problem. I found an advertisement, where I should work on numerical algorithms for the calculation of some certain integrals. Furthermore, I should work on Monte Carlo simulations. During my master thesis...
  13. T

    With which programming language is v-bulletin

    with which programming language is v-bulletin (on which pf runs) made? Was it created by you Greg? How much time did it take to build it?
  14. J

    Career in Programming vs. Networking

    Ok, so apart from my desire to become a Physicist or Engineer I've also considered going into a more computer related career in either networking or programming. Yea, let's face it I haven't really been able to decide. One way or the other I'd like to be prepared or at least know what I'm...
  15. A

    Are There Free Development Tools Available for Testing Intel Assembly Programs?

    I am in the early stages of learning Intel assembly coding, is there a free development tool available that I can use to test out an assembly program. Any other recommend sites or materials that I might use? Thanks
  16. M

    Fortran How to Create an Executable in Intel Fortran Using Visual Studio?

    Hello all, I am new to programming and fortran, I have Intel Fortran 9.1 and using this via Microsoft Visual Studio 2005. To start with I have found a simple exmaple from the a Intel Fortran 90 book. I seem to be able to run a debug, but can't seem to create an executable? Its my first time...
  17. N

    How Do You Input Numbers in C Programming?

    Hello, I just started taking a computer science course involving the program language c. I was wondering if anyone know the command that enables the user to type in a numerical input into the program. For example: 1. The user runs the program "Math Wizard." 2. The program displays...
  18. B

    Are Atoms Just a Model for the Unexplained in Programming?

    In my computer science class my prof rambled off into examples, one of which was atoms. He said that atoms were just a model for something that we really can't understand yet. Is this correct or is he under some kind of influence or a complete idiot (likely, he teaches programming 'backwards').
  19. D

    How to Compose Digits into Integer Descriptions?

    Object: Write a program that read digits and composes them into integers. For example, when you read 123( in characters) the program should print: "123(in integers) is 1 hundred and 2 tens and 3 ones". My first attempt is first read the number as a string then convert its characters to...
  20. A

    What Programming Language Can Handle 30-Digit Integers and Matrices for Free?

    I've been looking for a free download of a programming language that is easy to use and handles large numbers for a number theory problem I'm working on. I will report my results here after I use it. My TI isn't powerful enough and my other programmable calculator that I downloaded, graphcalc...
  21. S

    How Do You Implement a Multi-Species Population Model in C?

    Writing a function problem If m different species share the same habitat the model becomes a system of recurrent equations: Ni+1 [1] = Ni [1] + r [1] Ni [1] ( 1 - Ni [1] / K [1] ), Ni+1 [2] = Ni [2] + r [2] Ni [2] ( 1 - Ni [2] / K [2] ), ……………………………………………………, i = 0, 1, …, i , i + 1, … (2)...
  22. L

    Machine programming a 7segment LED

    Hello, Lately I've been trying to gain an understanding of processors/cpu's and the very lowest possible code you can engineer. I decided I would do a thought experiment where I would distill the computer down to the most basic level I could conceive, and decided that such a computer would...
  23. I

    Comp Sci First time programming ever and my first project has 1-21 errors in c++

    Homework Statement #include <iostream> using namespace std; int main() { int firstNo;// first number is stored here int secondNo, int resultAdd,// variable for result when first number and second number are added int resultSub,// variable for result when first number and second...
  24. P

    Programming GPIB Instruments in Labview: Need Help!

    Hello all, I am trying to program a GPIB instrument (voltmeter and oscilloscope) in labview. I already have all the drivers set up, but I am having trouble finding easy to understand documentation on how to program these instruments. Does you know of any? Right now I am stuck on trying to...
  25. S

    Understand the Output of 1000*1000 in C Programming

    Hello, I want to know the answer of following program and the reason behind it...as soon as possible void main() { float j; j=1000*1000; printf("%f",j); }
  26. C

    C Programming for Mechanical Engineers: Benefits & Applications

    Is C programming language necessary for Mechanical Engineers? Why? And where we use it?
  27. D

    MATLAB Will I Become Fluent in C++ and MATLAB After Taking Engineering 101?

    This fall I will be taking the class "Engineering 101: Introduction to Computers and Programming". The general course description can be found http://www.engin.umich.edu/courses/eng101/" . It says that we will be learning C++ and MATLAB. I am just wondering how well I will actually know these...
  28. A

    What Makes a Good Blog About Physics and Programming?

    Just kidding. Introduction thread. I'm Archeleus and I'm just generally interested in Physics and Programming. Yes I do my studies in these fields as well. Blog : http://archeleus.com/blog It doesn't have a topic, but just random stuff I find interesting. Cheers.
  29. S

    Electric Engineering Curriculum no programming class?

    Electric Engineering Curriculum no programming class? http://www2.eng.usf.edu/studentServices/docs/guides/Curriculum20092010.pdf So if you open that pdf and go to page 8 "Bachelor of Science in Electrical Engineering" i don't need to take any programming class? how come??
  30. R

    Operating system and programming language

    I understand that you can write a complete operating system in a high-level language like C++, compile it into machine code, and then write it to storage, and then sell it or give it away. But is this historically what was done? Did the compiler come first, or the operating system? When you...
  31. E

    PHP PHP programming, image processing

    Hello! So this is minimally image processing, but I didn't know what else to name this thread. I'm working on a project and basically, I have this image (see attached file) that's provided to me. That's all I have to work with. The first column of colored pads represents my test pad...
  32. R

    Multiplying Columns of Numbers in C Programming

    Hello all, I wrote a C program to multiply a column of numbers (for eg., number will look like this 10.45618) with some constant... after multiplication i get the correct value (i tested using calculator). Now the output is 0.00005672 (i use %14.9lf) ..but i want them to display like this...
  33. B

    Programming languages used by physicists?

    It is suggested that I learn a computation oriented programming language for an physics internship which I hope to apply for soon. I'm curious; what is the most commonly used programming language in the physics community? I've heard that Fortran has been used extensively for a some time, but...
  34. W

    Calculators Where Can I Find Resources for Programming HP35s Calculators?

    Hi, Any good primers for programming some simple programs on the HP35s? I have some inputs but am unsure how to do so exactly. Also if a good quadratic formula editor in algebraic mode is available that would be nice too. thanks, Whalstib
  35. O

    Question about the programming you learn during Theoretical Physics

    I was reading that while you study a Bsc in Theoretical Physics, you learn how to do quite a lot of programming. I am quite unfamiliar with programming but I was wondering how transferable are the programming skills you learn? Are they applicable to things like web design etc? Or are they only...
  36. S

    Do electrical engineers need to know programming?

    do electrical engineers need to know programming? specifically C language
  37. J

    Fortran Programming in FORTRAN - Begginer

    I've to do a program which read "N" pairs of points and print the points which are contained in a two dimensions quadrilateral domain with vertices on (2,2), (2,5), (7,5) and (5,2), Can anyone help me? Thanks for the atention and patience.
  38. C

    Is programming a good fit for me?

    I just completed my undergrad in physics and applied math, but I liked the applied math more partly because the physics got too abstract for me - I liked classical mechanics more than quantum mechanics. As a result, I had been strongly considering getting my MS or phD in mechanical/aerospace...
  39. G

    Help with programming a Keithley 220 Current Source in C++

    Hello guys, I want to program a Keithley 220 Current Source using C++. (C++ is m only option). (My task is to find out the V-I relation of a certain sample for which I want to program the current source). I am having problems getting the device into remote operation mode. I try to...
  40. H

    The Next Step in Learning C Programming: Suggestions & Resources

    Hello every body! I have read "The C Programming Language" and i want to know if i want to go further what is the next book you suggest?
  41. Q

    Comp Sci Fixing HashMap Values Issue in Java Programming

    import java.util.*; import java.io.*; public class Friend { private static int id; private static double lat; private static double lon; public Friend(int id, double lat, double lon) { this.id = id; this.lat = lat; this.lon = lon; } . . . . public void...
  42. J

    C Programming: Printing Prime Numbers from 1 to 20

    Homework Statement Hello, i want to calculate and print prime numbers from 1 to 20. I've provided my code below, and the program compiles but its just printing all numbers from 1 to 20, why? also have i used the continue statement correctly, since if it is found that a number is not prime then...
  43. M

    Want to be in computer graphics/game programming please guide

    hi Freinds I want to be in computer graphics or game programming.Please guide me what should I learn to be in computer graphics field. Please guide on:- Math and Physics I should learn?
  44. A

    Using Linear Programming to Optimize a New Restaurant

    Linear Programming "Possibility Restaurant" Homework Statement Angela Fox and Zooey Caulfield were food and nutrition majors at State University, as well as close friends and roommates. Upon graduation Angela and Zooey decided to open a French restaurant in Draperton, the small town where the...
  45. J

    Physics Cosmology/Physics and programming

    Hello everyone, I currently have a Master (M2) in computer science and been working as a C++ programmer in the video games industry for 3 years, in Paris, France. However, I don't really enjoy it anymore as I don't feel like it's being much "useful" and the place is not that friendly...
  46. rcgldr

    What kind of programming jobs are common these days?

    I'm wondering what kind of work is out there these days. My recent work has been with computer peripherals, mostly C, and some assembly, in an event driven, multi-tasking environments, but lately, there's not a lot of new development in this area. Going back to 1973, most of my work was with...
  47. M

    Programming pic microcontrollers using assembly language

    i need a good reference or book that teaches programming pic microcontrollers using assembly language, any help?
  48. D

    Should i go to programming class?

    hey,guys,i want to choose Aerospace engineering as my career field in two years ,i want to know do i need to go to any programming class or overall which class would you recommend me to go ? thanks:approve:
  49. rcgldr

    The first programming language you learned?

    In my case, it was quikomp, on a Monroe Monrobot XI. 1K of 32 bit words on a drum memory. Paper tape reader, paper tape punch, and a type writer console. http://jeffareid.net/misc/monrobot.jpg http://jeffareid.net/misc/quikomp.jpg Link to text of the first program I wrote (note comments...
  50. G

    How do I start to learn programming?

    My high school does not offer computer programming, because we are a, ah, *small* high school. But I want to learn how to do it. I really want to go into programming, or CE. I read bits and pieces, learn a bit here and there, but I really want to actually learn how. So, where do I actually...
Back
Top