Programming Definition and 1000 Threads

  1. R

    MATLAB Calculate Grades and Pass/Fail Status with Basic Matlab Programming

    http://img16.imageshack.us/img16/3078/15688239.gif So here's my script: x=[a, b, c, d]; w=[0.65 0.2 0.05 0.1]'; final=x*w; disp(final); if 65>final>=50 disp('Grade is: C') elseif 80>final>=65 disp('Grade is: B') elseif final>=80 disp('Grade is: A') If final>=50...
  2. J

    Programming to find Planck distribution

    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 programming...
  3. X

    Programming smooth x/y acceleration change to target a moving point

    TL;dr: "I am not sure how to calculate a smooth transition of thrust between one vector and another." Hi, this looked like the right place to post this being "The mathematics of change and motion". I am programming a simple game where an enemy chases after the player in an open space (no...
  4. R

    Which programming language is best for Scientists/Modeling Physical World

    Hello There, I'm a senior at the University of Illinois Chicago, studying mathematics and chemistry; I'm at the point where I need to become familiar with a computer programming language that will not only be useful down the road but help with the admission process into graduate school...
  5. S

    Linear Programming Homework: Find Range of x & y, Max y-2x

    Homework Statement Sketch the area that fulfills : x + y ≥ 1 3y ≥ 2x - 1 2y ≤ 3x and find the range of x and y that are restricted. Find the maximum value of y – 2x that satisfies the area above and find also the value of xHomework Equations Line equationThe Attempt at a Solution I've drawn...
  6. E

    How Do You Determine if a Line Segment Intersects a Square in 2D Geometry?

    I am trying to determine whether or not any part of a line segment is located within a square box. I have the coordinates of the line segment end points and the corners of the square box. This problem is easy for the case where one or both end points are located in the box, but I don't know...
  7. P

    Admissions Advice on applying programming to physics

    I've got a small amount of programming under my belt right now. I learned some java in my AP Comp Sci AB class and got a 4 on the AP. I want to work on my my programming with the specific intention of getting research experience in physics. It's a little hard for me to work on solely...
  8. B

    What is the best programming language for beginners?

    Hello everyone. I want to start learning some sort of computer programming. ...Where do I start?... Yes. That is all I have. I don't know what kind, cause I don't know what kind does what. I don't even know what kinds there are, or if there are kinds. I am blissfully ignorant...
  9. D

    Non Student Teaching Self Physics: Question about Science Programming Languages.

    My situation is that I taught myself Calculus 1, 2 and some 3 over the last year, and the better part of Freshman physics for majors, mechanics and EM. I bought 4 texts to learn from: Halliday, Tipler, Giancoli, and Young and Freedman. And I just started learning Diff. Eq. & Linear Algebra...
  10. D

    Programming light sensors for robot

    Hey guys I'm building a robot and just finished all the circuit work, and am now working on programming it. I got all the basic movement functions down, but am having trouble with a few things. How do you make it turn..fast? i can make it turn but its horrible. Also i have two light sensors put...
  11. thrill3rnit3

    Programming for a high school student

    I'm a high school student currently learning programming. I guess my question would be what kind of side jobs are there for a high school kid that involves programming??
  12. K

    MATLAB Some Matlab technical programming problem

    Hi there every one I need some help with the following function: function cc = find_cc(n) global nu cc(1)=(-8.*i.*nu1-3.*n.^2-5+4.*i.*nu1.*n-4.*n)./n./(-n-2+4.*i.*nu1); cc(2)=(3.*n.^2+2.*n+4)./n./(-n-2+4.*i.*nu1); cc(3)=-(n-1).*(n+1)./n./(-n-2+4.*i.*nu1); end where \nu is...
  13. E

    How do you implement complex numbers into programming?

    For instance, if I had a function of a complex variable z, how can I evaluate that function using a program?
  14. R

    Programs Declarative programming: useful for a physics/EEng double major?

    Hi everyone, been reading stuff here for a while but first time poster:) I am first year at university going for a Physics/Electrical Engineering. Looking at my options this year and I came across this paper...
  15. E

    What kind of maths do i need to go into programming?

    i work in 3d graphic actually , and new to max script anyway there such things that i faced when studying like delta, sin, atan, atan2, ..... etc and there is much more and i know nothing about this also what its name or kind of math to begin to study. where can i find such a resources to learn...
  16. N

    What is the Correct Way to Initialize a Character in C Programming?

    the foolowing program is to read inputed data and display them all at once but when i run it it asks for the first information and then runs the total program without asking for the input of other information.after that it doesn't respond and closes immediatelly. can someone help me and tells...
  17. P

    Job Skills Programming interviews: is it bad to study every possible question?

    Ok so for me, a job interview is still a while away, and I am not even sure if i will major in CS. But anyways, I've heard from my TAs that in their job interviews with microsoft and such, they are usually asked strange programming questions mostly involving linked lists, and riddles. Now...
  18. S

    Pascal: Sum Negatives & Replace in 15-Elem Array

    Homework Statement In one-range array of integers calculate the sum of all all negative values and replace these negatives with calculated sum. Length of array - 15 elements. Program must read all elements of array from keyboard. Homework Equations The Attempt at a Solution
  19. Z

    Comp Sci How to Open a Command Window for Fortran 90

    I feel very silly for asking this but I have just downloaded Fortran 90 and am trying to figure out how to open the command window. I am used to using MATLAB which automatically opens a command window when you open the program. I have the option of opening the developer studio or the command...
  20. P

    Where Can I Find Free Programming E-Books for Major Programming Languages?

    I haven't had time to look at this in any detail as the list is quite extensive. The books cover all major programming languages: Ada, Assembly, Basic, C, C#, C++, CGI, JavaScript, Perl, Delphi, Pascal, Haskell, Java, Lisp, PHP, Prolog, Python, Ruby, as well as some other languages, game...
  21. P

    Ideas for a physics related programming exercise

    I'm a physics student and need to come up with an idea for a relatively simple program for a programming exercise. The scope of the work is 5 ECTS credits which translates to about three weeks full time work. The program should probably include a simple gui so part of the effort goes into...
  22. R

    C programming help nedded ?what is the wrong of this code?

    C programming help nedded ??what is the wrong of this code? #include<stdio.h> int matA[3][4],matB[4][3],matAB[3][3],i,j,k; void read(); void multiply(); void display(); int main() { read(); multiply(); display(); return 0; } void read() { printf("Enter your matrix A:\n"); for...
  23. C

    Question on Molecular dynamics programming

    Dear all, I am not sure if this is the right place to ask the following. (Moderators, please move this thread to the right sub-forum if necessary.) The question I am having is related to molecular dynamics. In the book "Molecular Dynamics Simulation: Elementary Methods" by J. M. Haile, a...
  24. S

    Value of programming and cs to an aspiring physicist

    Hi All, First post but have lurked for a couple of months. I am an undergrad majoring in physics. My question is this: I have a few holes in my schedule to fill and am considering taking a few programming courses and I am wondering a) of how much value is the ability to program (or at least...
  25. K

    Fortran Understanding Permutations in Fortran Programming

    Is there anyone familiar with Fortran programming, who can give me some ideas how can I strart this? Many thanks Take 5 colored balls(1,2,3,4,5). The "multiplication" in the group is simply performing them after one another. Permute the first and third one. Now permute the third and...
  26. O

    Knowing computer programming languages

    Must I know any programming languages to enter a MS/PhD program in physics?
  27. K

    Comp Sci Computional Methods Problem with Fortran programming

    Is there anyone familiar with Fortran programming, who can give me some simple ideas or resources how can I strart this project? Many thanks Data Structures - The Permutation Group In this project, the group of permutations on N elements (where N is probably fairly small, perhaps N= 9 or...
  28. K

    Comp Sci Computional Methods Problem with Fortran programming

    Is there anyone familiar with Fortran programming, who can give me some simple ideas or resources how can I strart this project? Many thanks Data Structures - The Permutation Group In this project, the group of permutations on N elements (where N is probably fairly small, perhaps N= 9 or...
  29. P

    Getting programming experience

    I'm a physics student facing unemployment for the coming summer. I made it to couple of interviews but it seems that didn't get the positions because of lack of actual real world programming experience even thought the positions were aimed for a physicist. Well, I thought that now that I have...
  30. S

    Python Learning Python Programming - Advice for Beginners

    I am new to computer programming, but if anyone familiar with Python has any suggestions or resources for a beginner, I would appreciate it. How useful is programming in Python? How does it compare to other programming languages? I've also heard that Python is relatively simple to learn...
  31. U

    Programming and Background Iindependence

    Programming and Background Independence: What are the chances of holding a computer program (software) that simulates the theory Loop quantum gravity (LQG), more precisely its mathematical formalism: Background Independence. https://www.physicsforums.com/showthread.php?t=262638 List of...
  32. K

    Learn Computer Programming for Applied Math & Physics Majors

    OK, so I know virtually nothing about computer programming, and this fall I am starting into a double major of applied math and physics. The only computer science course that is required is the University's Intro to CS course. I am thinking that, if possible, I am going to try to do the...
  33. O

    3-Dimensions Finite Element Programming

    Hi, Does anyone know where I can get any programming for finite element in 3d object not calculation but for the display such as cad (e.g. meshing display)? Also what software that can do above operation? I mean, not ansys, nastran, algor, etc., but other that I can make it by myself by my...
  34. T

    Programming needed for Cryptography

    I was wondering, what types of programming languages are used in the field of Cryptography? I'm a math major with a working knowledge of C/C++, Java, and Python. Would it be worthwhile to learn some assembly languages? Should I learn more high level languages? Or, should I hone my skills in the...
  35. N

    How Can You Print Your BASIC Program and Its Output?

    BASIC syntax, drawing flowcharts, QBASIC
  36. L

    C Programming Compiler for Windows Vista

    Hi, At university we are using the Borland C++ 5.5 compiler, however, this does not work on Vista, which my home computer has. I was therefore wondering what C program compiler everyone would recommend which works on Windows Vista? Thanks, Luke.
  37. L

    Can Anyone Program Artificial Satellites or Do You Need Specific Skills?

    I have a question regarding programming of artificial satellites if someone would be nice to answer. :) Well I'm assuming that satellites need to be programmed to function (according to the clients' wishes). I have a few questions regarding this: 1. In what kind of programming languages are...
  38. P

    How will the new environmental policy affect profits?

    Homework Statement Under current legislation, a company involved in a noxious chemical industry has a permit to pass into the atmosphere a maximum of 1500 units of sulfur dioxide, and a maximum of 1200 units of carbon monoxide each day. A new plant just installed releases 150 units of sulfur...
  39. A

    Where Can Beginners Learn CNC Programming?

    Hi, Can you guys suggest me any good books or websites where I can learn how to write CNC program, I'm just a beginner so I'm having hard time with my assignment. Thanks for the help.
  40. Q

    Programming language for engineers

    Im starting my bachelor degree in mechatronics engineering this semester, i have very little knowledge in programming and so want to start learning a language. Ideally a language that would give me the upperhand for employment or one that is most relevant to engineering.( maybe they all are i...
  41. W

    Controlling the Genie Sequence Analyzer w/ the Genie 2K Programming Library

    Has anybody written programs that call the Genie 2000 SequenceAnalyzer object from the Genie 2000 Programming library? I am trying to do a peak locate, followed by a peak area computation, then write the results to a report file. The Analyze method says the sequence executes without problems...
  42. M

    What Are the Key Takeaways from My 2-Week HDL Microcontroller Project?

    Hi people! I am a student of Electrical engineering (5th semester) and have a profound interest in HDL (ie. verilog) Programming. For my 5th semester project of Digital System Design i have designed and implemented a primitive microcontroller Hardware architecture from scratch having...
  43. Q

    Converting Fahrenheit & Celsius: A C Programming Guide

    Okay. I need to write a C program to convert between fahrenheit and celsius degrees.
  44. C

    What programming language(s) should an aspiring physicist learn?

    I was surfing around the forum, and I noticed that several people recommended learning programming for physicists. What language is most useful for physicist? C? Fortran? Java?
  45. R

    C/C++ Learn Programming Now: C++ & Java Basics for Computer Engineering Majors

    I'm a high school senior planning on majoring in computer engineering. In my spare time I would like to get a head start on programming. What language should I learn that would best prepare me for what I might be exposed to? My guess is C++ or Java, but I'm not sure. I'm also looking for book...
  46. J

    Only in highschool (PROGRAMMING)

    This semester I decided to finish off high school with a work experience class, in lieu of another AP class (by that I mean there were none left to take, except virtual classes). I started making calls, and long story short a large software company (which I will not name) took a look at my...
  47. R

    Linear Programming and Maximization

    Homework Statement AutoIgnite produces electronic ignition systems for automobiles at a plant in Cleveland, Ohio. Each ignition system is assembled from two components produced at AutoIgnite’s plants in Buffalo, New York, and Dayton, Ohio. The Buffalo plant can produce 2000 units of...
  48. P

    Fortran Checking programming code: fortran 95

    Hi. Can anyone be kind enough to check what's wrong with my source code? Here's the project: http://www.dur.ac.uk/3h.physics/proj...nsmission.html You can skip the introduction bits. I'm stuck at the last question on Calculation Part I. I did the source code independently and it works...
  49. X

    Want to Program a 555 Timer? Here's What You Need!

    Hi guys I want to learn how to program a 555 timer. I searched google and there doesn't seem to be any sort of tutorials or good info for a beginner to get started I don't even know what equipment I would need to do it. I want to program a 555 timer for 15 pulses per second so I can make...
  50. Y

    Octave programming - some advice for newbie

    Hi there - I am looking to get some help in programming with Octave. Trying to work out a random integer generator and well not really getting anywhere so far - I'm hoping someone can give an example or guide in terms of how I should go about doing it in Octave. Thanks
Back
Top