Write a C++ program based on the following scenario:
You customer wants you to design and then build an online store:
Abilities the customer wants in the system:
Track products and related information.
Track customers, especially what the customer owes
Identify a product that will be for...
Homework Statement
Hi i have an assignment that is asking me to convert 3 temperatures in fahrenheit to celcius and vice versa.
I am very new to programming only 2 weeks in(and i learn by playing with the program) so I do not know all of the terminology / principles.
I am not allowed to use...
Hi all,
I have some queries to do, which I want to save as an .sql file. What program can I /must I use to do this?
I think I remember at some point using plain old Notepad to write the queries, since these are made
of standard English commands, nothing too fancy. Would this work?
Thanks.
Homework Statement
Make a program that converts numbers into roman numerals. Use strings, looping, and branching. The code posted is what I have so far, but I have no idea how to continue this program. I'm not sure if what I have so far is right or will even work or if I can use it at all...
Hey guys the Idea of simulating the DSE with a program caught my interest but I just had a few questions regarding the DSE
Is there a function that models the probability of finding an electron at a certain point ONCE It's BEEN FIRED FROM AN ELECTRON GUN? like an amplitude function squared or...
Not long ago, a member posted a problem in the Homework section, concerned with determining which of the five-digit permutations of 4, 5, 6, 8, and 9 were divisible by 8.
I first thought about writing some C code to figure this out, but when I discovered that Python has some functions that...
I'm thinking of giving gre test
i don't know if i need only to give the subject test or general is must.
i'm thinking of getting into physics Ph.D program so Physics GRE test.
Please someone explain how am i supposed to give the test to be considered for a phd
thanks
Mod note: Edited the following to remove spoiler tags and to put code in code tags
Homework Statement
Hi, currently I have this assignment:
Write a program by going through the 6 problem solving steps that reads in the length and width of a rectangular yard in feet, the length and width of a...
Create a program in C++ that makes a multiplication table. Ask the user how many numbers should be in the table.
Requirements
Store all of the data in a 2-dimensional vector of ints.
Allow the program to run repeatedly until the user is finished.
Do not allow inputs outside the range of 1-9...
There is a story of the inventor of chess. The king wanted to reward him with riches, but he only asked for the following. One grain of wheat for the first square, two on the second, four on the third, doubling the amount for each square until 64 squares are accounted for.
Questions
1) Design...
Here is essentially what I need to do for a school essay:
I have an excel sheet with 200 points (x corresponding to A1 column values, y corresponding to B1 column values). I need to find a way to transfer this to a graphing program in quadrant 1 (all x,y coordinates are >= 1 and less than or...
Write a program that let's a user enter N and that outputs N! (meaning N*(N-1)*(N-2)*...*2*1). Hint: Initialize a variable totalValue to N, and use a loop variable i that counts from N-1 down to 1.
#include <iostream>
using namespace std;
int main() {
int totalVal = 0;
int userInt = 0...
Hi there,
I have been using Leonard Susskind's lectures on classical mechanics to learn about Lagrangians and Hamiltonians, and decided to try to create a Lagrangian for the double pendulum and another pendulum-related system. I found the equations of motion, but they were unlike any...
http://oi58.tinypic.com/2d85aix.jpg
above is an url to the stats major program at my school. In red are the two classes that overlap. Is it likely that the overlap is intended, or a typo? Do universities ever allow such overlap (an emphasis class overlaps with a core class)?
They changed it a...
I finished my bachelors in electronics and communication in 2014 from India. Since then I have worked as an Application Engineer in the VLSI domain at a reputed company. I would like to transition to Nuclear Fusion Physics. I am planning to give my Physics GRE in October 2015.
Some background...
I'm looking for a program or an IDE which generates HTML5 and CSS3 (Would be better if it could generate some javascript too) any suggestions ?
I saw some websites like : css3generator.com
They are good but i want something that i can use offline and easily accessible
Hi,
I made a small program that simulates the motion of a body attached to an ideal spring and released from a horizontal position. Some more info here (especially #1 and #3): https://www.physicsforums.com/threads/equations-of-motion-unsolvable-with-elementary-method.827826/
I've been thinking...
Homework Statement
So, I want to make a table and a graph of the multiplicities of a system with two Einstein Solids. I was trying to use Excel but the numbers I guess were too big (300!) being the biggest. There are many more problems I'd like to do where there will be larger numbers too. Can...
A friend asked me to write him a program that contorls a lamp with USB or LAN cable
I've seen people using printer cables with Matlab to control an LED matrix ..
I use c# as programming language if there is any way or any command that i can use to control it with windows form application or...
I am going to be applying to grad schools in the coming months, and plan to apply to many schools. I'm looking for programs in quantum computation, quantum information, quantum optics, etc... (related research often falls under many different names). These programs generally are categorized in...
Hi,
I often hear people say that a certain program (i.e. computer science, maths, etc) is better at one school than at another. For example, here in Canada a lot of people say that if you want to enter into computer science you should go to the University of Waterloo, because they have a...
Hi there,
I am having a lot of struggles with program. I am not using this for any true kind of publication but more so we can reference material. However, it is very important that I have a coordinate system where I can plot the WCS. Whenever I try to save as a PNG or JPEG it does not...
PF Family,
What is a good way to increase my chances of getting into a joint PhD/JD program. I'm physics major with a 3.86 GPA, a rising junior, and have plenty of math electives (if that helps). I am currently in an REU program at my school, and we are doing climate modeling. I am also doing...
I was wondering if anyone here has a program for their ti-89 that can add and subtract dimension in ff.iiss format. Also it would be great if you could convert ff.iiss to decimal feet and vise versa.
For example I would want to enter in 10.0608 (10 feet 6 and a half inches) and convert it to...
Hello to all!
I have written this 1D FDTD code but the results I take are very large and after some timestep they get to infinite/NaN... I really don't know what's wrong. The expressions I have used are the exact given solution for the Maxwell equations.
Thank you for your help.
program yee...
Hello, I have a working calculus library for java and want to use it in a program. I don't have very many ideas. I have limited Calc. II knowledge but a strong understanding of Calc. I. I have an intermediate understanding of java (took 3 courses at my high school of it), and a solid algebraic...
Generally is it as difficult to get into a PhD program in physics during the spring then it is during the fall? I'm asking because many of the schools I'm applying to say that most students are admitted during the fall but they give you the option to apply for the spring as well.
If you are a professor is it better to use Mathematica or Matlab when it comes to publishing papers, which program creates the best graphs. I have origin as well.
SPOILER: This will be a somewhat depressing rant.
I like math (or, I THOUGHT I did), but have been feeling incredibly lazy and powerless recently. I'm currently a freshman undergrad, and I just failed Calc III. I've been barely scraping by recently, having gotten a 40 on the first midterm and a...
Hello forum,
I am a soon-to-be-graduated Radiation Health Physics student who plans to study medical physics in the future. I have applied for a few schools and I have been admitted to San Diego State's medical physics masters so far. And I am still waiting to hear from Oregon State/Oregon...
Hello guys,
I'm a master's here in California and just accepted a job offer for the summer. I will be in charge of a pilot program where I am in charge of 15 students (juniors and seniors interested in science) for 2.5 hours a day, monday through thursday, for 5 weeks.
I have to have them...
I have a master's in physics. I'm looking at PhD programs, but I really don't want to take the same courses over and take comprehensive exams (or the damn GRE). I managed to squeeze in a few math classes before I finished. I would like to do research in physics, but from a more math-heavy...
Hello, I'm not sure if this forum is the right place for this. My son is a Junior in High School, he wants to have a career in Physics. We have been trying to find the right school for him in the northeast, where we live. It has been difficult, however, to determine which schools have great...
Hi all,
Does anyone know how to get the program: FEMM (Finite Element Method Magnetics) to output the magnetic field strength and direction in a data file?
The program tells me the magnetic field in an output window anywhere i click my mouse on. However, I would like it to output the magnetic...
Hey guys,
I was an average physics major as an undergrad who entered medical school. I graduated from undergrad about 4 years ago and have been inundated with medicine since then - so I haven't had much of a chance to review old mathematics and physics. I will be starting an MS in BME in August...
Hi everyone,
Long time lurker here coming out to make my first post. I just finished my B.Sc. in Physics and I am getting ready to apply to graduate schools in the Fall of 2015. I did some undergraduate research in experimental biophysics (understanding the statistics of the transport of...
This is a little toy I put together that I thought might be of interest:
http://ibises.org.uk/Minkowski.html
It's an interactive Minkowski diagram. You can add events and connect them up with straight-line paths, then Lorentz boost either to a specified velocity or to the rest frame of a...
Hi,
I'm using MATLAB R2011a in my project, involving matrices of dimensions up to (70 × 20). I had good results, a time ago. Currently, poor results are generated using the very same code -(of good results)- with same parameters settings & relatively smaller matrices (30 × 20) !
I tried...
Hello! I am a fourteen-year-old Freshman in Minnesota and I am very interested in being a possible chemist. I am planning as of now, to go to MIT for a doctorates degree in chemistry and I am anticipating the amount of work that shall take and that is what I would like to ask you people. I was...
Homework Statement
http://pastebin.com/aS3vTR2V
Homework Equations
N/A
The Attempt at a Solution
I'm confused about what I need to do for the BlobFinder constructor. Someone told me that I should “initialize the ArrayList blobs”, then “create a 2D array of booleans called marked, having the...
After getting several offers, I narrowed my choice to the following two programs:
MSc in Particles, Strings and Cosmology in Centre For Particle Theory at Durham University: https://www.dur.ac.uk/cpt/graduate/lectures/
MSc in Quantum Fields and Fundamental Forces at Imperial College London...
Hey, guys,
I would like to learn about programming in C++. Could you point out good pdf textbook or material about this? What about game programming, where should I really start? I would really appreciate the help. Thanks
Hi all:
I'm writing a program based on simple re-entry physics and can't quite get the algorithm to match the theoretical results. A little background:
The equations I'm comparing this to are derivations from the equations of motion and the Sutton-Graves equation for peak heat flux at the...
How common is it for electrical engineers to not particularly like programming very much? A bit more background: I go to a school in which the electrical engineering and the computer science department are very much intertwined, and so there's a big focus on computers in the EE curriculum...
Homework Statement
Charge a ring of radius R=5.0cm laying in the x-y plane to 50nC.
Create a VPython program that will allow you to calculate the E-field due to the ring anywhere in space.
Homework Equations
E_ring=kQz/(R^2+z^2)^(3/2), point P above the xy-plane
The Attempt at a Solution...
Hi people,
I'm trying to figure out what's wrong with my code.
My goal is to calculate the average number of stones it takes so that 2 stones become adjascent on a 19x19 goban (the board of the game of go), when we randomly pick an intersection and place a stone on it. The answer should be...