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...
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...
. 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...
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...
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...
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: ")...
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
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...
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
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.
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...
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?
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...
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]+...
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){...
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...
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...
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...
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...
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.
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)
{
/*...
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...
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...
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...
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...
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?
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...
(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...
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)
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...
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...
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...
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...
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...
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...
Hi, anybody knows any Physics PhD program concentrated in Bioinformatics or any Bioinformatics program which admits Physics students?
Thank you in advance!
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...
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...
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...
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)
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...
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...
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...
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...
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...
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.
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.