I’m a complete Maple noob, but I didn’t think that I was this noobish.
Alls that I want to do is integrate a function from -10 to some number t, and then solve it for t.
Well, fine, might as well tell you the whole story since I’ve gone this far. Guy has a cylindrical gas tank, which is 10 feet in radius, and length doesn’t matter. This tank is on its side. If you were to stick a stick straight down the top of it, and the tank’s full, you’ll see 20 feet of wet stick when you pull it out. If it’s half full, you’ll see 10 feet of wet stick. My task is to figure out how much of the stick is wet when the tank is 1/4 and 3/4 full.
So I look at the cross-sectional area, and look only at the top half of the circle, so I can express my equation in terms of y (y=sqrt(100-x^2)), multiplied by 2 because I am looking at a semicircle. I am assuming that this is correct, but I can’t get maple to do my definite integral.
So, I can do this
int(sqrt(100-x^2),x); and it works fine.
It goes insane when I tell it to do a definite integral, like
int(sqrt(100-x^2),x,x=1…2);
it goes nuts and tells me
Error, (in int/check_syntax) Illegal argument x = 1 … 2
See, what I really want to do is something like
solve(12.5*Pi=int(sqrt(100-x^2),x,x=-10…t),t);
Nothing. It just goes to the next line and doesn’t output ANYTHING, just like when I tried the syntax I described above. The school computer labs have Maple 9 on them, and I’ll be able to use them tomorrow. My “after-hours” access to the lab closes at 10pm, and I missed my window tonight (barely). I can do that tomorrow morning, I just want to get it done tonight because what if I can’t get it done in the hour or so I’ll have tomorrow morning? :eek:
Not even an error message? Wow. I’m sorry, I don’t know what to tell you And yes, it even checks out in 7. If it was giving you an expression for the integral, my next suggestion would have been to try fsolve instead of solve (since I’m getting a floating point solution, not exact). Without the expression … hmmm, you said it would give you an expression for the indefinite integral
int(sqrt(100-x^2),x);
OK? How determined are you to get it done tonight? I can think of one sort of ugly workaround that might do it … or not.