Program Definition and 1000 Threads

  1. L

    Just finished with my 4-year B.Sc. program now thinking engineering

    and there really isn't anything particularly exciting about it! I am not sure where I am going next year despite the fact that i got accepted into some master programs...madly expensive and no job demands. they're mostly masters program in publich health. one of them is at Columbia - was pumped...
  2. A

    Fortran Fortran 90: giving the variable's value on the execution of a program

    Hello I wondered if in Fortran 90 I can define a variable whose value will be given only while executing the program, in the same line as the execution command, for example like this: ./exe 100 I know one can use the "read" command, but that way you only enter the variable's value once...
  3. Who Am I

    Orbit program - three objects (C programming, but other programmers could help)

    Homework Statement I'm trying to write a program with three bodies, two in orbit around a large central object. The main object orbits fine, that was dealt with earlier. I'm having trouble making a smaller object that is the only object whose position is dependent on the position of both of...
  4. N

    Why Should We Prioritize Manned Space Missions in Modern Exploration?

    I'am doing doing a persuasive speech on the manned space program. I have a general outline starting with the history of NASA : space race, cold war, Apollo landings etc. I then go on to talk about the decline in manned space exploration and then switch to space probes and robotic exploration. I...
  5. sankalpmittal

    Comp Sci Need Help with Java Program: Uppercase & Lowercase Conversion

    My teacher gave me a program in Java which none of us were able to do. So, I need help. Homework Statement We have to find the uppercase of the lowercase alphabets which the user inputs and vice versa. In case the character is special character, then it will leave blank space. It will work...
  6. M

    Please help me: a problem on my FOTRAN program

    Friends, I have written a program in FOTRAN for solving a equation [f(t0,y0)= 1/2*(t-y) by EulerMethod I'm in the learning stage of FOTRAN. after executing my program and save the result in txt file the result For example be 1.000000000000000 1.000000000000000...
  7. H

    Kepler's Law Program With Planets

    Homework Statement Two planets X and Y travel counterclockwise in circular orbits about a star as shown in the figure below. The radii of their orbits are in the ratio 4:3. At one moment, they are aligned as shown in figure (a), making a straight line with the star. During the next five...
  8. D

    JAVA program keeps asking for input

    I wrote this program and it keeps requesting input from me, could anyone take a look at it and tell me what's wrong ? import java.io.IOException; import java.util.Scanner; import java.lang.String; public class StringCW { private Scanner in = new Scanner( System.in )...
  9. C

    Computer Program for Dog Chasing Rabbit

    Hey all, I am trying to work on my programming skills. I write programs in C, and I am attempting to write a computer algorithm such that for some small t. Let's call it dt we get the position of a dog, and the position of a rabbit, as the dog chases the rabbit. This is being asked on a...
  10. T

    Programs Should You Apply for a PhD Track to Secure a Master's Admission?

    Suppose that I would like a master's in physics, but not a PhD, and consider a university that offers a funded master's program. I understand that universities prefer to take PhD students rather that MS students (since one may squeeze more cheap research labor out of a 3+ year grad student...
  11. Z

    Program to solve for a formula given a set of pairs of points?

    Hi, I'm look for a program that can solve for a general function when given a set of pairs of points? Does anything like that exist? Thanks.
  12. J

    Comp Sci Why Does My C++ Array Program Give a Cannot Convert Double to Double Error?

    Homework Statement I am not completely finished with the assignment, but I was trying to test to make sure that my functions "low" and "high" would in fact return the proper value (the lowest number in the array, and the highest number in the array, respectively). However, when I compile, I...
  13. C

    Assembly language program for PIC16F84: for a specific function.

    I'm using a PIC16F684.. Can someone help me write an assembly language program that switches on LEDs 0 to 7 in binary. There has to be a delay of 1 second between the change. Thanks,
  14. D

    AVLTree program and Binary Tree program help

    Homework Statement Write a java program to construct an AVL tree and then generate 100 random numbers to insert to this tree and then delete randomly 50 of these random numbers from this AVL tree. (use the AVL tree animation of your book to understand the bahavior of the this tree in the...
  15. S

    Necessary conditions for a linear program

    Homework Statement Consider the following optimization problem: min f(x) s.t. g(x) ≥ 0 h(x) ≤ 0 q(x) = 0  Let xbar satisfy g(x) = h(x) = q(x) = 0. a)State and prove a set of necessary and sufficient conditions for x to be a local minimum. b)How would the conditions...
  16. E

    Quantum physics computer program simulations

    Does anyone know of any computer programs that can be used for quantum mechanics applications?
  17. S

    Comp Sci Why Does My Java Program Display the Menu Before Adding or Removing Items?

    Homework Statement I am supposed to write a program that uses a bag of strings to keep track of a list of chores. The user can add, remove, view, etc. items on the list. Homework Equations When I run the program and i choose an option from the menu. It displays the menu again before...
  18. J

    Visualizing Physics: Looking for a simple 3D drawing program

    Hi guys, I am looking for a simple 3D drawing program, where I could draw a bunch of balls of different colors and maybe some bulky arrows. If I could make a small movie (or a GIF) by making the balls move, that would be a nice extra. What would be the simplest solution? Mathematica...
  19. R

    Modifying Program to Control Current at Maximum Duty Cycle

    Hi, I want to modify a program that was written long ago. I would like to give the output from hardware as user input. Here, user input deals with current at maximum duty cycle allways. My task is to control the current according to the user input. Let say, if user wants 2kA as O/P and i...
  20. T

    Comp Sci C++ compare strings program using pointers

    Homework Statement Create a function called isEqual(). isEqual() takes two strings and determines if the strings are identical. isEqual (s1, s2) should be the same as s1 = = s2 #include "stdafx.h" #include <iostream> using namespace std; bool isEqual(int *s, int *st, int x); int...
  21. T

    MATLAB Matlab program using implicit Finite Difference

    Hello, I need help writing a MATLAB program to solve a heat transfer problem implicitly. For some reason this is very confusing to me. The problem is stated below. Any help is greatly appriciated. Let me know if you need a little more info. I need to write a program to solve this...
  22. G

    Program Switch Comp Eng - Comp Sci

    Hello, I am currently in my Second year of Computer Engineering, but I often find myself not enjoying the electrical engineering courses that we have to take (Electromagnetics, Microelectronics, Circuits and Systems) but I immensely enjoy the programming courses and the Computer Engineering...
  23. D

    Comp Sci Fortran 90 Description in program how to continue it)

    Fortran 90:(Description in program how to continue it) Homework Statement Write a program in Fortran 90 (not fortran 77) that reads from the user 4 integers a, b, c, d. The program should first check if applicable inequality a ≤ b, c ≤ d. If not then it should asking again numbers from the...
  24. S

    C Program Help: Input Name & Print A/B or Error

    GIVE A program of c to input a name and print the name if the first char of name is a or b else print error message.
  25. H

    How can I make setup files install specific folders in different drives?

    Hello computer geniuses. I am learning to develop visual basic program. For just now I have developed the project of student database through text base mode. I know how to publish the application to make set up files. My main problem is that I need to make setup files install the folders...
  26. L

    Schools Which REU program/ grad school application

    Hello, I am a sophomore physics and mathematics double major, and I plan to attend graduate school for physics with a concentration in biophysics, or just biophysics. However, this is subject to change, as I find a lot of areas of physics interesting. I was recently accepted to two REU...
  27. K

    Graduate plasma physics program in Princeton and Univ of Michiganadvice needed

    I am looking forward to apply for Plasma Physics program in PPPL(Princeton) and Univ of Michigan. But I am not sure about what sort of recommendation letters I should send. I have one strong recomendation from my undergrad project supervisor(the project is plasma diagnostics in Hall Effect...
  28. K

    LaTeX Searching for Real-Time LaTeX Program

    I am sorry guys - I don't have privileges to post in other sections of this forum. I am looking for a Latex program that shows the result of the code in real time so that I don't have to create a pdf every time I need to see if my code was correct. Any suggestions? Thanks.
  29. R

    MATLAB MATLAB program for B-spline surface

    As a class assignment, we were required to write a program that calculated the basis functions and also plot the resulting b-spline given a set of x, y, z points. I have done this and the program works. I would, however, like to develop this further for b-spline surface generation (not a...
  30. A

    Java Java program to communicate with a USB port

    Hi, I want to write a java program to get information from a USB communications port. I have downloaded the javax-usb-r1 package but I don't know where I should place this folder / package. Can anyone give some advice? Thanks
  31. S

    Calculators Help with newly installed program on TI-89

    Is anyone familiar with the program "LM v1.0". It simplifies expressions via minterms. I have downloaded it and installed it on the TI-89, and I can find the program on the calculator. However, when I type in, exactly as the instructions say to, I get no output; that is, it merely displays what...
  32. C

    Fortran Creating a Program to Copy & Generate Coordinates in .inp File

    The issue I am having is that I want to create a program which reads a .txt file and copies it exactly to a .inp file followed by some coordinates which I am generating. the . txt file is being used as a header file which can be changed outside the program but once the program is read in the new...
  33. T

    BS E-Physics to a graduate program in EE?

    Hello PF, I did a quick google and couldn't find exactly what I was looking for so here it is: I am an undergrad graduating next year with a bachelors in Engineering Physics. So far my concentration has been in physics. I took one Intro to EE course which I liked, and I am taking a circuits...
  34. G

    Mathematica Mathematica: I made a program, but can't manipulate it. Please help

    The program I wrote accepts a certain number between 3 and 18. Then it returns the ways this number can be obtained by throwing three dice simultaneously and adding the face values. I want to manipulate this number, :biggrin: but can't achieve it using the ordinary code of manipulation...
  35. S

    Needing a simple microcontroller to program ADC0831

    Hi all, I am building a LED tomography system (think of it as a simple transmitter and receiver). I would like to do signal processing on the received data, so I am needing to convert my analog, received signal to a digital signal. The ADC I have chosen is the ADC0831 (DIP package). The...
  36. Square1

    The Subject of Iranian Nuclear Program (yes, physics related)

    Ok, so the latest headline from RussiaToday has prompted me to finally inquire about the the nuclear program issue. We've all heard about how Iran claims their nuclear program is for the alleged peaceful purposes. A recent report has stated that Iran officially has "enough radioactive material...
  37. G

    Calculators Is there a better slope field program for the TI 83 calculator?

    Hi I was searching for a slope field program for my calculator and found this one http://www.math.lsa.umich.edu/courses/116/Calculator/TI83/TI83-SF.html for some reason I can't get it to work. When I run it I only get one line row of lines at the bottom of my window when it graphs it. I...
  38. M

    Mysterious Equations in Childrens TV Program

    I'm sorry if this is the wrong forum for this. But I was watching a cartoon with my niece the other day. And I saw that in the background one of the characters was doing some mathematical equations on a black board. And I noticed some jargen that didn't make sense. I thought nothing of...
  39. A

    C/C++ What program do you use to program using C++ or website design or anything

    So I want to learn C++ & website making as a side hobby since I have some free time in my days. What programs do you all use and would suggest for C++, Visual C++ ? LOL. And for website design or making; what program? Sorry I don't know the correct terms.
  40. Char. Limit

    News Iran Sentences Canadian Programmer to Death for Writing Program

    http://nakedsecurity.sophos.com/2012/01/24/canadian-resident-sentenced-to-death-for-writing-a-computer-program/ I just can't believe this. If anyone wanted proof that Iran's leadership is not in any way civilized, this is it. I feel that something should be done, but I just am not sure what yet.
  41. fluidistic

    Efficient Approximation of Pi in C: A Comparison with Fortran | Help Needed

    So this isn't for homework. Basically I have a program in fortran 90 that computes an approximation of pi using a very non efficient method. So that it can do about 10^8 operations and still doesn't converge that much which is what I'm looking for. I want to write this program in C too, but...
  42. C

    Program Verification - Translation rule

    Hi I am doing a course on Program verification and am having trouble with the properties of summation, more specifically the rule of translation: "Suppose function f maps values of type J to values of type K, and suppose g is a function that maps values of type K to values of type J. suppose...
  43. L

    Python Python program to verify primes

    Homework Statement I'm supposed to write a program which asks for an integer input, then determines if the input is a prime or not. I wrote a program but I have 2 issues: 1) It works well for primes up to around the size of 30000~, then above that (I just tried 65537, for a weak upper bound)...
  44. T

    Fortran Help with a very simple fortran program.

    Hey, been 6 semesters since I took a fortran class and it's come up again. I'm and engineering major so I don't know what about programming and what not. Anyways, I need a program that multiplies an NxN matrix by an N dimensional vector. This is what I have so far: Program Matrix IMPLICIT...
  45. C

    Simple program to fill an array

    #include <stdio.h> int main() { double sum, theta[100]; int i; sum = 0.0; i = 0; while (i < 100) { sum = sum + theta[i]; i = i + 1; } printf("The sum of the array is %lf\n", sum); } when i run it i get a wrong answer...i don't know how to initialize the array
  46. A

    What Does the SendByte Function Do in This MCU Program?

    Very simple MCU program,the purpose would be sending strings to the computer, but no footnotes, so I have to guess the intention: void SendStr(unsigned char *s) { while(*s!='\0') { SendByte(*s); s++; } } /*Question No.1: How does SendByte interact with SendStr? Here is the SendByte...
  47. G

    University Honors Program Yes or No

    Hi, When I was in high school I took a lot of hard courses and was also involved extra curricular activities with a full 12 seasons of sports, I was also in a couple of clubs. As a result however I was absolutely miserable and hated high school, due to a lack of sleep among other things. All...
  48. L

    Testing Do I need to take the Physics GRE for a Ph.D program if I have a Master's?

    Hi all, So, I'm finishing up my master's degree in applied physics (not much different from a master's in physics if you choose your courses correctly) and am looking into Ph.D programs. One thing I haven't seen much information about is the requirements if you are coming into the program...
  49. W

    Looking for free animation program

    I have a bit of a dilemma. I'm designing a game in PHP (been designing it for several months now.) And want to release a trailer. Right now, the game isn't very pretty, and won't be until I get someone to do some artwork for me, but I haven't gotten much interest anywhere I've posted looking...
  50. B

    Research / Internship Opportunities for folks with BS, not in Grad Program?

    This is the second year of grad applications for me and although I've done what I could afford to improve my application (paying for and A-minus-ing a semester of grad level QM), I'm feeling pretty pessimistic about my odds of acceptance again. Frankly, I'm almost 26 and I'm not sure if I can...
Back
Top