Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hi, i have the following equation system, for which i  already know the solution.

restart:

s1:=(r1*r2-1/(400000000*c1*c2))*(r1+r2)/((r1+r2)^2+(-1/(20000*c1)-1/(20000*c2))^2)
+(-1/20000/c1*r2-1/20000*r1/c2)*(-1/(20000*c1)-1/(20000*c2))/((r1+r2)^2+
(-1/(20000*c1)-1/(20000*c2))^2) = 611.0987791:

s2:=(-1/40000/c1*r2-1/40000*r1/c2)*(r1+r2)/((r1+r2)^2+(-1/(40000*c1)
-1/(40000*c2))^2)-(r1*r2-1/(1600000000*c1*c2))*(-1/(40000*c1)-
1/(40000*c2))/((r1+r2)^2+(-1/(40000*c1)-1/(40000*c2))^2) = -8334.070796:

In Maple 11, using labeldirections = [horizontal,vertical] was enough to display the y-axis label vertically.

But in the Maple 12 version this no longer changes the label to vertical, it still displays as horizontal and just cuts off the remainder of the label.

Has there been a notation change?  How can I now display the label vertically in the new Maple 12?  Thanks.

How do I put a number, as an example: 987654321 so that all the digits are in a list?  Say I want to pull out the 7th digit, which in this example happens to be 3.  Or let's say I want to find out what the 473rd digit in Pi is.

I have a set of 2nd order nonlinear differential equations which I solve numerically. 

odeplot plots the numeric results of the function and first derivatives just fine.

I was wondering if there is anyway to plot second derivatives.

odeplot treats a 2nd derivative as zero.

Although, I don't know  for sure, I believe the RKF45 routine computes them during the integration. Any way to store them?

Any ideas are appreciated.

Thanks

 

 

I have Maple 11 on WINXP
my CPU usage never goes up over 50%. the software is too low.
how can i eliminate the CPU usage Limitation?
One of my friends said that i can use kernelopts() but i don;t know how to use it!

please help me.

A recent post asks how to create a Maple permutation iterator, that is, a procedure that, on successive calls, iterates through each permutation of a given input.  I suggested a routine that solved the problem, however, I wasn't satisfied with it.  It was slower than it should be.  Later I suggested an improvement.  Here is another improvement.  It uses the same algorithm (algorithm L, from The Art of Computer Programming, vol. 4, fasicle 2, by Donald E. Knuth) if the input has repeated elements, but uses a different method, algorithm T, ibid., if the input consists of distinct elements.  The sequences of permutations for the two algorithms differ, the second algorithm uses the initial order for the first element and consecutive outputs differ by one transposition.

I have two differrential equations:

 

1) x ' ( t ) = x( t ) + y( t )

which can be written as

x ( t ) - x (t -1) = x ( t) + y (t )

- x (t -1) = x ( t) + y (t ) - x ( t )

- x (t -1) =  y (t )           A

 

2) y ' ( t ) = 4 * x( t )  + y (t )

which can be written as

y( t ) - y (t -1) = 4 * x( t )  + y (t )

y( t ) = 4 * x( t )  + y (t ) +  y (t -1)        B

Hi there.
I've been having difficulties figuring out how to make Maple update my plots when I use for example the scale axes tool, so it doesn't just stay at a default range of [-10;10] but instead updates to fill out the whole screen.

Hello,

First of all I would like to thank Joe Riel and congratulate him for the great maplev mode for emacs.
If any of you use it I would appreciate a little help with running "mint" from emacs.

Here's what the maplev specific part of my .emacs looks like,

When I want to simulate and plot the distribution from a random coin toss (normal distribution) I use the following code:

restart:
randomize():
coin:=rand(0..1):
coin_1:=proc(n) seq(coin(),i=1..n) end:
x_1:=seq([coin_1(10)],i=1..500):
x_2:=[seq(numboccur(1,x_1[i]),i=1..500)]:
with(Statistics):
Histogram(x_2,frequencyscale=relative,discrete = true );

what code should I use in order to get a coin with serial correlation. A normal distribution with fat tails? (Prefereably I want to tweak the above code)

Due to a do... for cycle I obtain thes data:

....

Dear all,

Does anyone know how to extend CodeGeneration[C], using AddFunction, so that the new function's signature matches a specific type of Matrix/Vector/Array?

By specific type I mean a match for a specific combination of indexing function, hardware datatype, order, and storage.

I haven't even had success using the 'anything' type in the signature, for (C) array arguments, for examples with the new function used within a proc and not just as an inlined example.

First the new function's "definition",

Hi,

eq1:=(3+Pi)*x^2*sin(x^2)

Is there a way to select then remove the x^2 alone but not in the sin( )

 

Mario

Ok, i am trying to plot the function abs(H)^(1/2) * sign(H). This function should be negative when H is negative, but for some reason the " * sign(H) " is having no effect on the plot, the plot is an even positive function rather than an odd function as it should be.

When I manually evaluate this function with a negative H using maple, a negative value is given back to me, however not in the plot... why is this.

First 2027 2028 2029 2030 2031 2032 2033 Last Page 2029 of 2219