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

I am not aware of any command in Maple that will give you a hint as to whether or not an infinite series will converge or not.  There are tests that you can perform that will let you know if it converges or not.  The "limit" command will do this, althogh this is not a test.  You can use the Integral Test to see if a series converges or diverges.  The link below is a pdf that covers limits and series with Maple.  It might be of use to you.

people.stfx.ca/pkeizer/calclabs/m112-lab6/m112lab6series.pdf

 

Regards,
Georgios Kokovidis
Dräger Medical

 

>restart:

>ans:=[seq( exp(-x/2), x=1..20 )];

>evalf(%);

>evalf(ans[20]);

Later Edit:  After seeing Joe Riel's responsefor maple10 code, I realized that all of the questions were the same.  I misunderstood the original question, thus the posting above which only generates a sequence, not iterating the value back.

Regards,
Georgios Kokovidis
Dräger Medical

When I copied the output, I did not highlight the 1/2.  Your answer is correct.

1/2*Pi^(1/2)/q*erf(q*x)

 

Regards,
Georgios Kokovidis
Dräger Medical

>restart:

>Int(exp(-q^2*x^2),x) ;

Int(exp(-q^2*x^2),x)

>value(%);

Pi^(1/2)/q*erf(q*x)

 

Regards,
Georgios Kokovidis
Dräger Medical

Thank you for the correction.  Sometimes I get ahead of myself and do not verify what the code is actually doing. 

 

Regards,
Georgios Kokovidis
Dräger Medical

You did not do anything wrong relative to the animation.  For large values of "t", the numerator wil become very small.  Change your range  for "t" from -200..0 and see what happens.

 

Regards,
Georgios Kokovidis
Dräger Medical

 

The attached worksheet will get you started with Maple with respect to plotting in 3d.  The rest of the exercise is up to you.  For more help on a command, type a ? followed by the command name and hit the enter key.  For example:

>?implicplot3d

will bring up the help pages for the implicitplot3d command.

Your last equation should not be y^2+y^2=1.  It should be y^2+z^2=1.

Download 221_cylinder_intersec.mws
View file details

 

Regards,
Georgios Kokovidis
Dräger Medical

What exactly do you need help with?  Displaying the numeric output in scientific notation?  

Maple 11 Standard Interface allows you to right click on the output, and then select Numeric Formating.  This will show you a scroll bar where you can select Scientific Notation as the format.  

Is this what you were trying to do?  If not, please include more details.

 

Regards,
Georgios Kokovidis
Dräger Medical

There are many people here who know how to do this.  The goal is for you to learn how to do this yourself.  Start by looking at some of the examples in the help pages.  Make an attempt, and show what you did.  If it does not work, show your output with the error messages. Then you will get many more responses to your question.  As it stands, it sounds like you are asking us to do your homework for you. 

In Maple, at the command prompt, type the following

?Optimization

and hit the enter key, or open the help browser and search for the command below.

Optimization

You can cut and paste the examples into your own worksheet, and modifiy them for your particular problem.  After doing that, if you still do not get an answer, show your code.  You will get much more help that way.

 

Regards,
Georgios Kokovidis
Dräger Medical

I'm not getting your error message.  See attached.

Download 221_test_proc.mws
View file details
 

 

Regards,
Georgios Kokovidis
Dräger Medical

Your alias command should be:

 alias(Y(s)=laplace(y(x),x,s));

The sin(2*x)/x is a problem.  See attached worksheet.

Download 221_laplace_method.mws
View file details

 

Regards,
Georgios Kokovidis
Dräger Medical

Given my limited programming skills, this is the best I could come up with.  I imagine this can be wrapped up into a procedure, where the last three digits that you are looking for could be passed as parameters, and then the program would return an index and the value.  If the value for i=0..1600 is too small, then you will not get an answer.

>restart:

>with(combinat, fibonacci):with(StringTools):

>L:=[seq(fibonacci(i), i=0..1600)]:

>for x from 1 to nops(L) do
 S:=seq(convert(L[x],string),x=1..nops(L)):
 x:=x:
 if IsSuffix("999",S[x])=false
 then next
 else print([x-1,S[x]])
 end if:
 end do:

This returns:

[1498, "51760694195699624965877700279869007970850590671591711

64657518623031237517750902794439547902855746842078846137803

57937681295556889276956316403838802325435841449277090817151

13986226779312696536731178557846912346788911001194679380715

74602605517830453621641821877037889276735838200169601187235

601630360049131029846999"]

 

You can verify the answer with:

>fibonacci(1498);

 

Regards,
Georgios Kokovidis
Dräger Medical

You can convert each fib value to a string and test it as you go using StringTools.  It is a brute force approach, but it should work.  Take a look at the help files.

>?StringTools[IsSuffix]

>with(StringTools):

>IsSuffix("999","10999");

                  true

>IsSuffix("999","10998");

                 false

 

Regards,
Georgios Kokovidis
Dräger Medical

You are correct.  You have to narrow the range.   I should have done that after plotting.  It is clear on the plot where the maximum is relative to the t range. 

 

Regards,
Georgios Kokovidis
Dräger Medical

Try the worksheet below.  It was created in Classic 9.52.   I suspect the culprit is TMAX:=fsolve(A=0,t=4..6);  I also cleaned up your function description: Y:={a*t^2*[exp^(-b*t)]*cos(c*t)}/(1+d*sqrt(t)); does not work in Maple. 

Download 221_maximize.mws
View file details

 

Regards,
Georgios Kokovidis
Dräger Medical

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