A group of students perform the same "Conservation of Mechanical Energy" experiment that you performed in lab by allowing a solid sphere and then a solid cylinder to roll down the ramp. Both objects were released from the same position at the top of the ramp. If the speed vsphere of the solid sphere at the bottom of the ramp was 1.25 m/s, what would be the speed vcylinder at the bottom of the ramp?
In: Physics
In: Math
Computational Intelligence Methods
ii) Describe the process that has been followed to implement a Multi-layer Perceptron for handwritten digit recognition as presented in the lecture (the code is included in the accompanying Jupyter Notebook ipynb file). Experiment by changing the network's architecture (number of neurons in hidden layer and number of hidden layers) and comment on how the accuracy of the network is affected by these changes.
In: Computer Science
Please answer this question by typing. The answer should be one page A4.
In: Other
Propose a research study on the effects of warming climate and resulting advancing treeline. Assume that your hypothesis is that a bird's growth and reproduction will be negatively affected by the advancing treeline. The bird resides in one forest and flies at high elevations. What is an experiment that could take place? List the research design and methods. What are the materials, replicates for treatments, sampling and measurement procedures?
In: Biology
Drug money extract in the 5.0 mL methanol containing cocaine gave a signal of 4.27 mV in a GC-FID experiment. Then 500 L of 20.0 ppm cocaine were added to the 5.0 mL methanolic extract. This spiked solution sample gave a signal of 7.98 mV. Find the concentration of cocaine in the original extract, in ppm, in mol/L, in g.
In: Chemistry
INPUT FILE INTO ARRAY. CHECKING FOR COMMAS AND SUCH. ***DO NOT REPLY ANUNAGA.***
HOW TO DO?
*****IMPORTANT******* PLEASE READ CAREFULLY. WE HAVE TO DO WHAT THIS ASSIGNMENT DOES OR WE WILL MARKED OFF POINTS. IT DOES NOT HELP WHEN YOU CHANGE THE SKELETON TO YOU'RE PREFERENCE. YOU CAN ADD TO IT, BUT NOT CHANGE WHAT IS ALREADY THERE. THIS IS FOR A BASIC C++ LEVEL CLASS SO WE HAVE TO STICK TO BASIC C++ CODE. HOWEVER IT COULD BE WRONG IN TERMS OF WORKING CONDITIONS SO PLEASE HELP FIX THESE. *IMPORTANT*
Input format for each line:
F=firstname,L=lastname,V=votes.
Read only valid lines into the array
void readFile(Candidate candidates[]) – reads the elections.txt file, fills the candidates[] array. Hint: use substr() and find() functions. Set Score to 0.
void List(Candidate candidates[]) – prints the array of Candidate
structs. One candidate per one line, include all fields. Use setw()
to display nice looking list.
void displayCandidate(Candidate candidates[]) – prints the complete
information about the candidate
.
Candidate First(Candidate candidates[]) – returns single struct
element: candidate with highest score
Candidate Last(Candidate candidates[]) – returns single struct
element: candidate with lowest score
void Votes(Candidate candidates[]) – function sorts the
candidates[] array by number of votes, the order in candidates[]
array is replaced
void Scores(Candidate candidates[]) – calculates the percentage
score for each candidate. Use the following formula:
??????=(CandidateVotes)/(sum of votes)*100%
Correct line for the reference: F=John,L=Smith,V=3342
The line errors that your program needs to detect, are as follows:
incorrect token / separator, example in line 5: F=Steven,L=JohnV=4429 --- (comma missing) – lines with this error need to be ignored
space in token, example in line 3: F=Hillary,X=Clinton, V=1622 --- lines with this error need to be read, error fixed, data included in your dataset
empty line, example in line 6 – empty lines need to be ignored
Example Textfile
F=Michael,L=John,V=3342
F=Danny,L=Red,V=2003
F=Hillary,L=Clinton, V=1588
F=Albert,L=Lee,V=5332
F=Steven,L=JohnV=4429
*IMPORTANT* How would I do the readFile function? It says to check if the commas are present, and that the program will correct the line if there is white spaces. How do i use the find() function? Please be DETAILED in explanations of each part of code. Beginner Coder. *IMPORTANT*
Code Skeleton We HAVE to follow. How Would i go about using this skeleton? IT IS A SKELETON, WHICH MEANS MORE VARIABLES AND SUCH CAN BE ADDED:
#include
#include
#include
#include
#include
using namespace std;
struct Candidate {
string Fname;
string Lname;
int votes;
double Score;
};
const int MAX_SIZE = 100;
void readFile(Candidate[]);
void List(Candidate[]);
void Votes(Candidate[]);
void displayCandidate(Candidate);
Candidate First(Candidate[]);
Candidate Last(Candidate[]);
void Scores(Candidate[]);
int main() {
}
void readFile(Candidate candidates[]) {
string line;
ifstream infile;
infile.open("elections.txt");
while (!infile.eof()) {
getline(infile,line);
// your code here
}
infile.close();
}
void List(Candidate candidates[]) {
}
void Votes(Candidate candidates[]) {
}
void displayCandidate(Candidate candidates) {
}
Candidate First(Candidate candidates[]) {
}
Candidate Last(Candidate candidates[]) {
}
void Scores(Candidate candidates[]) {
}
In: Computer Science
1. If you want to invest in a particular stock, name key information you would seek out prior to making your investment.
2. Name some ways that top management might manipulate the financial statements of the business, to ensure that the year-end profitability looks good, thus attracts a big bonus for themselves.
In: Finance
1. What are the contents of culturing media? What are the types of culturing media?
2. Define the following terms: inoculum/sample, broth, culture, colonies, fastidious bacteria, agar, slants.
3. Name of selective, differential , selective and differential media along with the name of bacteria.
4. What happen to alpha, beta and gamma hemolysis?
In: Biology
What is the diagnostic procedure for glucose tolerance?
ACTIVE LEARNING TEMPLATE:Diagnostic Procedure
STUDENT NAME _____________________________________
PROCEDURE NAME ____________________________________________________________________ REVIEW MODULE CHAPTER ___________
|
Description of Procedure |
|
Indications |
|
Interpretation of Findings. |
|
CONSIDERATIONS |
|
Nursing Interventions (pre, intra, post) |
|
Potential Complications. |
|
Client Education |
|
Nursing Interventions. |
ACTIVE LEARNING TEMPLATES TherapeuTic procedure A3
In: Nursing