MaplePrimes Questions

Hello again!

I am writing a procedure of which the body is done, I "only" need to take care of the input in a clever way, which is where I'm stuck. I want to make it as simple as possible for the end user. The procedure has the following parameters:

- 2 matrices of type 'Matrix' [required], say A and B

- either a list L (default []) or a symbol S (but one of them is required)

- an optional symbol v::symbol:=t

What's the best way of handling these?

Let's say I have a summation:

sum(a[n]*x^(n-2)*(n-1)*n, n = 0 .. infinity)

Is there a way to extract the expression being summed?

a[n]*x^(n-2)*(n-1)*n

I've experimented with patmatch, but haven't been able to make it work.

Hello!

When i start the simulation of my model, which is a rotor-stator interaction, i get an error message where the rotor first touches the stator: "Simulation problem: maximum number of event iterations reached (100) at t= ....". I made a custom component to handle the contact event (change of the derivatives), but i don't know where i can change the maximum iteration to a higher number.

Thank you.

Hi, just a quick one...

Is there anyway to put FPS into the options of an animation so when the MAPLE file is re-opened it is not reset to 10 as this is faster then I would like!!

 

Cheers

Dear Maple users

I know how to create an animation of a sine curve moving over time (t) on an x-axis to simulate a moving wave. In the help menu under the topic plots,animation it is explained how to animate a ball moving along some curve. How do I combine those two animations into one? The ball is moving along a curve completely different from the sine curve!

Regards, Erik

 

I am interested in finding the asymptofic constant (Big O(1/n^(2m+2)) for the following expansion

 

series((1+1/n)^((1/2)/(sum(1/((2*k+1)*(2*n+1)^(2*k+1)), k = 0 .. m))), n = infinity, 10)

 

Upon using the preceding command in the maple i get

 

Error, (in asympt) unable to compute series

Dear Fellow Maplers,

I am seeing some puzzling inconsistencies in Maple's numerical integration routines, and am reaching out to the Maple community to see if someone out there can help shed some light on what the source of problem might be. 

To illustrate the problem I have constructed a minimal anomalous example.  Consider the following function of two variables:

      g := (1-x) * ln(sqrt(x^2 + y^2 + 1) +1 );

I have a matrix (M) and it has both 0 and 1 as entries. I want to have a sequence/list of all indices associated with the entries equal to one (the others are irrelevant to me). I can use a nested for loop with an if statement, but I find that the easy way out and not very pretty. Is there is more sophisticated way, hopefully faster way of achieving this (using sequences, attributes, select/remove)?

Example:

M:=Matrix([[1,1,0],[0,0,1],[1,0,1]]);

how can i call python code in maple like external call for C++/Java/C#...

i have a text parser written in python and want to use it

can someone help me?

hi i am seeking help for a little problem The question is a part of my coursework but it doesnt make sense to me i dont know how to use maple to construct a model can you please help thanks. On board sailing ships or warships, a lookout stood watch in a crows nest high on the main mast. b) Construct a mathematical model to show how far a lookout can see. Clearly indicate any assumptions you make and define any parameters you use in your formula and in the construction of your model. c...

Lab5.pdf

Im currently doing number 1 right now on this lab which i attached, and i cant seem to think of a function that suites that description, im going to ask my instructor for more clarification, but i was wondering if anyone could give me some suggestions on how i could come up with the one needed

 

Thanks!

 

 

How do I convert K1*cos(w*t+theta1) + K2*sin(w*t+theta2) to a single K3*sin(w*t+theta3). Maple keeps simplifying to the cos + sin form but that is not user friendly for the signal viewed on the oscilloscope. The conversion is easy to do with a calculator but I want to automate the process in Maple with parameters so I do not have to copy and paste expressions or type them.

 

Thanks for your help,

 

Warren Klope

Can any one help me??

I would like to use permutations choosing only 3 letters of the alphabet with "A" in the permutation.

eg) (a,a,a) (a,a,b).................................(z,z,a) etc

Can any one help me, I would appreciate any help

I'm trying to make an infinite square well of width a, and i want to plot individual solutions along with the walls of the well at x=a and x=-a, does anyone know how to modify my code to show the solution and the vertical lines at x=a and x=-a, id like to also show that the wavefunction is zero at the walls, but due to the equation it continues past them, is there some way i can either modify the equation to stop the plot at x=a and -a (preferable) or blank out the graph after the walls?

Hi

I entered this code :

> printlevel := 2:

> for i to 3 do for j to 3 do i*j end do end do;

but it does not show the result

what should I do?

thx

First 1890 1891 1892 1893 1894 1895 1896 Last Page 1892 of 2430