Homework Statement
I hope someone can help me with this integral. It is really an improper integral, but I cannot figure out how to do the indefinite integral on it:
integral[e1/x/x3].
Any help would be appreciated, thanks.
Homework Equations
?
The Attempt at a Solution
I...
I will most certainly ask for clarification next time to know exactly how robust the program must be and what exceptions we are expected to cover. I just wish that when generalizing the problem is such a big part of the grade it would be specifically stated on the problem assignment.
You are right story645, it doesn't count all that much in the grand scheme. It is just about the consistency of his grading with respect to different students.
Besides, the problem also asked to create a method, pass the string to the method as an argument, return the new fixed string and...
Thank you Borg. No, we had not covered this in class, nor was there any homework on manipulating a string. The closest thing we had done was using string methods to find the index of a certain character, which does relate to this, but we did not use this in correlation with a loop, and after we...
The advice on the parenthesis is good, I see how I can get that to work now. It was just one problem, but I don't think that forgetting to generalize a problem on a short exam should give you a WAY below failing grade. It seems like everyone here thinks it was a fair grade though, so I'll just...
I doesn't handle parenthesis either, I don't know how I could incorporate that into the program because the parenthesis could be in the middle or at the end of a sentence. I did just follow the given example, I wish now that I had asked him during the exam.
In a homework setting I would have...
Thank you for your answer. It sounds like you got a much worse deal, docking that much for comments sounds absurd to me.
We had 25 minutes to finish the problem, and it is an intro comp. sci. class. I didn't even consider the other cases where the sentence doesn't end with periods because...
On a recent java exam we had a problem that asked to capitalize the first word in each sentence a user entered, and echo back the new string. The example that was given was this:
good morning. this is a good day. are you ready for the exam?
-------> Good morning. This is a good day. Are...
So whenever they say "electrons" I need to use them? That makes sense, I figured the electrons were being emitted as photons so I thought of them as photons.
Thank you for your help, I see why I got the wrong answer on a couple of other problems now too:smile:
Homework Statement
An electron microscope employs a beam of electrons to obtain an image of an object. What energy must be imparted to each electron of the beam to obtain a wavelength of 10.0pm?
Homework Equations
1. E = hv=hc/lambda
2. lambda = h/(mv)
3. KE = .5mv^2
The...
Homework Statement
What is the relationship between the total mass and the acceleration of an Atwood’s machine?
The Attempt at a Solution
I have a graph from the lab, but the regression value for the best fit line is very poor, so it is difficult to tell much from the values. I can see...
Homework Statement
A train is traveling up a 3.73 degrees incline at a speed of 3.25 m/s when the last car breaks free and begins to coast without friction.
a) How long does it take for the last car to come to rest momentarily?
b) How far did the last car travel before momentarily coming to...