gkokovidis

2370 Reputation

13 Badges

20 years, 291 days
Draeger Medical Systems, Inc.

 

 

Regards,
Georgios Kokovidis
Dräger Medical

MaplePrimes Activity


These are replies submitted by gkokovidis

The solve command is a very general purpose tool that will give a correct answer, but sometimes, the details of the answer are lacking. For example, solve(sin(x)=0,x) returns 0 as an answer. This is correct, but it is one of an infinite number of solutions. Given a range, Maple will return the answer in that range. The question posted above with respect to solving sin(x)=0 ideally should return something that mentions an infinite number of solutions as the answer. The Student[Calculus1] function Roots will do that. >restart: >with(Student[Calculus1]): >Roots( sin(x),x); Warning, the expression has an infinity of roots, some examples of which are given [-Pi, 0, Pi] >Roots( sin(x),x=-3*Pi..3*Pi); [-3*Pi, -2*Pi, -Pi, 0, Pi, 2*Pi, 3*Pi] Regards, Georgios Kokovidis Dräger Medical
Greetings Doug. Using your code as posted, since you are declaring b as a variable in the original equation, you cannot use it again in your assignment to GenerateMatrix. Maple complains as follows: Error, recursive assignment Changing the lower case b to something else (I used upper case), gives the proper result. >restart: >with( LinearAlgebra ): >EQS := { x + y = a, x - y = b, 2*x + 2*y = c }; >A,B := GenerateMatrix( EQS, [x,y] ); >M := < A | B >; >GaussianElimination( M ); Regards, Georgios Kokovidis Dräger Medical
Maple 10 gives infinity as an answer. Maple 11 gives the answer below: 3/2*I*dilog((-1+I-3^(1/2)+3^(1/2)*I)/(1+I-3^(1/2)+3^(1/2)*I))-3/2*I*dilog((-1-I+3^(1/2)+3^(1/2)*I)/(1-I+3^(1/2)+3^(1/2)*I))-3/2*I*dilog((1+I+3^(1/2)+3^(1/2)*I)/(-1+I+3^(1/2)+3^(1/2)*I))+3/2*I*dilog((1-I-3^(1/2)+3^(1/2)*I)/(-1-I-3^(1/2)+3^(1/2)*I)) Converted to a float it looks like this: .9159655938+0.*I I think you are correct about the bug in Maple 10. It should not be infinity. This seems to have been addressed in Maple 11. Later edit: In Maple 10 you can get the correct answer if you change your limits from 0..1 to 0..1.0 This forces a non symbolic answer which is correct and much faster to compute. >int(3*arctan((-1+x)*x/(-2+x))/x, x = 0 .. 1.0); .9159655942 Regards, Georgios Kokovidis Dräger Medical
>restart: >seq( x, x=1..20,2 ); [1, 3, 5, 7, 9, 11, 13, 15, 17, 19] >seq( x^3, x=1..20,2 ); [1, 27, 125, 343, 729, 1331, 2197, 3375, 4913, 6859] The first seq command just shows the first 10 odd natural numbers. The second seq command raises them to the 3rd power. Is that what you are looking for? Look at the help file for the seq command for more examples. >?seq Regards, Georgios Kokovidis Dräger Medical
With respect to using Maple and the commands available to solve these types of problems, take a look at the help files associated with the combinat package. In order to use these commands, the package needs to be loaded. At the Maple prompt, type the following and hit the enter key to get help and see examples of usage. >?combinat/permute >?combinat/numbperm Regards, Georgios Kokovidis Dräger Medical
You are correct. No simple method exists, similar to what I have on my HP calculator, which I still use for these types of problems. Although, a user can write their own r2p or p2r or any other conversion and have those functions available. Given the long list of functions, it seems odd that these do not exist as built in. Regards, Georgios Kokovidis Dräger Medical
You are correct. No simple method exists, similar to what I have on my HP calculator, which I still use for these types of problems. Although, a user can write their own r2p or p2r or any other conversion and have those functions available. Given the long list of functions, it seems odd that these do not exist as built in. Regards, Georgios Kokovidis Dräger Medical
There are many ways to do this, here is an example. >restart: >with(plots): >triang:=polygonplot([[0,0],[3,3],[0,2]], thickness=2): >a:=textplot([0,0,"A"],align={ABOVE,RIGHT}): >b:=textplot([3,3,"B"],align={ABOVE,RIGHT}): >c:=textplot([0,2,"C"],align={ABOVE,RIGHT}): >display(triang,a,b,c); For more help on each of the above commands, look at the help files for polygonplot and for textplot. At the command line, type a question mark followed by the command and hit the enter key: >?textplot >?polygonplot Regards, Georgios Kokovidis Dräger Medical
I think your links are broken, or at least I can't open them with my browser. You might have forgotten to close the tags after you created them. Regards, Georgios Kokovidis Dräger Medical
Using the function surd, as outlined above by Robert Israel, you can combine it with plot to get what you are looking for: >restart: >plot(surd(x,3),x=-2..2); Regards, Georgios Kokovidis Dräger Medical
This question belongs in a new thread. The negative range has imaginary components when raised to the (1/3), that is why you do not see it. Regards, Georgios Kokovidis Dräger Medical
The following link has code that works for Maple 11. Regards, Georgios Kokovidis Dräger Medical
Curious behavior. It doesn't like the double underscore. A single underscore works. Maybe the double underscore gets treated like an escape sequence. >plot(sin(x),x=-10..10,legend="_never_display_this_legend_entry"); Regards, Georgios Kokovidis Dräger Medical
The site here has a nice computerized version of a slide rule. The scroll wheel on my mouse zooms the display in and out. Not a Maple app, but just as interesting. Regards, Georgios Kokovidis Dräger Medical
Sorry about that. I didn't know how to proceed. Next time I will contact you directly. Regards, Georgios Kokovidis Dräger Medical
First 16 17 18 19 20 21 22 Page 18 of 24