Plan an experiment to investigate how the mass of an object affects the length of a spring.
A spring has a natural length of 16 cm and can be stretched up to 32 cm.
Write a plan for the experiment, including:
You may draw your own diagram to be able to explain your plan comprehensively
In: Physics
In: Other
A compound contains only carbon, hydrogen, nitrogen, and oxygen. Combustion of 0.157g of the compound produced 0.213g CO2 and 0.0310g of H2O. In another experiment, 0.103g of the compound produced 0.0230g of NH3. What is the emerical formula of the compound? In a seperate experiment, the molar mass is found to be 454.3 g/mol. what is the molecular formula of the compound? hint: assume that all carbon ends up in CO2 and all hydrogen ends up in H2O.Also assume that all nitrogen ends up in the NH3 in the second experiment
In: Chemistry
EXPERIMENT LINEAR AIR TRACK
1)In the experiment to investigate Newton's second law
of motion by using linear air track,explain the function of each
apparatus used,which are air track rail,blower,pressure
tubr,gliders,flag,photogate,string and pulley.
2)Why do we need to measure the length of the flag to
get the accelerationnand why do we use the formula a=2X/t2?.
3)Is there any friction force involves and suggest the ways to improve this experiment
In: Physics
Using DNase footprinting, show that the sigma subunit of prokaryotic RNA Pol binds to nucleotides from -35 to -10 in the promoter region.
a. Outline your experiment and draw and label the data. Explain how your data support this conclusion.
b. Show and label the data for a similar experiment done using DMS footprinting rather than DNase foot printing. Explain how your data support this conclusion. You do NOT have to write out the experiment again.
In: Biology

In the figure below, the switch
is left in position a for a long time interval and is then quickly
thrown to position b. Rank the magnitudes of the voltages across
the four circuit elements a short time thereafter from the largest
to the smallest.
a.ΔV1200 Ω > ΔVL > 12.0 V > ΔV12.0 Ω
b.ΔVL > ΔV1200 Ω > 12.0 V > ΔV12.0 Ω
c.ΔV1200 Ω > ΔVL = 12.0 V > ΔV12.0 Ω
d.ΔV1200 Ω = ΔVL > 12.0 V > ΔV12.0 Ω
In: Physics
1.let {v=(1,2,3,5,9),v2=(3,1,2,8,9),v3=(2,-5,5,9,4)} and {u1=(0,1,1,1,2),u2=(0,2,-2,-2,0)} be basis of subspaces V and U of R5 respectively.find a basis and the dimension of V+U and V intersection U.
2.does a matrix have a right inverse ?if so find one A=[2,-3,-7,11;3,-1,-7,13;1,2,0,2]
3.find the interpolating polynomial that passes through the point (1,2),)(-1,-8) and (2,1)
In: Advanced Math
Calculate E o , E, and ΔG for the following cell reactions
(a) Mg(s) + Sn2+(aq) ⇌ Mg2+(aq) + Sn(s)
where [Mg2+] = 0.035 M and [Sn2+] = 0.040 M
E o = V
E = V
ΔG = kJ
(b) 3Zn(s) + 2Cr3+(aq) ⇌ 3Zn2+(aq) + 2Cr(s)
where [Cr3+] = 0.090 M and [Zn2+] = 0.0085 M
E o = V
E = V
ΔG = kJ
In: Chemistry
(From Hardcover Book, Marsden/Tromba, Vector Calculus, 6th ed., Review Exercises for Chapter 2, # 7)
Use the chain rule to find D ( f ∘ g ) ( − 1 , 2 ) for f ( u , v , w ) = ( v 2 + w 2 , u 3 − v w , u 2 v + w ) and g ( x , y ) = ( 3 x + 2 y , x 3 y , y 2 − x 2 ).
In: Math
INPUT FILE INTO ARRAY. CHECKING FOR COMMAS AND SUCH. HOW TO DO? ****IMPORTANT**** PLEASE READ CAREFULLY ****IMPORTANT****
***GOALS***
HOW TO CHECK FOR COMMAS, TILL THE END OF FILE. IT WILL CHECK THE LINE FOR THE APPRORIATE FORMAT IN THE TEXT FILE. IF THERE IS MISSING A COMMA, IT WILL IGNORE, IF THERE IS A WHITE SPACE, IT WILL CORRECT AND READ LINE, IF IT IS MISSING 1 OF THE 3 INFORMATION, IT WILL IGNORE.
Display candidates’ names using displayList()
function
Execute the getWinner(Candidate[]) function to get the candidate
with the highest number of votes. Display his name along with
number of votes.
Execute the getLast(Candidate[]) function to get the candidate
with the lowest number of votes. Display his name along with number
of votes.
Calculate pScore for each candidate
Sort candidates by votes
Display sorted list using displayList() function
For three records with the highest pScore, use the roundScore
function to round the pScore
Display list again using displayList() function
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?YOU CANNOT CHANGE WHAT IS ALREADY THERE ON THE SKELETON, YOU MAY ADD EXTRA INFORMATION THOUGH:
#include <iostream>
#include <iomanip>
#include <string>
#include <stdlib.H>
#include <fstream>
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