gkokovidis

2370 Reputation

13 Badges

20 years, 291 days
Draeger Medical Systems, Inc.

 

 

Regards,
Georgios Kokovidis
Dräger Medical

MaplePrimes Activity


These are answers submitted by gkokovidis

Assign values at the beginning of your worksheet:

restart:

da:=1; db:=1; fa0:=1;  fa1:=1;  fb0:=1;  fb1:=1;

eq0 :=t1*t6+ua0*(t6+t5)/fa0-t3;
eq1 :=t0*t6+va0*(t6+t5)/fa0-t4;
eq2 :=t1*(t6+da)+ua1*(t6+da+t5)/fa1-t3;
eq3 :=t0*(t6+da)+va1*(t6+da+t5)/fa1-t4;
eq4 :=t0*t7+ub0*(t7+t4)/fb0-t5;
eq5 :=t2*t7+vb0*(t7+t4)/fb0-t3;
eq6 :=t0*(t7+db)+ub1*(t7+db+t4)/fb1-t5;
eq7 :=t2*(t7+db)+vb1*(t7+db+t4)/fb1-t3;
eqns :={eq0=0,eq1=0,eq2=0,eq3=0,eq4=0,eq5=0,eq6=0,eq7=0};

solve(eqns, {t0, t1, t2, t3, t4, t5, t6, t7});

 

Regards,
Georgios Kokovidis
Dräger Medical

 

Page numbers are available in the Classic Worksheet Maple 12, so you can use that instead of the Standard Worksheet if you do not need some of the plot formatting options that are available with the Standard Worksheet interface.

 

Regards,
Georgios Kokovidis
Dräger Medical

Maple 11 supports the older "stats" package as well.  Using the example that Alec provided above:

>with(stats):

>L:=[1,2,3,4,5];

>describe[mean](L);

3

>describe[standarddeviation[1]](L);

1/2*10^(1/2)

 

 

Regards,
Georgios Kokovidis
Dräger Medical

In Maple:

 

>int((x+1)/(x^2-x+1),x);

yields

1/2*ln(x^2-x+1)+3^(1/2)*arctan(1/3*(2*x-1)*3^(1/2))

 

Regards,
Georgios Kokovidis
Dräger Medical

Acer, thank you for looking into this.  I loaded the package last night and tried it with v9.51 and v12.  With v9.51, it worked without having to include the  command - with(plots,display):  Any idea as to why this would be neccessary with v12?

 

Regards,
Georgios Kokovidis
Dräger Medical

I tried using with(plots), and I got the same result, thats why I recommeded contacting the author.  As I mentioned above, it does do the right thing with version 9.51.  So, a question I have is, what changed with the way plot structures are handled with the "newer" versions after 9.51. 

 

Regards,
Georgios Kokovidis
Dräger Medical

This package does not work for me with Maple version 12.  It does work with version 9.51.  I have not tested it with version 10 or 11 because I do not have them loaded on my laptop.  You might want to contact the author of the program and see if was tested with version 12.

 

Regards,
Georgios Kokovidis
Dräger Medical

 

_F1 is an arbitrary function, so the simplest method is to assign the identity mapping for _F1.  This will yield the x^2+y^2 answer that you are looking for.

>restart:

>PDE := x*diff(f(x,y),y)-y*diff(f(x,y),x) = 0;

>ans:=pdsolve(PDE);

>ans2:=eval(ans,_F1=(z->z));

>rhs(ans2);

 

Regards,
Georgios Kokovidis
Dräger Medical

All of the above comments are valid.  I have attached a worksheet that reads a data file with 5 columns of data and plot the 1st column against the rest.  You can modify it for your own data as needed.  

Download 221_ReadPlotData.mws
View file details

The data file looks like this.  It is stored in my C:\temp\Maple directory.  It is called rssi1.dat.

-30 4.019 4.095 4.038 4.003
-35 3.986 4.066 4.008 3.962
-40 3.883 3.937 3.906 3.826
-45 3.640 3.668 3.661 3.548
-50 3.344 3.387 3.375 3.270
-55 3.113 3.184 3.157 3.078
-60 2.940 3.046 3.012 2.945
-65 2.731 2.900 2.874 2.800
-70 2.464 2.720 2.708 2.619
-75 2.202 2.470 2.475 2.373
-80 2.016 2.219 2.221 2.144
-85 1.843 2.033 2.020 1.970
-90 1.602 1.892 1.876 1.826
-95 1.328 1.700 1.704 1.648
-100 1.110 1.442 1.471 1.457
-105 0.946 1.201 1.260 1.354
-110 0.775 1.080 1.113 1.269
-115 0.726 1.016 1.048 1.234
-120 0.694 0.988 1.035 1.226 

Regards,
Georgios Kokovidis
Dräger Medical

 

Look at the help files for the "display" command.  The plots package needs to be loaded in order to use this command.  Also notice that when the plot structure gets assigned to a variable, there is a colon at the end, not a semicolon.  An example below.  You can add your range variables to make it look the way you want it to.

>?display

>restart: with(plots):

>p1:=plot([[-1/(sqrt(3)),0],[5,0]],color=red,thickness=5,legend=["first"]):
>p2:=plot([[-100,0],[-1/(sqrt(3)),0]],color=blue,thickness=5,legend=["second"]):
>p3:=plot([[5,0],[6,0]],color=green,thickness=5,legend=["third"]):

>display(p1,p2,p3);

 

 

Regards,
Georgios Kokovidis
Dräger Medical

Could you post your parametric equations? or upload your worksheet?, as well as the version of Maple that you are using to do this.

 

Regards,
Georgios Kokovidis
Dräger Medical

>restart:

>eq:=(-s^3*t^2+t^2*s+t*(1-s*t-s+s^2*t)^(2/5)*(-1+s*t)^(3/5)*(-1+s)^(3/5)*s+s*t+s-1-t+(1-s*t-s+s^2*t)^(2/5)*(-1+s*t)^(3/5)*(-1+s)^(3/5)*t+(1-s*t-s+s^2*t)^(2/5)*(-1+s*t)^(3/5)*(-1+s)^(3/5));

>simplify(collect(eq,s,factor),symbolic);

 

Regards,
Georgios Kokovidis
Dräger Medical

Take a look at Prof. Mihailovs a.k.a Alec, blog posting.

 

Regards,
Georgios Kokovidis
Dräger Medical

There is an Audio Tools package available with Maple.  I have not used it, but it might be a good place to start if creating sounds with Maple is your objective.  At the command prompt, type the following and hit the enter key.

 ?AudioTools

The application center has some examples as well.  Take a look here.

 

Regards,
Georgios Kokovidis
Dräger Medical

Start with the help files.  Type in the command below and hit the enter key.  Then take a look at the examples.  If you do not have any success, post your equation with the commands that you have tried to solve it.

?dsolve/numeric

 

Regards,
Georgios Kokovidis
Dräger Medical

First 36 37 38 39 40 41 42 Last Page 38 of 75