I've tackled a lot so far! I've created methods to delete, get the weight, and sort the tree by name.
My goal is to have my switch criteria change how the tree is sorted, either by weight or by name.
I haven't figured out how to implement it within my switchCriteria() method, so I've been...
I am having a hard time implementing comparing a given String name with the names of the Dog objects in my binary Search Tree.
The problem comes from my containsRecursive() method. I need to use a String name to find if the name is already in my Binary Search Tree.Here's what I've tried...
The thread
https://www.physicsforums.com/threads/how-close-is-earth-to-the-closest-black-hole.939912/
reached a conclusion that there is a 65% confidence level that there is one black hole within 50 ly of Earth.
The link
http://www.solstation.com/stars/s20ly.htm
says there are 25 stars bigger...
Homework Statement
Hi,
I have a problem understanding the following equation related to binary search:Homework Equations
int midIndex = (endIndex - startIndex / 2) + startIndex;
The Attempt at a Solution
If: endIndex = 10
startIndex = 0
then midIndex = (10 - 0/2) + 0;
midIndex...
For the first time in my lime I am not able to find home page for well-known and respected western periodical. I am looking for the paper titled «Définition covariante des équilibres thermodynamiques» by J. M. Souriau published in Supp. Nuovo Cimento, 1, I , 4 (1966) pp. 203-216 (given the fact...
Hello all!
I'm preparing to transition out of the military, and will have about 4 courses left on my BS when I do. I think it's about time to start looking at grad schools! (YAY!) However, as I look, the possibilities seem almost overwhelming! My question, therefore, is not about how to...
Why does Google limit its searches with 32 terms? I think other search engines seems to not limit but adding more terms for some reasons such as filtering does not work, for example in Yahoo.
Thank you.
I am on a quest for the most perfect spreadsheet designed to assist with choosing or applying to phd programs. If anyone is in possession of such an artifact, I implore you to bestow it upon me so I may bathe in the light of the knowledge garnered by those who came before. If your wondrous...
Hi, a very basic question: what is a good intuitive way to understand the importance of a reference prior? In the context of a signal search.
Bellow, I also try to give the way I understand the approach in a Bayesian analysis (roughly):
1. You have your likelihood model L = p(x_{obs} | \lambda...
I am very interested in Astrobiology and just came across this 7-year old abstract by Seth Shostak (of SETI):
http://www.sciencedirect.com/science/article/pii/S0094576510002195
There is a lot of emphasis on searching for biological life outside of our solar system, especially with the...
Hello all!
I recently had a few major changes in my thinking about what I want to do with my life.
For awhile, I thought I wanted to pursue my PhD in physics, so I signed up for the GRE and with it I signed up for the GRE Search tool, which I guess is a tool schools can use to find potential...
Say I want to do molecular dynamics simulations on a crystal of a specific substance. I get on Scopus and search for it, say going back a couple of years with the results, and then I also check the references in these papers. How can I be kind of sure that this background research is adequate?
Hello everyone, I have recently developed interest in what I reckoned the most difficult field of Physics- general relativity, I am also desiring to do a PhD in the field. But first I need to write journal articles in this field. I am lost as to what topic to write on, how to write and publish...
Hi everyone. This scenario is not about me, but about someone I know. He had been working as a statistician/consultant but for reasons related to his performance, he ended up being fired from his company recently (if it matters, he had already thought about leaving the company prior to his...
Hi everyone! I'm not sure if it's a good place to post it, but I'd like to ask for your advice on good ways to search for research students (interns, summer scholars, PhDs etc) other than from within my teaching classes or through research collaborators? Established academics often get emails...
Im quite fascinated over how Earth is constantly trying to stabilise itself. What is your most interesting observation or 'happening' about climate change?
From the book - Introduction to special relativity, Robert Resnick, I learned that
it was assumed at that time that speed of light is c in ether frame.
And so, there was a need to find out ether frame.
I am assuming that ether frame is an inertial frame .
Speed of light in vacuum could have...
I'm specifically creating this topic out of concern for career prospects so I'm putting this under the career section. I'm at the stage where I have had my starting job for almost six months since leaving my graduate studies with a M.S in Biomedical Engineering where I'm performing a basic...
I'm reading the 100 years anniversary edition of Sci-am and there is an article called "The Search for Relativity Violations". Some passages perplexed me:
"In the case of relativity violations,
the equations describing the stick and
the applied force are replaced by the
equations of the...
Hello Everyone
I have recently been working at a construction department for my state ( I live in the USA). I have learned so many things from this job, but I am looking for something more related to electronics, programming, or technical consulting.
One of my points mentions creating...
[Mod note: Thread moved from General Discussion forum, so no homework template is shown]
So - I've no idea where to write this but...
I was looking at this post : https://www.physicsforums.com/threads/car-rolling-down-a-hill.302812/
And started to answer it as it was similar to some stuff...
I have two questions over linear and binary serch.
1. Homework Statement
Q1: In binary search, after three comparisons have been made, only ___ of the array will be left to search.
Q2: The maximum number of comparisons that a binary search function will make when searching for a value in a...
I would like to ask you about search of the use of the words in Google or other search engines. For example if I want to search how "explain" and" idea" are getting together, how can I search this?
if I write just explain idea in Google there is one in some results but not another. For example...
Hello PF,
I was wondering how could someone search for a graduate school while being a theoretical physicist (expl : String theorist). I mean someone working in an applied area can search for schools with the best labs or latest technologies but not the Theoretical Physicist.
Thanks.
I have found this link in the google but I cannot find its link in the site so that I can find it's first part.
Would somebody like to help?
http://www.seas.upenn.edu/~ese112/labs/MSDSystemLecturePart%202.pdf
It's a pdf document as you see but how can I find it by entering that website...
Homework Statement
Essentially, I am expected to have a method that can do a keyword search through my hashmap and return respective results. My hashmap is as follows:
HashMap<String, Person> phonebook
The string as a key is generally the name of the entry. A person object has 3 fields(Name...
Homework Statement
public class BinarySearch {
public static boolean search(int[] array, int searchedValue) {
int beginning = 0;
int end = array.length - 1;
while (beginning <= end) {
int middle = (beginning + end) / 2;
if (array[middle] ==...
What happens, if instead of having any pointer pointing to a node's parent, we had pointer pointing to the node's successor? We know, that Searching would remain the same. But in my opinion Insertion and Deletion would change. This would happen, because in insertion, we would be needed to find...
My instructor asked us to create a binary search tree in python that supports variables. i.e. the tree will have variables inside, and the user can get the values for those variables by looking for the name of that variable. I don't really know how to implement this.
What I have so far:
class...
There is (somewhere) a list of equations, formulas, etc. and the corresponding Latex to create them. Allowing one to cut & paste the Latex into posts or replies. Do you know where that list is now? I can't find it. In fact, I don't see the "Search" button anymore... Did we lose the Search...
Hi evryone,
i have started to write an "algorithm" that finds the Family of a given element in a table of 3 columns: Id, Source and Destination. When i say Family i mean each element (i.e. A) from Source that has a relation with another one in Destination and i have to find a family for that new...
So here is the situation, I just got to know a certain person and I was recently notified through my Line that he added me as his friend. I have his phone number but he doesn't have mine. All he has about my contact is my e-mail. However, when making a Line account I was not asked to input my...
here's a link
https://www.sciencedaily.com/releases/2016/08/160808091101.htm
yet another null result for BSM physics
so just in 2016 ...
750 gev diphoton null
lux and panda x null
susy lhc null 13 tev @ 12.9 fb-1 (consistent with previous 8 tev 20 fb-1 null)
sterile neutrino null
so what are...
I have read a great deal of psychology and I have a very strong feel that the explanation of human soul must lie in the neurology and study of brain signals especially in strong emotional states like listening to strong lyrical rap music or being in love.
I want to discuss it here so we can...
I have a program that searches out string types.. Here is what I have so far -
C# language.
if(word.Contains "Hello")
{...}
else
if(word.Contains "Bye")
{...}
else
if(word.Contains "Yes")
{...}
...
I plan to add more and more of those if statements as my program advances. Would organizing...
Homework Statement
Create a linear stack with N binary search trees (data of a tree node is an integer). Read N trees, push them on the stack. Then, empty the stack and store trees in the new array and print the content of the stack.
2. The attempt at a solution
The following code gives...
Hi all,
Cam google web search accepet regular expressions? Especially, I need to search strings with any number between two words, for example: "vehicle runs at XXX km/h".
Thank you
I know a bunch of people who have their own website or blog, including myself. When you search some of the sites’ names, they pop up immediately as the very first link and, for other ones, it just never pops up. I’ve tried to read about this, but I find it hard to understand. How does this work...
Below is just one idea among many bourbon-fueled brainstorms, in which I have searched for a suitable disaster to inflict on my characters. It may be that it's too grandiose to wrangle into a plot - the scenario I am trying to service is this: An alien is faced with this catastrophe (one it...
I found this before out on the interwebs, but alas can't find it today.
How can you print the location of the .ini file that MySQL is using from the MySQL command line??
Thanks,
-Dave
I wonder if I have found the most efficient way of finding any pythagoras triple with a given hypotenuse that has not been published?
My method uses a trial and error search, but with the limits set to minimize the number of trials as follows:
Try odd values X within the limits of int(C^0.5) +1...
I'm looking for an excellent introductory linear algebra textbook for my second year pure mathematics course. My lecturer highly recommended Introduction to Linear Algebra by Marcus and Minc. She said she has searched for it for many years without success, as it is out of print. I love classic...
Hi All,
Just curious about the techniques used by current political candidates to determine potential voters. I can think of many-variable logistic regression, say, age, years of education, goes to church at least once a month (yes/no), etc. Do they use anything else?
Thanks.
Homework Statement
This is the assignment instructions:[/B]
In C++, code a search algorithm that searches a list of strings for a particular song. The searching algorithm will have two inputs: the playlist, which is a string array that contains a list of songs in alphabetical order; and a...
Homework Statement
Hello!
I have just heard in one online lecture that if for example there is a phone book with 4 billion entries (or a data set
with 4 billion entries), then to find one entry (for example, Kim Simth) I need maximum 32 steps.
If the amount of entries is increased by half, ie...
Hello,
I'm investigating the relation of the length and number of turns of a search coil of a fluxmeter (measure magnetic flux). I got to an equation
B= qR/nA
where q is the quantity of charge passed through search coil
R is the combined resistance of search coil and fluxmeter
n is the number...
Hi All,'
I remember there was a site where one could search using math symbols, like > , and Math terms. Anyone know what the name/address of that site is?
Thanks.