Program Definition and 1000 Threads

  1. Steven Ellet

    Converting Program X to Binary: How to Achieve Optimal Efficiency?

    If I have program X how do I get it in binary form?
  2. P

    UC Berkeley Extension program for IC design or semicon tech

    Hello everyone, I graduated with a BSEE in 2008 and tried a PhD program in EE (semicon device specialization) for a while but it didn't work out. I struggled with an illness that forced me to drop out. I have been working in industry (NOT The semicon industry) since leaving the PhD program...
  3. M

    Java [Java] Did I write this program correctly? Please check

    Write a Java program to find the sum of all numbers between 1 to 10. So we all know that 1+2+3+4+5+6+7+8+9+10=55 and that answer to this problem is 55. Please check my work below: public class Standard { public static void main(String[] args) { // Create a for...
  4. T

    Comp Sci 100 Lockers Problem Java Program

    . Homework Statement A school has 100 lockers and 100 students. All lockers are closed on the first day of school. As the students enter, the first student, denoted S1, opens every locker. Then the second student, S2, begins with the second locker, denoted L2, and closes every other locker...
  5. G

    Program or website for graphing

    I'm in grade 11 pre-calc right now and my teacher gave us an assignment over the long weekend where we need to draw a person using the different kinds of graphs we learned (ie. hyperbolas, parabolas, circles, ellipses, lines etc.) I have a sketch of what I want on a piece of paper and I've...
  6. P

    What Are Some Options for Programmable Home Automation?

    I want to switch either a standard AC socket or a USB outlet on and off on a programmed cycle. But although there are many consumer-ready timers available to do this at set times of day, programmable to the minute, I want to be able to randomize the cycles and have it programmable to the second...
  7. A

    Python Python program to sort negative numbers and even numbers?

    Homework Statement I have to make a program that would end when entered a 0 and print out negative numbers and even numbers separately but what I have so far is not working. The Attempt at a Solution numbers = [] negative_numbers = [] while True: number = input("Enter a number: ")...
  8. Doug Huffman

    News US Declassifies Document Revealing Israel's Nuclear Program

    http://www.israelnationalnews.com/News/News.aspx/193175 The report http://www.spirit.kauwila.net/wordpress_kauilapele/Critical_Technology_Assessment_in_Israel_and_NATO_Nations_nuc_report.pdf
  9. A

    Python How to continue this Python program?

    Homework Statement I need a program where the program needs to ask me a name of a student and then a grade. 1) The program needs to end if a 0 is entered. 2) If the name has a number in it, the program should ask the user to enter another name. 3) After the name is correctly entered the program...
  10. 1

    Casio Program Help for AP Calc Riemann Sums

    Hi brand new to the site. I keep on having a syntax error when I run the code below on my casio fx-cg10. Btw I also put a display triangle on the last m as well
  11. I

    Perimeter institute 2015 summer undergrad program

    Hey, I am from UC Berkeley. I wonder if anyone here has applied to perimeter institute's 2015 summer program. I've applied but haven't heard back from them yet. I wonder if anybody here has got a reply.
  12. A

    Python Help with Python Program: Calculate Student Grades & Averages

    I really need help with a big Python program. Our professor has been MIA for the whole term and now we need to submit a program. I thought I was doing and learning fine on my own, but the program simply does not work for me. I need it till Thursday and I am ripping my hair out because I cannot...
  13. Superposed_Cat

    Best circuit designing program for designing cpu?

    Hey all, what is the best software (free) that allows you to build virtual circuits and 'run' them? Something that could support large circuits, such as a cpu?
  14. NATURE.M

    Proving the Correctness of Program g: How to Determine a Loop Invariant?

    Homework Statement Here is the program given: # PRE-condition: m and n are positive natural numbers. # POST-condition: returns a tuple of natural numbers (k, l, b) such that k*m = l*n = b, # and if natural number c is a positive multiple of both m and n then b <= c. def g(m, n): a=m b=n k=1...
  15. 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
  16. 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]+...
  17. 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){...
  18. 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...
  19. 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...
  20. 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...
  21. 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...
  22. 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.
  23. 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) { /*...
  24. 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...
  25. 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...
  26. 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...
  27. 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...
  28. 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?
  29. 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...
  30. 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...
  31. 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)
  32. 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...
  33. 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...
  34. 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...
  35. 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 #include <filesystem.hpp>. I've also tried changing it to "filesystem.hpp"; changing the search to recursive; trying to grab it from the...
  36. 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...
  37. 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...
  38. 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!
  39. 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...
  40. 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...
  41. 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
  42. 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...
  43. 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)
  44. 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...
  45. 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...
  46. 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...
  47. 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...
  48. 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...
  49. 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.
  50. 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.
Back
Top