gkokovidis

2370 Reputation

13 Badges

20 years, 289 days
Draeger Medical Systems, Inc.

 

 

Regards,
Georgios Kokovidis
Dräger Medical

MaplePrimes Activity


These are answers submitted by gkokovidis

Are you just trying to get the closed form solution of (1/(1+x^2)^2), or are you trying to integrate with a range of values for x. The examples below do both. If you would like to do something else, let me know. > restart: > Int(1/(1+x^2)^2,x)=int(1/(1+x^2)^2,x); > int(1/(1+x^2)^2,x=0..infinity); > evalf(%); Regards, Georgios Kokovidis
> restart: > with(PolynomialTools): > s:=4*x*(x^5+1)*(7*x^2-6)*(x^3+2*x^2+9)-7; > ss:=expand(s); > CoefficientList(ss,x); I do not see an x^7 anywhere in the expanded polynomial. Am I missing something? You can also look into the help pages by typing: ?coeff or ?coeffs Regards, Georgios Kokovidis
Try running your code and mine above with the Classic Worksheet Maple 10. It should work every time. I tried my code witht the Maple 10 worksheet and I observed what you said above in your message. I do not know why the behavior is different. I always work with the classic interface, so sometimes the code examples that I post do not always give the observed results that I see on my screen. Hope this helps. Regards, Georgios Kokovidis
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
First 69 70 71 72 73 74 75 Page 71 of 75