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...
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...
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...
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...
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...
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...
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...
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...
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...
I am currently a freshman majoring in physics. My professor recommended me using MatLab for computations, but I'm not sure how to teach myself. Next quarter I will be taking Computer science, I think they will be learning C++ ( I do have a bit of experience with C++ and python). I want to learn...
I'm a student at Purdue University Northwest and we recently started a Nuclear Physics program and I want to help get the news out but I don't know how. Currently I am the only student in the program, but we are trying to grow it. My professor for all things Nuclear is talking to the ANS...
Hello there,
I want to write a fortran program which gives me the right ascension and declination of the sun and the phase of the moon when a date and time is given.
I just want to know how to write it and if there are any references that can help me.
Thanks,
Jadaav.
Implement a PrintMenu() function, which has a string as a parameter, outputs a menu of user options for analyzing/editing the string, and returns the user's entered menu option. Each option is represented by a single character.
If an invalid character is entered, continue to prompt for a valid...
I'm having trouble understanding how to use the "usrStr" or how to use the userInput in both of my functions. I know the problem with my code, i see that when i call the OutputWithoutWhiteSpace(userInput) function it works fine but it adds the extra characters
first sentence = 46 characters...
Hi, I've been recently started programming, and wanted to make program I can use in everyday life. I use CMD hosted network every day on my other PC, and wanted to make program in witch I can stop/start/restart hosted network.
This is current progress:
#include <iostream>
int main () {...
I'm trying to write this Python program that simulates a completely inelastic collision between two objects. The program seems to work for the most part, but I'm completely lost on the "heat released" part at the end. I have no idea if I'm calculating this right, or if I'm completely wrong. Can...
Hi Everyone!
I am a senior student going at a liberal arts college currently majoring in Physics. I am applying to graduate schools in Astronomy this fall semester. I would like to ask what are the odds of getting into the best astronomy programs with the following background:
Major GPA: 4.00...
The task was to make python code which utilizes functions and main program.
the objective is to make function which takes two parameters (ostensibly number values) and outputs the smaller of the numbers.
I realized that the problem statement in a sense was incomplete because there is the...
I was thinking about triple nested for loop with a simple thought exercise on my own. I was little bit confused about that third nested loop (print c loop)
With simple case of double nested loop, I think I understood how the program works. (only one nesting).
But I'm having some trouble...
Hi everyone.
I am working on a blackjack game using swift, and I have need to get the user's input from a console. While my code (which is attached below) works in theory, my program does not wait for the user to type some input in the console. Instead, it quickly passes over it and returns an...
Hi everyone,
I'm planning to apply to a few terminal masters programs this fall, with the goal of doing a thesis option and applying to PhD programs after the masters. (I have various reasons for wanting to go this route instead of applying straight to a PhD). I know it's good to seek out and...
Hi,
I'm still a student at school, and I'm currently doing the IB programme.
The IB programme is not very challenging...and I've gone out of my way to study the A-levels as well. For those familiar with the A-levels, I've completed the Maths and Further Maths Modules, up to FP3, M3, S2 and...
It's my first semester in the Manufacturing and Mechanical Systems Integration masters program at RIT. I've just learned that the program name is changing to Manufacturing and Mechanical Engineering Technology. I don't want a masters in engineering technology, and since I've found that I'm...
I'm a senior undergrad majoring in physics. I've decided recently that I want to get a Masters to improve my chances in the job market (I'm still undecided if I want to get a PhD after that). So I've done my research, but am a bit confused, since information about Masters and PhD's are lumped...
Homework Statement
In this problem you will do numerical computer calculations. A skydiver of mass 75.0 kg jumps out of a plane at an altitude of 30.0 km above the surface of the Earth. His parachute fails to open. Assume there is no horizontal motion and the initial velocity is zero. We...
Up until this past summer, I thought I was going to go to Physics grad school following my undergraduate study. I worked at an REU program at UC Davis this summer, and decided that physics was not the route for me.
Now I am trying to decide to which engineering discipline I should apply. I have...
A user types a word and a number on a single line. Read them into the provided variables. Then print: word_number. End with newline. Example output if user entered: Amy 5
Amy_5
#include <stdio.h>int main(void) {
char userWord[20] = "";
int userNum = 0;
/* Your solution goes here */...
Hi
i studied for three years in a community college, i withdrew from my second year i also withdrew from three other classes from my third year, i transferred to a SUNY university, did horribly my first semester withdrew from two classes.
now i begin my junior year as a physics major, and...
1. Homework Statement
calculate the area and perimeter of 2 rectangles(two objetcs and one builder), print the sides, area and perimeter, the function printrectangle must identify which side belongs to base and height...
the teacher suggest this in private: float side1 float side2
and this in...
Hey all. I've recently accumulated upwards of 5 or 6 different email accounts that I need to check and I'm having a hard time keeping track of it all. I'm looking for a good program for windows that I can use to keep track of all my accounts instead of having to open and log into each one...
I'm simulating Bell's theorem of quantum mechanics on a PC. I have guests Linux and Smaky systems and wrote codes in resp. C and Basic doing basically the same but obtain different results on both systems. On Linux the results of CHSH oscillate around 2, while on the Smaky it's always above 2 ...
Hi there! is anyone here working with a pulse generator? I have Agilent 8114A Pulse generator i want to vary the frequency automatically like 1.1Hz to 10.1Hz with 1-2 secs delay. This pulse generator have a HP-IB bus at the back that can connect in a PC. Base on the Manual it can program using...
Greetings.
When I tried to start Photoshop CS6 I received error message Could not load actions because an unexpected end-of-file was encountered and the program would not open.
Any ideas?
How to make photoshop fix?
Thanks
Hello, thanks for your interest in may help me, i appreciate it, really.
My question is, I've wrote this code to solve an physical EDO system. But for some reason it copies the element k[1][3] at k[2][3].
After i call the initials elements the code becomes:
for ( int n=1 ; n<=1; n++ ){...
Hello,
I'm currently going into my fourth year in UC Berkeley this fall, studying Computer Science. My cumulative GPA is 3.56, however, my upper division CS gpa is a 3.2. I haven't done research before but I'm currently looking to do research this upcoming fall. Do I have a shot at top...
Hello everyone,
I have a BS in EE and a BS in physics and I am wrapping up my MSE in electrical engineering from a large university in the southwest. My MSE concentration is semiconductor devices. I don't know anything about IC design really, but I would like to somehow break into the field...
Hey everyone! I'm currently an undergraduate student double majoring in Mathematics and Biomedical Physics at a CSU. Lately I've been getting a lot of negative prospects on potential graduate school options because of the fact that I apparently am set up for failure for attending a CSU (based on...
I want to alter my program so it can take an unknown amount of elements (user inputs). I want the program to automatically count the numbers the user is inputting up until they hit enter to the next line. I think I got the program to keep track of this but now my output is a bunch of zeros in...
Hi, everyone. This is my first post and I'm glad I found this forum because I have some problems that I can't get much feedback for.
I graduated from college about 15 years ago with a BS degree in electrical/computer engineering. My gpa ranged somewhere from 2.8 to 3.0. Based on USNews, my...
How hard was it to get in? How was your experience?
I currently study finance(1 year done) and I got accepted to the University of New Haven on scholarship. I plan on taking extra classes in math and physics, so if I decide to pursue a degree in astronomy I will have the pre reqs done...
Hello, I'm new so I couldn't find a spot to put this in. I was wondering what's the minimum GPA for a plasma physics grad program especially fusion, I don't want good schools, I just want something that is enough to take me further. The thing is I dropped the ball hard my first year of college...
So, I've heard that rankings do matter if you want to go to academia; however, I've also heard that a PhD from the University of Hawaii in observational astronomy will be more valuable than one from MIT. So, where can I find universities' rankings by program (for example, cosmology or...
Homework Statement
Making tic tac toe program!
Homework EquationsThe Attempt at a Solution
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace TTT
{...
< Mentor Note -- thread moved to HH from the technical physics forums, so no HH Template is shown >
I was given the following question to answer for my Automata class:
function =
if(condition) then
statement
else
statement
the gramma for this if-then-else is...
Homework Statement
one teacher wants to know the % of fail and aproved of the class of "N" number of students, the minimun qualification to aprove is "7", write a program that reads the students qualifications, and then the program says the number of aproved and failed students and the % of...
Hi everyone,
some of you might laugh about what I am about to ask but I am about to start a masters in Quantum Science and Technology. Is this the equivalent to a Masters in Quantum Physics in the academia world? From a physicists stand point all the classes are about quantum mechanics and its...
Do many people apply? Is there something separate one must do beyond gaining acceptance into UCSB's general college? Lastly, what is it like studying there? Thanks!
Homework Statement
I need help with the following problem in C programming language:
Define a quiz and add two questions in it with given possible answers. Display the questions one by one and allow the user to choose between 1, 2 or 3 (numbers that represent serial numbers of possible...