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

Another option is the convert to rational function.  ?convert for more help on this.

>convert(.1111,rational,3);

1/9

 

Regards,
Georgios Kokovidis
Dräger Medical

with(LinearAlgebra):

for j from 1 by 1 to 8 do  Eigenvalues(subs(m[i]=ans[j],M)):  end do;

see help pages for Eigenvectors, Eigenvalues

?LinearAlgebra[Eigenvectors]

?LinearAlgebra[Eigenvalues]



 

 

Regards,
Georgios Kokovidis
Dräger Medical

Like this?   Or something else?

Download 221_test2.mws

 

Regards,
Georgios Kokovidis
Dräger Medical

with(VectorCalculus):

s_x:=-y-z:
s_y:=x + a*y:
s_z:=b+z*(x-c):

Jacobian( [s_x,s_y,s_z], [x,y,z] );

 

Regards,
Georgios Kokovidis
Dräger Medical

 

For 1), try this:

pointplot3d(pts,axes=normal, axis[2]=[color=grey], axis[3]=[color=red],thickness=3,font=[HELVETICA,BOLD,11],title="Correlation IC50 REDOX LIPOPHILIE", color=blue,symbol=sphere, labels=["REDOX","IC50","LIPO"]);

You must be using the Standard interface, because with the Classic interface, the symbol=sphere option is not recognized.  The code above works in Standard with v12.

 

Regards,
Georgios Kokovidis
Dräger Medical

>with(plots):
>animate(plot, [A*x^2, x = -4 .. 4], A = -3 .. 3, trace = 5, frames = 50);

I added a multiplication sigh after the "A".  I imaginge it has to do with 1-D vs. 2-D math input.  After the code executes, you have to click into the plot and pres the play button in the toolbar, or right click into the plot, select Animation, and then play.

 

Regards,
Georgios Kokovidis
Dräger Medical

This works for me in Classic Interface, not Standard.  See worksheet below.  Try executing it in Classic and then in Standard.

Download 221_display_precision.mws

 

Regards,
Georgios Kokovidis
Dräger Medical

restart:

with(Student[Calculus1]):

Roots(x^2=sin(x),numeric);

                          [0., .8767262154]

Executing evalf(%) after the solve output (RootOF....) yields and answer of 0.  For solving roots with multiple zero crossings, I prefer the method above.  Of course, you can always plot and use fsolve over a range as well. 

 

Regards,
Georgios Kokovidis
Dräger Medical

Using min directly on L the way you have it defined above will not work.  The following error message is reported.

Error, (in simpl/min) arguments must be of type algebraic

Here is one way to do this using L defined as  L:= { [ a, 34], [ b, 45]....}

x:=convert(L,list);

min(seq(x[i,2],i=1..nops(x)));

This uses the min command, and you mention that this might not be acceptable.  Is that the case?

 

Regards,
Georgios Kokovidis
Dräger Medical

This comes up quite often.   Take a look at this thread.  Is has examples that you can execute and modify for your particular path.

Regards,
Georgios Kokovidis
Dräger Medical

 

Here is a link to Maple's version of what Mathematica is doing online.  I have had limited success. I find it to be too slow.   According to the site, it is still in beta.   You might have better luck with it than I did.  If you have Maple installed, there is not reason to consider using it.  If you do not have Maple installed, then you have options...

 

Regards,
Georgios Kokovidis
Dräger Medical

The attached worksheet, done in an earlier release, is a modified version from this site.  There are other ways to do this, but this one works for me.  You can alter the path info for file location that aligns with your particular system.  This link is from the Maplesoft Application Center.

Download 221_dataio.mws
 

 

Regards,
Georgios Kokovidis
Dräger Medical

The command to use for this is implicitplot.  It is part of the plots package.  Look at the examples in the help files.

?implicitplot

 

Regards,
Georgios Kokovidis
Dräger Medical

I haven't been able to get the first waveform to stay on the plot after the animation finishes.  I changed the frame rate with respect to both, and the same thing happens.  But, now at least the two trajectories plot with different colors.

View 221_throw_animated_plots.mw on MapleNet or Download 221_throw_animated_plots.mw

 

Regards,
Georgios Kokovidis
Dräger Medical

It's the frame rate.  One of your time variables goes from 0.. 5.460601937 while the other one goes from 0..4.066614170.  If you scale the frame rate, then you should see the animation with both curves correctly.  For example, in the second plot, change the frame rate to 67, and then take a look at your final animation.  Does it look more like what you would expect?

 

Regards,
Georgios Kokovidis
Dräger Medical

First 28 29 30 31 32 33 34 Last Page 30 of 75