Mariner

662 Reputation

9 Badges

19 years, 231 days

MaplePrimes Activity


These are replies submitted by Mariner

Maple 10.03 on my Windows box has 27 palettes! In addition to those Joe listed, there are Components, Cyrillic, Diacritical Marks, Roman Extended (upper case), Roman Extended (lower case), Accents, Constants & Symbols, and Punctuation. Might be a slight case of overkill… Hope this helps, J. Tarr
Thanks Joe, your post prompted me to look at all the palettes available in the Standard GUI in Document mode, which I seldom use. I am afraid I got it wrong about special characters in that mode. It is possible to improve slightly on your method: open the “Accents
Thanks Joe, your post prompted me to look at all the palettes available in the Standard GUI in Document mode, which I seldom use. I am afraid I got it wrong about special characters in that mode. It is possible to improve slightly on your method: open the “Accents
AFAIK what you want does not exist in Maple, and it would be necessary to write a rather difficult procedure to do it. However, you should be able to build up a library - archive in Maple speak - of procedures that you have written, or downloaded, to do an expanding proportion of your work. The downloadable worksheet for your HP, torque and rpm example may be useful as a template for building your own procedures, though I hasten to add that it could be improved upon. Hope this helps. J. Tarr View 724_Engineering Equations 2.mw on MapleNET or Download 724_Engineering Equations 2.mw
AFAIK what you want does not exist in Maple, and it would be necessary to write a rather difficult procedure to do it. However, you should be able to build up a library - archive in Maple speak - of procedures that you have written, or downloaded, to do an expanding proportion of your work. The downloadable worksheet for your HP, torque and rpm example may be useful as a template for building your own procedures, though I hasten to add that it could be improved upon. Hope this helps. J. Tarr View 724_Engineering Equations 2.mw on MapleNET or Download 724_Engineering Equations 2.mw

> restart;

f := unapply(x^2 + 8*x + 4, x);

Maple Equation

f := D(f);

Maple Equation

f(3);

Maple Equation

f(10);

Maple Equation
Maple Equation

This post generated using the online HTML conversion tool
Download the original worksheet View worksheet on MapleNET

J. Tarr

> restart;

f := unapply(x^2 + 8*x + 4, x);

Maple Equation

f := D(f);

Maple Equation

f(3);

Maple Equation

f(10);

Maple Equation
Maple Equation

This post generated using the online HTML conversion tool
Download the original worksheet View worksheet on MapleNET

J. Tarr
Hello ve2pid, AFAIK Maple has no built in method for producing a second Y-axis. I believe there was some discussion about how to do this on comp.soft-sys.math.maple, within the last 6 - 9 months, but you would have to search for it. If your need could be met by gridlines superimposed on your plot, see ?plot,options and ?plot,axis. Or, if all you want to do is to position the Y-axis at the +ve end of the X-axis, see "location" under ?plot,axis. Hope this helps. J. Tarr
Hello starrsmile, Try map(sin,M) where M is the name of the matrix. See ?map. Hope this helps. J. Tarr
You could use one of the statistics package functions such as Statistics[MovingAverage], stats[transform, moving], or Statistics[MovingStatistic]. Hope this helps. J. Tarr
Inserting the “expand
Hello Jim, Just to add to the fun, try adding an extra command at the end of your Part 3 thus >convert(%,diff); Regards, J. Tarr
On second thoughts, the approximation for the time delay should be made before writing the loop transfer function thus:

> restart;

with(plots):with(inttrans):with(linalg):

G:= 2.5/(8*s^2+6*s+1); # transfer function without time delay

Maple Equation

> td := exp(-1.5*s);

Maple Equation

> td := numapprox:-pade(td,s,[3,3]); # 3rd order approximation

Maple Equation

> Gp := G*td;

Maple Equation

#y:=invlaplace(Gp/s,s,t):#plot(y,t=0..25);

r0:=0.8596719212:ri:=0.1412895895:r1:=1.180386450:Gr:=r0+ri/s+r1*s; #PID controller

Maple Equation

Y:=(Gr*Gp)/(1+Gr*Gp): #closed loopY:=normal(Y):y := invlaplace(Y/s,s,t):plot(y,t=0..20,title="Closed loop step response with PID");

Maple Plot

Maple Equation

This post generated using the online HTML conversion tool
Download the original worksheet

James Tarr
On second thoughts, the approximation for the time delay should be made before writing the loop transfer function thus:

> restart;

with(plots):with(inttrans):with(linalg):

G:= 2.5/(8*s^2+6*s+1); # transfer function without time delay

Maple Equation

> td := exp(-1.5*s);

Maple Equation

> td := numapprox:-pade(td,s,[3,3]); # 3rd order approximation

Maple Equation

> Gp := G*td;

Maple Equation

#y:=invlaplace(Gp/s,s,t):#plot(y,t=0..25);

r0:=0.8596719212:ri:=0.1412895895:r1:=1.180386450:Gr:=r0+ri/s+r1*s; #PID controller

Maple Equation

Y:=(Gr*Gp)/(1+Gr*Gp): #closed loopY:=normal(Y):y := invlaplace(Y/s,s,t):plot(y,t=0..20,title="Closed loop step response with PID");

Maple Plot

Maple Equation

This post generated using the online HTML conversion tool
Download the original worksheet

James Tarr
May I suggest that you try an approximation for Y before attempting the inverse Laplace transformation? See ?Pade. Or, you could approximate the time lag as exp(-Ts) = 1 - Ts, or 1/(Ts + 1). This worked for me Y := numapprox:-pade(Y,s=1.5,[3,3]); Hope this helps. J. Tarr
First 15 16 17 18 Page 17 of 18