Hello,
I am having trouble with posing an integration for the following function, wrt z.
u:= sin (theta) * ((s^2 + z^2)/2 +h*z)
I want to be able to change the values of h, s, and theta.
I would like to integrate u, wrt z, from s to h.
I have tried the basics, such as....
int(u, z) and
int(u, z=s..h)
I get the integrand symbol and a general setup but I am not posing it clearly enough to get Maple to perform the integration.
Thanks for any help you can offer.
PS: I am obviously a beginner. I can perform these calculations by hand considerably quicker than the absurd amount of time I am spending trying to learn Maple, but I am no good to my students if I can't master this software myself. So to this end, does anyone know a good book, filled with examples and clear explanations, regarding Maple? I find the help files simplistic and rather cryptic. I would say, "its Greek to me", but I studied ancient Latin and Greek for 6 years and it makes considerably more sense than the Maple Help files. Each time I resort to the Help files, I find my blood pressure rising and my IQ dropping. Any suggestions would be greatly apprecieated.
Worked OK for me
Worked OK for me,
int(u,z); 2 3 2 sin(theta) (1/2 s z + 1/6 z + 1/2 h z ) int(u,z=s..h); 3 3 2 2 1/6 sin(theta) (h - s ) + 1/2 sin(theta) h (h - s ) 2 + 1/2 sin(theta) s (h - s) simplify(%); 3 3 2/3 sin(theta) (h - s )Alec
PS The standard reference recommendation is the manuals that come with Maple and available for downloading from Maplesoft Documentation Center. -Alec
different answer?
Alec,
Thanks for your quick reply. I don't understand why it doesn't work for me.
for some reason, I can't paste the command line or result from this laptop. I typed it EXACTLY as you did but got back the integration symbol with the original equation.
Groshong
Classic Maple or Standard?
I did it in Classic Maple. Copying and pasting should work there. The important thing is that the first letter in int should be small (i.e. not Int). Also, you might try to restart (i.e type restart; ) before assigning u and doing the integrals in case if some of the variables were assigned.
Alec
Clearly, explorer on this
Clearly, explorer on this laptop has major issues with my copy/paste. I opened Maple Classic and attempted the same command and still did not get the same answer you got. I can type in u, then I typed int(u,z), and the return was the integral symbol and the original u, dz.
Groshong
assigning
It may happen if you used = sign in the definition of u, instead of := .
Or, it may be a different Maple version - I did that in Maple 12.
Alec
This copy problem is
This copy problem is frustrating. I can copy & paste into word and it shows fine there, but when I try the Word paste icon above all it gives is the command lines not the results.
> u := sin(theta)*[(1/2*(s^2-z^2)+h*z-(h*s))];
>
> int(u,z);
Is it possible that this Vista machine and Maple are not friends? I am going to go run the same command on my desktop pc with XP and see if it works.
Groshong
may be you could upload your 'problem file'
may be you could upload your 'problem file' (and use restart; interface(version); as first commands, so one can see, what you are using)?
Square brackets
There should be usual round parentheses instead of the square brackets in the definition of u. Maple is using square brackets for lists.
Alec
finally integrating, Maple & vista are not friends!
Hi Alec,
I am logged in on my XP desktop and Maple is running properly, although the copy/paste function isn't working properly. After 3 minutes and 42 seconds, it finally pasted garbage. At least I know two things, 1 - I was using the int() command properly but Maple and Vista are not friends, 2- copy & paste isn't working.
Groshong
Maple and Vista
From my computer with 64-bit Vista I access remotely another computer with 32-bit Vista and with Maple, and everything seems to be working OK.
Edit: Just reread what I wrote... Well, OK in the sense that it works as it was designed - not in the sense that is OK how it works.
Alec
version?
I am running Maple 10. Are you running Maple 12 on your Vista machine?
Groshong
Maple 10
Maple 10 was not designed for Vista. You should check - there might be an update for a version compatible with Vista.
I have Maple 10 disks somewhere - just don't know exactly where. I thought about installing them - but while I can access a server with Maple, it is not that necessary.
Alec
thanks
All right,
I am out of here. Thanks for all your help. Enjoy your weekend.
Groshong