Carl Love

Carl Love

28055 Reputation

25 Badges

12 years, 359 days
Himself
Wayland, Massachusetts, United States
My name was formerly Carl Devore.

MaplePrimes Activity


These are replies submitted by Carl Love

Do you have initial values for lambda1, lambda2, and lambda3?

What exactly is the problem that you're having? When I run your code, there is no apparent problem.

@lazza For any entry like 1+10^(-10), first apply evalf to the matrix, then fnormal:

map(fnormal, evalf(M));

Your file did not attach correctly; the link is dead. Please try uploading again.

@mahmood180 It is true that diff(f(t), t$0) is undefined; however ThU said D[1$m](f)(t). That is defined, correctly, at m=0.

This is not related to your question, but you should spell Pi with an uppercase P in Maple. You will get a much simpler answer, to wit,

as opposed to the three-line answer that you had before. With a lowercase p, pi is just an arbitrary name with no predefined meaning.

 

@mahmood180 

Preben said

g1:= unapply(...);

but your code has

g1(t):= unapply(...);

As Acer said, you should write the coefficients directly to a Matrix and skip entirely the equation step. Extracting the coefficients from large equations is going to be inefficient even in the best case.

@Carl Love I'll need to see that in a worksheet to diagnose it. My first guess is that you mistakenly used square brackets in a place where you should've used parentheses.

@lt In the lines where you define the numeric values, you did not use := for g and h.

@lt Yes, you are correct on both points.

In all cases, the result is returned as a list.

@fairuzalwani 

1 +~ map2(ListTools:-BinaryPlace, E, [3, 10, 24]);

@nurul Preben's point was precisely that dsolve(ode) returns nothing. To get any meaningful results from dsolve, you must use

res:= dsolve({ics, ode}, numeric):

The res is a variable to store the results returned by dsolve. You could use any name for it. Those results are numeric procedures, and they are not worth looking at in their own right. However, they can be passed to the command plots:-odeplot as, for example,

plots:-odeplot(res, [x, y(x)], 0..20);

If such a thing is possible, then it is not part of Maple, but rather a command of your operating system. On Linux, this can be done with the command kill -STOP <pid>. I am not aware of a way to do this on any other operating system that supports Maple.

@georgepan After performing the commands given by Mac Dude, just change the sum to add. There is no need to perform any explicit substitution.

First 523 524 525 526 527 528 529 Last Page 525 of 709