gkokovidis

2335 Reputation

13 Badges

20 years, 299 days
Draeger Medical Systems, Inc.

 

 

Regards,
Georgios Kokovidis
Dräger Medical

MaplePrimes Activity


These are answers submitted by gkokovidis

Here is one way of doing this. There are many others. > restart: > a:=(seq(combinat[fibonacci](i),i=1..19)); > s:=[a]; > map(isprime,s); The above prints out the first 19 fib numbers and then tests each one to see if it is prime. ?isprime and ?fibonacci for more help on each of these functions. Regards, Georgios Kokovidis
Using the classic interface version 10.5, when I exectute the following: > factor(r^4 +10*r^2 +9*r); I get the this as an answer: r*(r^3+10*r+9) I am assuming you are using Maple 10 without the classic interface. If this is the case, check to make sure you are using Math-2D input. Regards, Georgios Kokovidis
To get started with your expression so that it works out, first make sure you use the * to indicate multiplication for everything. Maple will not understand that a,b and c are multipliers. Then look into the commands "expand", and "subs" by using the help pages or directly from the command line. > a*(1/2*e+1/2*f)^3+b*(1/2*e+1/2*f)^2+c*(1/2*e+1/2*f)+d; > expand(%); The above will expand the expression. If you multiply it by 8 after it is expanded you can get rid of all the denominators. Once expanded you can make substitutions into the expression. You can use this as your starting point for the rest of your problem. Regards, Georgios Kokovidis
Check out the link below. http://www.math.northwestern.edu/~mlerma/software/days Credit for this belongs to Miguel Angel Lerma. Good luck with your class.
Greetings. Try posting your question to the forum on the link below. This forum here is for Maple related questions. If you have a Matlab specific question with Matlab code, you would be better off posting to a Matlab specific user group. http://newsreader.mathworks.com The above user group is hosted by the Mathworks, the makers of Matlab. Good luck.
> with(plots): > semilogplot(log[10](x),x=1..1000); ?semilogplot for more help. Regards, Georgios Kokovidis
Below I used the solve example from the help file. Depending on how you ask for the solution, Maple will output the answer the way you describe above (non ordered), or in any order you want. > a:=3.2*b1 + 1.3*b2 + 4.2*b3 = 5; > b:=8.7*b1 + 19*b2 + 11.2*b3 = 94; > c:=b1 + b2/4 + b3 = 1; > sols:=solve({a,b,c}); sols := {b1 = .4969502408, b3 = -.7939004815, b2 = 5.187800963} Above, the answer is not ordered. > sols:=solve({a,b,c},[b3,b2,b1]); sols := [[b3 = -0.7939004815, b2 = 5.187800963, b1 = 0.4969502408]] This time, I asked for the answer in descending order of b3,b2,b1. You can specify this yourself. Regards, Georgios Kokovidis
For a step to step description of how and why a series will converge or diverge, try Maple10 built in tutors. Using Maple10 (not the Classic Interface), Click on Tools, then Tutors, then Calculus-Single Variable, then Limit Methods... Enter your functions at the top and then you can get a hint or go to the next step to see how you can view all the steps taken to get to an answer. //Georgios
Look at the help command for "limit". > ?limit As an example, the first two lines of your question would be entered as follows: > limit((2^n)/(n^2),n=infinity); > limit((n!)^(2)/(2*n)!,n=infinity); Looking at your original statements, your must explicitly tell Maple to multiply. 2*n is not the same as 2n. You must use the asterisk to multiply. Using the above, you should be able to complete the rest of your problems. Regards, Georgios Kokovidis
> restart: > with(LinearAlgebra): > A := Matrix( [[1,2],[1,3]] ); > b := Vector( [1,-2]); > LinearSolve(A, b); ?LinearSolve for more help. You can also solve simultaneous equations using the "solve" command. See ?solve for more help on that. Regards, Georgios Kokovidis
> A := array( [[1.50,2.02,3.04],[2.07,3.40,5.6214]]); > writedata("c:/temp/array.dat",A,float); The above line writes float data to the filename array.dat in the C: emp folder of my Win machine. You can open this with any text editor. Depending on your data structure, you might have to convert from one format to another if the above example does not work for your data. Give it a try. Type ?writedata to see more options for this command. Regards, Georgios Kokovidis
At the maple command prompt, type ?series This will bring up the help page with the series command. At the bottom of the help page there are examples that you can use. Regards, Georgios Kokovidis
I am using Version 10.04 on a WinXP machine, with the Classis User interface. I also tried it with the "non Classic" user interface. ?Optimization or ?LSSolve both of these commands bring up the help page, using the classic user interface. LSSolve can also be accessed as a link under the Optimization help menu. Using the "non classis" UI, it depends on what you have your input style set to. Mine was set to 2D math, and the help commands seemed to work just fine. Hope this helps. Regards, Georgios Kokovidis
It seems that the "GetElement" command is returning a set of values in Atomic Units. They tell you this although it is not clear what exactly "units=u" means. Your calculations are returning a value in SI units. Check to see what you are set to as far as returning default units with the "GetUnit" command. Then you can convert from atomic to anything else to be consistent with whatever units that you are using in your worksheet. > restart: > with(ScientificConstants):with(Units): > GetElement(sodium,symbol,density,atomicweight); > Element(Na,atomicweight); > evalf(%); > convert(%, units,kg,amu); Regards, Georgios Kokovidis
Try this, and remember that in Maple, you want to use Pi (Capital P) instead of pi (Lower case p). > restart: > a:=cos(alpha[1])+cos(alpha[2])+cos(alpha[3])=3*Pi/4; > b:=cos(5*alpha[1])+cos(5*alpha[2])+cos(5*alpha[3])=0; > c:=cos(7*alpha[1])+cos(7*alpha[2])+cos(7*alpha[3])=0; > fsolve({a,b,c}); Regards, Georgios Kokovidis
First 69 70 71 72 73 74 75 Page 71 of 75