Program Definition and 1000 Threads

  1. A

    Programs Finding the Right Master Program: Advice for a Physics Grad Student

    I got admitted into three different Master programs in my country, and I would really appreciate if you give me some advises. I have been working with a really productive professor since the beginning of the second year of my BS. The project we have been working with is to develop spectroscopy...
  2. D

    Starting a C program with a command

    Homework Statement Analyze the code below and figure out what it outputs if it's started with this command: The correct solution is given so i can better understand the parts of the problem. Homework Equations 3. The Attempt at a Solution [/B] I had typed it out and tried to get the same...
  3. D

    What is the output of this C program with int pointers?

    Homework Statement I am supposed to analyze the code and find it's output without running it. Some things were unclear so i did run it and i have some things that puzzle me. Homework Equations 3. The Attempt at a Solution [/B] #include <stdio.h> #include <stdlib.h> #include <string.h> enum e...
  4. J

    Programs Dual Major Undergraduate program vs. Extra year

    Hello. So due to some life circumstances i was not able to finish all my coursework of my 3-year BS.c program last year. Thus i have about 24 credits I will take next year. My plan was to finish those courses, and then along that take courses in another university, in biochem on the side. That...
  5. D

    Other Considering a Physics Graduate Program: Pros & Cons

    So I just finished up a masters in math (my undergrad was in physics) and I was considering applying for physics graduate school next year. However, I recently got accepted to a physics masters program. My question is whether I should accept the offer, or apply for a doctorate program next year...
  6. Const@ntine

    Comp Sci C++ Cylinder Area Homework: Find & Program Solution

    Homework Statement Find the are of the cylinder, by creating a program in C++. 2. The attempt at a solution So far I have: #include <iostream> using namespace std; const double PI = 3.14159; class point { protected: int x; int y; public: point() { } point (int xvalue...
  7. X

    Schools Survived First Year of Physics Ph.D Program Now What

    I just successfully completed my first year for a Ph.D program in a top 10 Ivy league school and I must say it was the hardest year of my life. I would work 12 hours a day and on average spend 8 hours on a single problem in my problem sets. Luckily I am done with all of my classes and quals and...
  8. Acceptablyvegi

    Admissions What are my odds of getting into a PhD program?

    What I want: to get into an okay-average Environmental Engineering, Materials Science, or Physics PhD program. My resume: Chemical and Biomolecular Engineering Major 8 months experience with an extremely reputable food and beverage company as a process engineer sort of role. I'm leaving by...
  9. majormuss

    Attend an average PhD program or wait a year to retake the GRE?

    Hi all, I got accepted to 2 Astrophysics phd programs ( University of Connecticut and the University of Cincinnati). To be honest, I am not thrilled by the prospect of attending either school but my only other option is to retake the GREs again and wait another year to attend graduate...
  10. D

    Assistance needed writing a C program

    Homework Statement My task is to write a program that reads from the .txt file into a list which contains two parts, the part of the text from the file and a pointer to the next element. Here are the specifications of the problem: When reading from the file you should separate the letters from...
  11. The_Inventor

    C/C++ Creating a simple password program in C++

    So I'm trying to teach myself C++ programming and I'm having trouble writing a password program. Essentially I want to program to ask the user to input a password, and then compare that input with the correct password. If the user input matches the password I want the program to output a message...
  12. Israr Ahmad

    Can anyone teach me how to debug a program?

    I want to know what kind of programs can be debugged and how to do this?
  13. doktorwho

    Help with pointers and strings in C

    Homework Statement I have to create a program that dynamically allocates a string and uses up no extra space (The string takes up as much space as it needs to),checks if entered string is 'please stop this', if it is then the prgogram exits and if it isn't then it continues, it makes a copy of...
  14. S

    Testing Is the Math GRE Necessary for a Physics Program?

    Hello! I took my physics GRE and I got a good score on it. I am thinking to take the Math one, too (I looked over the problems and they seem ok). Do you think it worths? Like, if i apply to a physics program, would math GRE have any impact or they would completely ignore it? Thank you!
  15. D

    Schools How good is the cosmology program at OSU? (Ohio State University)

    I might be accepted to the OSU physics PhD program and I have mainly an interest in cosmology / early universe stuff. How is OSU's program in cosmology? I hear their astronomy program is very good, but how is their cosmology especially?
  16. Q

    How to Use the Linux wait Command for a Program Process

    I want to know how to implement a wait(linux) command for my program. Our professor allowed us to generate any command with system to generate a process. However, when I attempt to do this, I can see the processes that are kids on my terminal, however I can't make them wait.
  17. doktorwho

    Help writing a program (crossword puzzle)

    Homework Statement I am supposed to write a program in C that does the following: It creates a 2d array from your specifications and as inputs takes only letters 'a' to 'z', 'A' to 'Z' and '*' and nothing else. It should immediately exit if something else is inputed. This array represents a...
  18. pitbull

    Programs What do you think of this master program?

    "Msc in Earth and Space Physics and Engineering", at DTU (Denmark). I love the courses it offers, and I would like to work for NASA in the future. Do you think this program is a good idea? Any opinions? (Click here to access the website)Thank you for your help, guys :)
  19. O

    Check writing program (type double variable value converted into English words)

    1. Homework Statement First, if you want to skip my explanation, I believe the error is somewhere in the last 15 lines of code or so. Heres some background on test cases: Use stating member variables to use a class that helps you convert a double number into english words. For example, if a...
  20. Leonardo Machado

    Why Isn't My Bisection Program Updating Variables Correctly?

    Hello guys ! May you help me with this little bisection program ? For some reason it is not changing the value of the variables x0 and x1 after every loop :c #include <iostream> #include <cmath> #include <fstream> using namespace std; int main () { double x, x0, x1, f, f0, f1...
  21. Feeble Wonk

    How Feasible Is Creating a Gerrymander-Free District-Mapping Program?

    I've got a challenge for you programming guys, if this wouldn't be more appropriate for a different forum. In the current environment of pathologically polarized politics, an obvious positive move to address this problem would be to undo the congressional redistricting through gerrymandering...
  22. I

    Programs Medical Physics Internship Program for Students

    Currently I've enrolled in the master program of medical physics, particularly I'm interested in the field of nuclear medicine. Does anybody have the information about an internship or a short international school program for student of medical physics, especially for master student ? Thanks...
  23. C

    Programs Optics Program or Physics Program (w/ optics concentration)

    My main goal is optics. I love it. I did an internship having to study and learn about optics and I've had my sights set on it sense then. It's also easier for me to learn. I've applied to graduate schools, but I need to know: Are there any advantages or disadvantages of going to an optics...
  24. toforfiltum

    A C program to determine the most common birthday

    Homework Statement Write a program that opens a file of the users choice that contains a list of birthdays. Extract from this file two things: (1) the date with the most common birthday (all of them) and (2) the month with the most people born. We will not test for a tie in either of these...
  25. jamalkoiyess

    Admissions Can I get into a graduate physics program without a Bsc degr

    I am a physics sophomore. I have been told by some of the graduates that most of the courses can be self-studied through the books that are demanded. I want to know if a masters or Ph.D. program would accept me if I self-studied everything. It's going to save me a lot of money.
  26. Quantum Aravinth

    Programs Graduate degree program in Physics [from UG in India]

    I am from India, doing third year undergraduate Physics. This is a three year degree program and I am completing it in another 2 weeks. I would like to move abroad for my graduate studies. But I am not sure how to start, which universities would accept three year degree program, general criteria...
  27. Z

    Java 3.15 Program: Text message expander (Java)

    I'm having issues with this code, here are the parameters and results. Create a program using conditional logic and string operations that does the following using your NetBeans IDE and upload it here: (1) Use scnr.nextLine(); to get a line of user input into a string. Output that line. (1...
  28. B

    Schools Medical Physics Program: Duke or Georgia Tech

    I am trying to decided between attending Duke or Georgia Tech for a Master's in Medical Physics. I would be very grateful for any opinions on the matter. Thanks!
  29. toforfiltum

    Simple C program involving arrays which cannot execute

    < Mentor Note -- thread moved to HH from the technical Computer forum, so no HH Template is shown >[/color] I have a homework problem which requires me to convert a word a user entered to Pig Latin by moving the first letter of the word to the end and adding an ay to it. For example, Tuesday...
  30. B

    Schools Duke Medical Physics Program -- how was your experience?

    I would like to know more about Duke's Master of Medical Physics program. Do any of you know about the clinical experience you can receive while attending? Also I am curious about the student to student experience that is most common during the program. To clarify, are students typically...
  31. D

    Where can i learn to build circuits?

    At my school we have started a program where we have one class a week on building circuits and playing eith the applications of circuit parametres. I would like you to tell me if there is a program, website or an app that can provide me with lessons or ability to build circuits of my own and...
  32. Skyline-7

    Programs How good is this applied math program?

    Hi, I am wondering how good or better to say competent this program from applied math is that I would like to join this year? Here it is: Applied Mathematics ====== Year I ====== Semester 1 ----------- - Analysis 1 Real numbers. Sequences. Real functions of real variable. Continuity...
  33. toforfiltum

    Program to find combination of letters associated with phone

    So here is the question: On a phone keypad, many of the numbers have letters associated with them. For instance, the letters A, B, and C are associated with the number 2. Write a program that accepts a number as input and prints all of the possible letter combinations associated with that...
  34. M

    Programs Physics or Astronomy undergraduate program?

    I got a guaranteed slot in a university that offers a physics program but I'm doubtful if that is the right choice. I could take this physics program or I could maybe move to another city and study astronomy there. I'm interested in particle physics, mechanics, astrophysics and...
  35. A

    C/C++ C++ program for give equations and error rectifier give program.

    #include<iostream.h> #include<math.h> #include<conio.h> void main() { int n,fact(); float LAM, MU=3, RO, C=0.1, N=10, F1=0, EXX, EWQ; clrscr(); for (LAM=0.1;LAM<=1.1;LAM=LAM+0.1) { RO=LAM/MU; EXX=2/(MU*MU); for(n=1;n<N-1;n=n+1) F1=F1+(N-n)*pow(LAM*C,n-1)*exp(-LAM*C)/fact(n-1)...
  36. P

    A Basic program -- missing array index?

    If someone can help me with this I'd be grateful. I've asked this question on other forums, gotten lots of views but no answer. It's no big deal but maybe someone has a solution. I've have a program written in BASIC. I did not write the program and I have no way to contact the original...
  37. FallenApple

    Don't understand tower of Hanoi Program Stack

    1)I have two questions. I don't know why pegs[0].push(i); is used inside the for loop in the first void function. It makes sense that the program needs rings to be placed on a stack. But why pegs[0]? why not pegs[i]? Mod note: Edited pegs[ i] above to prevent the following text to be rendered...
  38. risp

    Schools Which of these 4 colleges has better a better physics program?

    I got accepted for the 3-2 course in the following colleges: Knox Earlham Suny Geneseo Ohio Wesleyan University I want to do B.A in physics.So which school is better?
  39. T

    Thoughts on rejecting a program after their deadline

    I was fortunately accepted to a strong graduate program today. It really is a great program (e.g. top 25 ranking in Physics/Astronomy) but was largely a secondary plan. I will call this option Program B. My main goal has always been to pursue a career in a very different field and I am still...
  40. doktorwho

    Help Writing a Program: Solving Encryption with Matrix and Key Sequence Method

    Homework Statement For our final test preparation we were given a few problems to write and this is one of them: I would be very grateful if you could help me find the easiest way to solve it. Homework Equations 3. The Attempt at a Solution [/B] First let me tell you my plan for writing this...
  41. Kaura

    Engineering Software for Mechanical Simulations

    I am a first year Mechanical Engineering Major I am wondering if there are any good computer program that I could use to simulate the physics and properties of potential designs The other day I saw something about Da Vinci's famous cryptex and this peaked my interest into designing and building...
  42. sophiecentaur

    Stargazing Nebulosity is a hard program for the aged?

    I have been using Nebulosity to stack multiple images. Doing just that was not beyond me and lo! the noise level drops impressively. I then needed to get the colours to work. De-mosaicing (disgusting word) is necessary to produce a .fit file from .dng. Using the pre-sets in the dialogue (a 3x3...
  43. PsychonautQQ

    Math 2 year Data science masters program? Teaching Math abroad?

    Hello PF! This place is so great at helping me with my math homework, maybe ya'll can give me advice on life as well! As the title indicates, I'm looking for any information/opinions what-so-ever on topics of teaching math abroad at a maximum of a high school level and how beneficial would it...
  44. J

    How would one read website content using a program?

    I'm basically looking to find out how I could code a program to read the textual contents of a website (in either batch, dev c++ or powershell script - or a combination) and then search for a specific word, which when found, will trigger a set of commands. It's basically like the findstr command...
  45. E

    C/C++ Replacing stoi in C++ program for converting string to integer

    What can I use to replace stoi since the homework program won't accept it? I'm trying to read a string and display it as an integer. I know I have to use stringstream but have no idea how. //ReadData.cpp #include <iostream> #include <cstring> #include <cstdlib> #include <string> #include...
  46. T

    Power System Simulation Program for To Control System Freque

    Hello. I need to simulate a power system including conventional generators, loads and wind farm. I want to measure system frequency and voltage esspecially. According to these values for any kind unwanted of voltage and frequency changes circuit breaker should be opened and wind farm will be...
  47. N

    MHB Help Me Fix My Program: What Is Wrong?

    What is wrong with my program? I am so close to finish it. May anyone tell me what is wrong and how to fix it. #include <iostream> #include <cstdlib> using namespace std; class Node { public: Node(); Node* prev; string key; Node* next; }; Node::Node(){ prev...
  48. S

    Can't seem to make URL request from ElapsedEventHandler

    I've spent 10+ hours on trying to solve this and can't get it to work! In short, I have a method private async void LoadAndSavePage(object source, ElapsedEventArgs e) { // ... } which is being called every 1 second when the Windows Service that contains...
  49. A

    Why is my program not returning a percent?

    Homework Statement import java.util.ArrayList; public class Scores { private ArrayList<Integer> examScores = new ArrayList<Integer>(); private int[] howManyScorers; private int accepted; private double acceptedPercent; public Scores(ArrayList<Integer> scores) {...
Back
Top