Re: Limits in integration
- To: mathgroup at yoda.physics.unc.edu
- Subject: Re: Limits in integration
- From: Jim Kinnison <jdk at aplcomm.jhuapl.edu>
- Date: Tue, 25 Feb 92 08:03:52 -0500
Hi:
Dave Kirby writes
>> Does anyone know how I can perform many integrations over the same
>> limits, without having to type in the limits again and again. I tried to
>> substitute the limits for a text string s, but as can be seen below, it
>> doesn't work.
Try just defining two variables, say s1 and s2, and using those in Integrate.
You don't get the simple expression you were trying for, but something near
it,
In[1]:= s1={x, 0, a}; s2={y, 0, b}
...
In[2]:= Integrate[ x y, s1, s2]
...
Jim Kinnison
The Johns Hopkins Unviersity
Applied Physics Lab
jdk at aplcomm.jhuapl.edu