MaplePrimes Questions

Hey

I was discusing Maple and Matlab with one of my friend.

He said that in Matlab he can do

a:=1:12

b:=sin(a)

plot(a,b)

that's easy in matlab to do so

i use

> ptlist:=NULL:
> for n to 12 do
> ptlist:=ptlist,[n,sin(n)]:
> od:
> plot([ptlist]);

do to so

 

is there any easy way to do that in maple?

like creat a sequence from 1 to 12? ( besides seq(n,n=1..12))

 

thanks

 

 

dsolve( {diff(x(t),t)=sqrt(x(t)), x(0)=0}, x(t));

use the theorem to test the ODE ,the solutions are unique

however maple gives me a unique solution?

 

 

Hi

I'm currently trying to write a matrix question. My problem is that the answer can take to forms. I can use a maple graded question to exect both answers but am having trouble when it comes to using a 'matrix; type question. It there a way to get the matrix question to accep the both answers or has it got to be done with a maple graded question.

Regards

Jim  

ps below is the text file it needs to saved and then uploaded.

 

qu.env.validTest=

false

Hello, I would like to create paragraphs and titles shown in black, inserted in my maple worksheet ( I use maple 10), should I change the standard mode?

I was hoping to fit a cylinder to some data points in 3d space and find the equation of the long axis of the cylinder.

Sample data (actual data much larger matrix):

Hello
I have a problem with Maple. I would like to compute following sum using differentiation:

an:=x^(4*n-3)/(4*n-3)

This power series is convergent for x in (-1,1).

Sum(an,n=1..infinity);

diff(%,x);

s1:=value(%);

pf:=convert(s1,parfrac);

Now when integrating:

subs(x=t,pf);

int(%,t);

the result is: 1/2*arctan(t)-1/4*ln(t-1)+1/4*ln(t+1) .

The problem is that ln(t-1) is not defined for t in (-1,1). This is caused by integration of the equation:

-1/4/(t-1)

which is

Here is a system to ODE i am trying to solve:

w(t) = x(t) + x'(t) + w(t-a)

x''(t) = x'(t) + w(t)

How can i solve this kind of ODE with delay in time?

aks.

 

I have found this free library for Maple. It has got a lot of new or improved commands.

http://www.download.com/Aladjev-s-Library-for-Maple/3000-2070_4-10716687.html

 

I have a pointplot3d that is running in an infinite loop and I was wondering if there was any way to at the end of my loop show the graph, pause Maple for .1 seconds and delete the graph. Such as in the example:

n:=1;
keepGoing:=1;
 

while keepGoing=1 do
  plot(x^n, x=-5..5);
od;

is there any way I could get Maple to show the graph for .1 seconds then delete the current graph and show the next graph?

 

pHatfield

Dear all: Anybody could tell me how can I obtain this integral with maple? Int(exp^(-a*x^2)*sech(x/2)^2, x=-infinity..infinity); where "a" is positive thank a lot D. Reyes CBPF

suppose i have an ODE dx/dt=x/t how do i draw isoclines? thanks

I have a Maple code which I wrote on a Windows machine. Now I need to run it on a Linux machine. I set the directory by the command

currentdir("C:/example"):

How should I change this if I want it to be /home/user/example ?

and I use

fopen("C:/mydir/examp/example.dat", WRITE):

How should I change this line in Linux if I want it to be in /usr/local/mydir/examp/example.dat?

hello i was asked to draw direction field and some isoclines for some ODEs Now i have some problems: the equation is t*diff(x(t),t)-x(t)=0 and i use contourplot(x(t)/t,t=-10..10,x=-10..10); to draw the isoclines... however, the output is not quite as i expected, it looks like some curve because if i draw it by hand, i put dx/dt=x/t and set x/t=c ( c is some constants) then the graph should be some straight line what am i doing wrong??

The problem I'm having is that I have a large system of linear equations, the solution to which I know must be integers between 1 and 9. I have tried applying bounds etc., but the problem is that when I use solve, it said 'evaluating' for around half an hour, and still came out with nothing. Does anyone have any ideas as to how to make this faster, because I suspect that it's trying to find all solutions, and then eliminating the ones of the wrong form, rather than only looking for solutions where each variable is an integer between 1 and 9.

Hello Maple experts,

I'm currently trying to get more familiar with semidefinite programs (SDP), i.e. I want to minimize/maximize a linear objective matrix function over linear equality/inequality constraints with a positive semidefinite matrix condition.

It seems that there are a number of Matlab packages available but so far I couldn't really see how I could do this with Maple (which I would prefer to Matlab if there is a reasonable solution...)

First 2265 2266 2267 2268 2269 2270 2271 Last Page 2267 of 2428