I'm having trouble with printing out an error with cerr in the main function when there's an error in another function.
Example:
int main (){
//body
//statements
function (//parameters);
cerr<<"there's a problem"<<endl;
}
int function (//parameters){
if a < b
return -1;
else...
Homework Statement
I'm confused about a certain aspect of shell method, washer method, and disk method. If I want to rotate using the washer method about the x-axis how do I get the new limits of integration?
For example: y = 9-x2 over [0,3] about x-axis.
I solved for x and got: x =...
I went by what PeterO and Delphi51 said Correct me if I'm wrong with any steps:
Btime: 0 = 20.02 m/s + (-3.048 m/s^s)t
Btime = 6.56 s
delta x = 20.02 m/s (6.56 s) + (-3.048 m/s^s)(6.56s ^2)
= 65.75 m
for A:
delta x = 20.02 m/s (.75 s) + (0)(.75s^2)
deltax = 15 m
time: 0 = 20.02 m/s +...
Alright I did all the exact numbers and I got 4.03 meters. Thanks for the help everyone!
Edit: I'll go change my numbers and then get the right amount.
EditEdit: I ignored using:
vfx = vix + axt for Car B:
20 + (-3.04)(.75), so it should still be right.
I think I was mixed up originally...
If I were to set it up this way I'm not exactly sure what I'm supposed to be finding.
I solved
vfx = vix + axt for Car B:
20 + (-3.04)(.75) = 17.714 m/s but I'm not sure why I did this if that makes sense. I thought the final velocity would be 0 for car B because it's fully braked in the...
The way I was setting everything up was that t = .75 is the time it takes for Car B to decelerate. Maybe that's where I'm confused and I even drew everything out. But I thought in the .75 seconds it took for Car A to eventually start decelerating, Car B was decelerating and at the end of .75...
Homework Statement
Car A is traveling a distance d behind Car B. Initically both cars are traveling at the same speed of 20.02 m/s. Suddenly Car B applies the brakes, causing Car B to decelerate at 3.05 m/s2. It takes the driver of Car A 0.75 seconds to react, and when she applies her brakes...