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

No updates prior to v9 on the Maplesoft web site.  You could contact customer service, and they might send you one, based on the serial number of your v5 installation disks. Maybe someone has a local update copy sitting in an archive somewhere.  I threw all my older stuff out.  The oldest version I have is 9.52.  Good luck.  Let us know how you make out. 

 

Regards,
Georgios Kokovidis
Dräger Medical

It was easier for me to modify the code to make it plot.  See below.

>restart;
>balance := (n, r, p, b)->b*(1+r)^n - p * sum((1+r)^i,i=1..n):
>ans:=solve(balance(n, r, p, b) = 0, n);

>r:=0.02:b:=1000:
>plot(ans,p=0..50);
 

 

Regards,
Georgios Kokovidis
Dräger Medical

1:  You can upload your worksheet, as you said.

2:  You can export your worksheet to a text file, then cut and paste the Maple commands from the text file into the message box.

 

Regards,
Georgios Kokovidis
Dräger Medical

I have attached a worksheet.  As I mentioned before, this does not work in the Classic Interface.  You must use the GUI interface.  The file below was created with version Maple version 12.

View 221_legendstyle.mw on MapleNet or Download 221_legendstyle.mw
View file details
 

 

Regards,
Georgios Kokovidis
Dräger Medical

>restart:

>G:=sin(x):

> plot(G,x=0..2*Pi, title="Simple Trig Function", legend=["Sine of x"]);

The code above is for the Classic Interface.  The GUI interface gives you more control over plot options.  Some features only work in the GUI interface, and not the Classic.  I have not tried this with Maple 12.  The above is for version 9.5.

 

Regards,
Georgios Kokovidis
Dräger Medical

Thank you for the correction, sometimes what I see and what I type are not aligned.  I need to copy and paste instead of transcribing. 

 

Regards,
Georgios Kokovidis
Dräger Medical

The relationship between a polar equation r and parametric equations is that x = r cos(θ) and y = r sin(θ).

>restart:

>with(plots):

>polarplot([sin(2*theta),theta,theta=0..2*Pi]);

or

>r1:=sin(2*theta);
>x1:=r1*sin(theta);
>y1:=r1*cos(theta);
>plot([x1,y1,theta=0..2*Pi]);

Regards,
Georgios Kokovidis
Dräger Medical

If you are just getting started, stick with 1-D.  It makes more sense and you will make fewer mistakes.

It looks like there is a problem with the 2-D math parser.  You are right about the 1-D working and the 2-D not working.  You should get the same result either way.  I tried your worksheet in Maple 9.5 as well, by exporting from a Maple12 worksheet to Maple text and then running the exported file with Maple v9.5.  I got the same results as Maple v12 1-D mode.  You might want to file a bug report and send in a copy of your worksheet with 1-D math and a copy with 2-D math that illustrates the difference.

 

Regards,
Georgios Kokovidis
Dräger Medical

Post your worksheet, instead of a .jpg image of the equations.  That way we can execute it directly in Maple and try to help you. 

 

Regards,
Georgios Kokovidis
Dräger Medical

What version of Maple are you using.  When I posted before, I was looking at the help files for Maple 9.5, which I had loaded on my laptop. The jacobian was not an option for the rosenbrock solver.   I just loaded V12 on my laptop, and noticed the following in the dsolve,numeric,rosenbrock help pages.  See the options below.  The one of interest is highlighted.  Hope this is what you are looking for.  I have not checked to see if this is available in V10 or V11 of Maple.

Options
The following options are available for the rosenbrock method.
  'output'        =   keyword or array     
  'known'         =   name or list of names
  'abserr'        =   numeric              
  'relerr'        =   numeric              
  'initstep'      =   numeric              
  'maxfun'        =   integer              
  'number'        =   integer              
  'procedure'     =   procedure            
  'jacobian'      =   procedure            
  'start'         =   numeric              
  'initial'       =   array                
  'procvars'      =   list                 
  'startinit'     =   boolean              
  'implicit'      =   boolean              
  'optimize'      =   boolean              
  'range'         =   numeric..numeric     
  'events'        =   list                 
  'event_pre'     =   keyword              
  'event_maxiter' =   integer              
  'complex'       =   boolean    
 

 

Regards,
Georgios Kokovidis
Dräger Medical

Maple has a list of various "numerical" solvers that is can call for solving ODE's. As you are aware, one must call dsolve with the numeric option, and then specify the solver.  The rosenbrock option uses a 3rd-4th order Runge-Kutta method.   

You might want to try method=lsode[options].  See the help file:

>?dsolve[lsode]

or

>?dsolve[lsode,advanced]

 

Regards,
Georgios Kokovidis
Dräger Medical

See attached.  Answer is in polar coordinates.  

Download 221_polar_intersect.mws
View file details
 

 

Regards,
Georgios Kokovidis
Dräger Medical

>showstat(function_name);

will display the Maple code used for any particular function that is built in and written in the Maple language.

For example:

>showstat(Student[MultivariateCalculus][LagrangeMultipliers] );

will display the code that Maple uses when you call the function LagrangeMultipliers which is part of the Student/MultivariateCalculus package.

Regards,
Georgios Kokovidis
Dräger Medical

Save your worksheet.  Then click  the "Green Arrow" above the field where you enter your comments, to navigate to your file and attach it. 

 

Regards,
Georgios Kokovidis
Dräger Medical

I'm not a Mac user, but I remember this coming up before in another forum.  This is for a PowerPC based Mac.

na2.salesforce.com/_ui/selfservice/pkb/PublicKnowledgeSolution/d

 

Regards,
Georgios Kokovidis
Dräger Medical

First 44 45 46 47 48 49 50 Last Page 46 of 75