Program Definition and 1000 Threads

  1. A

    Looking for calculus program to find volume

    I need a website or a program that I can write an equation then find volume in Disk or washer or cylindrical and draw it ? it should be Free
  2. S

    Mathematica Understanding this Computer program

    Below is a computer program for Mathematica that details how to calculate the Lyapunov exponent of a differential equation. What is the purpose of the code colored in red? ClearAll["Global`*"]; deq1 =-(y1[t]+ z1[t]); deq2 = x1[t]+0.1 y1[t]; deq3 =0.2+ x1[t] z1[t]-5.7 z1[t]; deq4 =-(y2[t]+...
  3. perplexabot

    C/C++ C++ and pthread simple program help

    Hey all. I am currently trying to brush up on my multithreading "skills" (I dare say) that I learned in my undergrad class. I have the following code that I am trying to run: #include <pthread.h> #include <iostream> using namespace std; void* func1(void*); int main(int argc, char** argv){...
  4. M

    Getting into top grad program after

    Retaking undergrad courses I did not do well in, taking some graduate courses, and possibly doing a Master's or another Bachelor's degree? I spent the first three years of my college career without any idea of what I wanted to do, and didn't especially try hard either. I still kept working at a...
  5. J

    Oxford's DPhil in the CMT group or MIT's graduate program

    Hi all. I have never posted anything in PhysicsForums, but I am a long time follower. I was lucky enough to get admitted to both the MIT's graduate program in Physics and to the DPhil in Theoretical Physics at Oxford in the condensed matter theory group. I am unsure which programme to choose...
  6. ognik

    Help with Adams-Bashforth program

    Hi - trying to write a Fortran95 program to solve a trivial 1st order DE (dy/dx=-xy), the idea being that once it works it can be used for different forms of f(x,y). I use Euler to get the starting point, then A-B's 2 step formula for the next 2 starting points. It is when I apply the A-B...
  7. fluidistic

    Bonsai shaper program, .raw from digital camera

    Hi people, I would like to create a sophisticated program that takes care of a bonsai. For simplicity let's assume that the bonsai is put into a cubic box with white walls, a digital camera able to produce .raw files and is under a compact fluorescent lamp. I want to define what I'd call the...
  8. JonnyMaddox

    Program that writes tensor equations out

    Hi, I'm looking for a program that spits out fully summed index equations. For example T_{ii} in, out comes T_{11}+T_{22}+... and so on, with Einstein summation convention.
  9. J

    My C program has turned into a monster

    I started making a program with the following prompt (For privacy purposes, I'm posting it as an image). Yes, it's a useless program; I'm making it for fun. I started out with what I thought were some nice implementations of helper functions: int index_of (char * str, char c) { /*...
  10. S

    Stanford (or any Ivy League) Graduate Program

    Hi, I have a few years left on my undergraduate degree but I wanted to see if anyone has experience applying to Stanford for graduate school. I started UCSD as a liberal arts major and then switched to physics about 10 months ago. I have about 130 community college units (you only need 80, I...
  11. DEvens

    What CAD program for complicated parts?

    What CAD program do people use and like? What programs use a standard data file format? It's ok if it requires me to pay. I have budget. But suggested good free programs are appreciated. What I am looking for is a CAD program to do 3D design of complicated parts. In particular, I am a nuclear...
  12. SilentThunder

    Undergraduate Program or Graduate Program?

    I'm looking for advice on obtaining a degree in physics. I'm older, 52, and have a BSE in Computer Science and Engineering and a MS in Computer Science. While I have a history of being both an undergraduate and a graduate student that was 30 years ago and in areas with little connection to...
  13. M

    Program segment question for combinatorics

    Consider the following segment where i,j,k,n and counter are integer variables and the value of n (a positive integer) is set prior to this segment. counter := 0 for i := 1 to n do for j :=1 1 to i do for k :=1 to j do counter := counter + 1 I am so lost as to what this program is...
  14. C

    International physics program requirements

    I remember reading (it might have been here) that non-US physics programs don't use the Physics GRE for admission criteria. Is this true? Are there other test(s) that are used? What do international programs tend to look at?
  15. Col. Coffee

    What should I look for in a medical physics program?

    I am currently a senior physics student looking at a number of medical physics graduate programs - I'm hoping to get an M.S., as I'm really more interested in the clinical side of things. I've had a couple offers already, but I'm having a difficult time nailing down which program I should...
  16. icecubebeast

    Java (Java) How to make a program that will reload

    (Java) How to make a program that will reload without erasing the variable data? How do you make a program in Java that will reload and won't erase the variable values (objects, strings, double, int, arrays and etc.)? And also, what program ideas would you suggest me (beginner programmer) so...
  17. evinda

    MHB What Alternative Online Programs Can Solve My Complex Mathematical System?

    Hello! (Wave) I want to solve the following system: $$y=\frac{3k^2+2ok+q-em}{2m+ek+p}x+\frac{-k^3+qk+2n-pm}{2m+ek+p}$$ $$ y^2+exy+py=x^3+ox^2+qx+n$$ I tried to compute it at Wolfram, but it failed. (Dull) Is there an other online program that I could use in other to make calculations? (Thinking)
  18. vead

    How do you use the instruction register and manage memory in a computer system?

    Hello , I need help , rom memory is memory that store program. we can only read rom memory. https://www.physicsforums.com/attachments/https://www.physicsforums.com/attachments/77060 look this diagram why does we connect both memory. I have read that when we start to read the program memory. we...
  19. Rasalhague

    Programs REU if not enrolled in degree program?

    Is it possible to do an REU without being currently enrolled in an undergraduate degree program? Some REU descriptions do state this is a requirement. Others seem to expect it, but don't explicitly rule out other possibilities. Does anyone have experience with this? I have a bachelor's degree...
  20. Daniel.Solis

    TMP master program at Ludwig Maximilians

    Hi everybody, My name is Daniel. I´m about to finish my bachelor degree in physics and, recently, I have being flirting with the idea of studying abroad. I got particularly interested in the elite master program of theoretical physics and mathematics at the Ludwig Maximilians university, in...
  21. J

    C/C++ Help getting Boost included in my C++ program

    I've changed the Library Search Path to the folder that contains the file I'm trying to use, filesystem.hpp, and then including the file with the directive [FONT=Courier New]#include <filesystem.hpp>. I've also tried changing it to [FONT=Courier New]"filesystem.hpp"; changing the search to...
  22. A

    What is the purpose of the analogies and equations used in the QM TV program?

    Hi I was watching a TV program about QM on BBC4 given by Jim Khalili. I am a little confused by two aspects. First, he attempted to draw an analogy about polarisation of entangled particles always being opposite when measured, by using a card game where a dealer deals cards in pairs. I think it...
  23. J

    Java Performance leak in my program (JavaScript)

    Any ideas much appreciated. Repro steps: Open this: http://jaminweb.com/projs/snakegame.php Change the speed to Fast Go get a couple pieces of food, lengthening your snake a few blocks Notice how it's already moving slower Code...
  24. A

    Programs Which PhD program in Physics is about Bioinformatics

    Hi, anybody knows any Physics PhD program concentrated in Bioinformatics or any Bioinformatics program which admits Physics students? Thank you in advance!
  25. C

    Comp Sci Need Help Running a program in C++ for Ubuntu (Linux)

    Homework Statement m working on a Engineering Project and I'm having serious trouble trying to run this program in C++. I'm following an example of the program from Program done in C but I'm trying to convert it into C++. I'm going to link the example I'm following and what I'm doing trying to...
  26. I

    Fortran Program in FORTRAN which calculate the detection efficiency

    Hi everyone, I want to write a program in FORTRAN which calculate the detection efficiency for a punctual source and a disc source at a distance from the detector .The disc detector is assumed to be perfect: ie photon absorbing everything that falls on it. So here I am working in 3D and I use...
  27. Quarlep

    Lagrange and program to calculate trajectory

    I am curios about trajectory programs (but not weather) the real particle movements.If you know How can I get it (but free) I will be happy Thanks
  28. M

    MHB Is it Possible? - Running a Program with Data Structures in Separate Files

    Hey! :o I have the main function of a program in a .c file. The main function uses data structures which are defined in an other .c file. And the main function uses also a .txt file to get some inputs. Is it possible to run the program if the main function is an other file as the definition...
  29. M

    MHB Equivalent RAM Program: Hints to Show Complexity $O(T^2(n))$

    Hey! :o I have to show that for each RAM program of time complexity $T(n)$ under the logarithmic cost function there is an equivalent RAM program of time complexity $O(T^2(n))$ which has no MULT or DIV instructions. Could you give me some hints how to show that?? (Wondering)
  30. J

    C/C++ Compiler error do to too much "constness" in my C++ program?

    Can someone try compiler this and tell me what error you get and what it means? https://github.com/jamkin/CSS-Template-Generator/tree/master/CSS%20Template%20Generator I get Mod note: Removed the [ I ] tags and the [ color ] BBCode tags, and replaced with [ code ] tags. There were too many...
  31. I

    C/C++ Find Min/Max Miles in milesTracker Program

    ok so i haven't looked at my programming homework in almost two weeks so I am very confused on how to do this. Find the maximum value and minimum value in milesTracker. Assign the maximum value to maxMiles, and the minimum value to minMiles. Sample output for the given program: Min miles: -10...
  32. A

    Programs Aerospace Engineer Seeking Admission to Masters Program Abroad

    I am currently in my pre-final year of aerospace engineering at one of the top engineering institutes in India. Since my school days, I have been good at physics at math and was particularly fascinated with popular science books based on astronomy. I decided to join the general trend of studying...
  33. Henry R

    MHB Computer Information System Program

    Good day everyone. I have some problems here. I need help.:confused: This code is my attempt to build a computer program.But, I just found out that I am confuse with my own code.You guys, can check it by your own and please try to fix it.;) Give mesuggestions. If thers's anything wrong then...
  34. FOIWATER

    Program to find number of lines/paragraphs, and words in a txt file

    Homework Statement Hello, I need to write a program which finds all words, lines, and paragraphs in a text file. I am to scan the document character by character. When I get to the end of a line, I need to count the total number of words in that line and add it to the total. If the total is...
  35. W

    Summer program for undergraduates

    Do you know any international summer program I physics for undergraduate students with free tuition? I am physics sophomore and I am interested in mathematical physics, gravitation, particles and fields.
  36. J

    HTML/CSS Ok, I need a new thread for my HTML processing program

    My old thread was getting messy and I realized I needed to go back to square 1 and write up a plan. So here's an outline of the plan: I will add to this thread as I write the helper functions and encounter any problems. Criticism greatly appreciated.
  37. I

    MHB Modify Triangle Program #2 - Enter Valid Sides for Area

    ok so in this program, if three valid sides are given it displays the area of a triangle otherwise it will ask the user to re enter sides. #include <iostream> #include <cmath> using namespace std; int main(){ double a,b,c=0; double s,A=0; cin>>a>>b>>c; cout<<"Enter three sides: "<<a<<"...
  38. M

    MHB Program that accepts inputs of the form 1^n 2^{n^2} 0

    Hey! :o I have to write a RAM program to accept all inputs of the form $1^n 2^{n^2} 0$. The instructions of the RAM machine are the following: I have done the following: Read x from input d=0, s=0 while x!=0 if x-1=0 d=d+1 else s=s+1 Read x from...
  39. evinda

    LaTeX Help with Latex: What Program to Download?

    Hello! (Wave) I have to write a text in latex.. (Nerd) Do you have any suggestions, which program I should download ? (Thinking)
  40. I

    C/C++ Computing x^n in C++ without Math Library

    Program should compute the power x^2 #include<iostream> int main() { double x; int n; double pow=1; cout<<"Please enter x:"; cin>>x; cout<<"Please enter n:"; cin>>n; LOOP FOR X^N pow=pow*x cout<<"The result is: "<<pow<<endl; return 0; } as you can see, there is no math library included and i...
  41. M

    MHB Converting Recursion into Loops for Computing n^n

    Hey! :o Write a RAM program of uniform-cost time complexity $O(\log n)$ to compute $n^n$.Prove that your program is correct. (Under the uniform cost criterion each RAM instruction requires one unit of time.) So that the time complexity is $O(\log n)$ the size of the problem should get divided...
  42. M

    MHB Program to compute the factorial of n

    Hey! :o I am asked to write a RAM (Random Access Machines) program to compute $n!$ given input $n$. Could you give me some hints how I could do that?? (Wondering)
  43. sheldonrocks97

    Write a C program to read values for times from the input file?

    Homework Statement Write a C program to read values for times from the input file times.txt; compute sin(5*pi*t) for each time t given in times.txt; output comma separated values of t, sin(5*pi*t) into an output file named output.csv; and compile the program using a makefile. Hand in a copy of...
  44. T

    Maximizing EEPROM Storage Capacity for Arduino: A Basic Understanding

    Hi everyone, so I was relooking into the external EEPROM problem I had earlier for the Arduino, and am thinking that I am missing even just a basic understanding of it. So I'm using this https://www.sparkfun.com/products/525 EEPROM which should have 256kbits of space. I am hoping to save 4...
  45. P

    ABET accredited grad engineering program?

    I am shocked that there are only a few schools which got their graduate engineering program accredited by ABET. FYI, I used this website: http://main.abet.org/aps/Accreditedprogramsearch.aspx For undergraduate programs, there are quite a few schools which have ABET accreditation. For...
  46. M

    Graduate program while employed by National Lab

    I will be graduating with a BA in physics and BS in Electrical Engineering in May. I want an optics PhD. I attended an info session on Sandia National Labs at my university, and the recruiters made me think about a PhD program through a national lab. If someone has experience with the National...
  47. J

    MATLAB MATLAB: Program Unknown # of 'for' Loops w/ i1,i2,iN Variables Smartly

    Hi :) I need to program several nested 'for' loops which differs only in index of their variables inside. So I need to convert this: for i1 = 1000:-d:0 for i2 = (1000-(d*i1):-d:0 ... for in = (1000-(d*in-1):-d:0 some function containing all index variables like: b=(i1*A( :,2), i2*A( :,3), ...
  48. M

    Writing a program to play this game?

    Recently, I have came across an interesting game that can be played fairly easily between two people. Here is how it is played: Both you and your opponent pick a four digit integer with no digit repetition. Then, you perform specific "guesses" so as to determine what their number is. A guess is...
  49. T

    Best Undergrad Program for Graduate Level Theoretical Physics?

    Definitely looking to pursue graduate level theoretical physics in Quantum Mechanics. Which undergrad program would be best? Mathematical Physics, General Physics, or Astrophysics?
  50. 7

    Schools Schools Accepting Engineering Tech for MS in Engineering?

    Hi all, I have been curious about this for a while. I know that some schools do not accept a bachelors in engineering technology for into a Master's Program of Engineering. I was wondering if anybody could tell me if there are schools that do? Thanks
Back
Top