gkokovidis

2370 Reputation

13 Badges

20 years, 287 days
Draeger Medical Systems, Inc.

 

 

Regards,
Georgios Kokovidis
Dräger Medical

MaplePrimes Activity


These are answers submitted by gkokovidis

> restart: > fx:=(5*x^4+16*x^3-24*x^2); > rx:=factor(fx); > rx; Regards, Georgios Kokovidis
The following works also. > plot([[-2,-4],[1,3],[2,-2],[-2,-4]]); Notice that the start point and end point are the same here. Regards, Georgios Kokovidis
One way to do this is below. There are others. Check out the main Maple site, and navigate over to the application center: http://www.maplesoft.com/applications/index.aspx There you will find many example worksheets to help you along. > fy := diff(x^2-1,x); fy := 2 x > fmin:=fsolve(fy,x,-2..2); fmin := 0. > eval(x^2-1,x=fmin); -1. Regards, Georgios Kokovidis
> restart: > with(plots): > a:=readdata("C:\\temp\\3dfile.txt",3); > pointplot3d(a,axes=normal,symbol=box); This assumes your data file is in temp directory and it is called 3dfile.txt. Regards, Georgios Kokovidis
Greetings. I think you might be in the wrong place for Matlab specific questions, unless they are related to the interface and usage of Matlab within the Maple environment. With all that said, "grad" is not a built in Matlab function or an external m-file that can be called. "grad" is also not a function included in the book that you are referring to, assuming it is the text by Mathews, 3rd or 4th edition. On the other hand, "grads.m" is a function in the book, and that might be what is missing. Change the call from grad to grads with all of the parameters, and make sure that grads.m is in your working directory. If you do not have the file grads.m, you can get it from the web. Good luck. Georgios Kokovidis
Your problem below with assumed variables, and below that without assumed variables. The result is the same. The tilde tells you that the variables A and m have some assumptions attached to them. This does not change their names internally. The tilde can be turned off, using interface(showassumed=0). By default it is set to 1. > assume(A>0,m>0); > a:=m*diff(y(t),t,t)=-m*g+sigma*A*diff(y(t),t); > y(0)=h,D(y)(0)=0; > dsolve(a); > subs( {A=2,m=50},rhs((a)) ); > restart: > a:=m*diff(y(t),t,t)=-m*g+sigma*A*diff(y(t),t); > y(0)=h,D(y)(0)=0; > dsolve(a); > subs( {A=2,m=50},rhs((a)) ); Regards, Georgios Kokovidis Dräger Medical
> restart: > plot(5*sin(x)-3*x^2+5,x=-1..2); > fsolve(5*sin(x)-3*x^2+5=0,x=-1..0); -0.7382485252 > fsolve(5*sin(x)-3*x^2+5=0,x=1..2); 1.812432836 > int(5*sin(x)-3*x^2+5,x=-.7382485252..1.812432836); 11.29207120 Regards, Georgios Kokovidis
Without seeing your code I can't tell what the problem is. For the sinc function that your are using, first do a quick plot and then solve for a particular range of values. In your case the range is between 2 and 4 as can be seen from the plot. > restart: > plot(sin(x)/x,x); > fsolve(sin(x)/x=0,x=2..4); 3.141592654 Regards, Georgios Kokovidis
?Digits for more info. > restart: > Digits:=3; Digits := 3 > solve({1.11*x - 2.13*y + 1.14*z = 1.23, 0.32*x + 1.44*y + 3.02*z = 4.10, 1.27*x - 1.14*y + 2.54*z = 5.67}, [x, y, z]); [[x = 19.1, y = 7.18, z = -4.09]] Regards, Georgios Kokovidis Dräger Medical
Below is an animation sequence using some data that I typed in. I used plot multiple times and then the display command to animate. The key is the insequence=true parameter. ?insequence for more help. Once the plot is created, click on it. This will change the top of the Maple command window gui and allow you to click on the "play" button, similar to a tape deck. You can also control the speed of the animation as well. You can also "right click" on the plot and go to "Animation" and then "Play". > restart: > with(plots): > a:=plot([[1,0],[1,1]]): > b:=plot([[2,0],[2,1]]): > c:=plot([[3,0],[3,1]]): > d:=plot([[4,0],[4,1]]): > display(a,b,c,d,insequence=true); Good luck with your data. Regards, Georgios Kokovidis Dräger Medical
Try using the abs command around the RandomMatrix function in your routine. abs(RandomMatrix(..........)); You can test it by creating a random matrix of various size and then using the abs function to see the results. Hope this helps. Regards, Georgios Kokovidis
Download and install the Maple share library for version 10. After installation - > with(share): > ?partials I believe the fdiff command is what you are looking for. Regards, Georgios Kokovidis
> restart: > a:=diff(x^2+8*x+4,x); > b:=subs(x=3,a); Maple requires the use of * for multiplication, otherwise you will get the error message below: Error, missing operator or `;` For more help, type ?diff to see more examples of the diff operator. Regards, Georgios Kokovidis
> restart: > a:=[seq(i,i=1..10,1)]; > b:=[seq(1/i,i=1..10,1)]; > pair:=(x,y)->[x,y]; > dplot:=zip(pair,a,b); > plot(dplot); The last number of the sequence command controls the step size. In this case it is not needed, but I put it there for illustrative purposes. Regards, Georgios Kokovidis
> solve({-v[2,1]-a[2]=0,3*v[0,3]+2*v[2,1]=0, -b[2]+3*v[3,0]-2*v[1,2]=0,v[1,2]=0},[v[2,1],v[0,3],v[3,0],v[1,2]]); This gives: [[v[2,1] = -a[2], v[0,3] = 2/3*a[2], v[3,0] = 1/3*b[2], v[1,2] = 0]] as an answer. Regards, Georgios Kokovidis
First 71 72 73 74 75 Page 73 of 75