MaplePrimes Questions

It's a simple question, but I could not find a hint in the help system.

In economics it is very common to name variables like Y*, π* etc. They are unique, e.g. Y* ≠ Y

How can I enter them? If I just do it, it is interpreted as a vector function.

From time to time, you even need variables that have an overline (or bar),  above the character in addition to the asterisk, or variables like Â*.

A similar problem are variables that are named y' ...

piecewise not suitable to sum:

restart;
with(codegen):
H:=proc(y,a,b) y+piecewise((y>0), a,b); end proc;
prep2trans(H);
Error, (in intrep/StatSeq) invalid terms in sum: if 0 < y then a else b end if


Any walkarounds?

Hi

 

I have 2 functions here and I want to study their graphic. I never used Maple for that kind of things but this is probably the fastest and more precise way to see what happens graphically when it comes to those functions:

 

y1(t) = -rDirac(t) + t^2* summation (from n=0 to infinite) (r^(2n-1) * Dirac(t-2*n*Tau))

 

y2(t) = t^2* summation (from n=1 to infinite) (r^2n*Dirac(t-(2n+1)*Tau)

 

Hello. I need to solve a problem where:

  A is defined over a real inteval [c...d]   and   B is defined over another real interval [d....e]. 

I want maple  to take max(A,B) and tell me which interval is larger( asume no intersection)

For example

A=[0....1] and B=[2...3]

Answer should be max(A,B)=B

Thank you

For given expression expr it's known that  type(expr, function) returns true. How to grab name of that function in fast way?

Unserstood that in slow way could be transform to string done and after that could be found substring till 1st '(' symbol. But i'm sure that name somewhere 'sits' directly.

After understanding how one part of code works i also see that it uses trick of eval (namely "procedural substitution"):

restart;
r:=f(g(u), h(w)):
eval(r, [g=proc() ll; end proc]):

gets full substitution with arguments

and

restart;
r:=f(g(u), h(w)):
eval(r, [g=ll]):

do simple one 'by name'.

Where can i read about that?

If you look at Maple help on Grid[Launch] command there is an example of checking the prime numbers.

I do not understand why the timingData variable is empty after specifying it in exports parameter.

When I do not specify it in the exports parameter, the timingData variable has the same value as it had before calling Launch command.

Hi,

can you help me, I want to make a convolution on this :

 But I really do not know how to deal with the diff...

 

Thank

Sorry for my english

Hey you guys!

 

When I open up maple 15, a few lines saying the following appears:

 

Error, (in with) Arccos is not a command in the grader package
Error, (in with) Arccos is not a command in the grader package
Error, (in with) Arccos is not a command in the grader package
Error, (in with) Arccos is not a command in the grader package
Error, (in with) user level initialization for package `plots' failed: Arccos is not a command in the grader package

Hello,

i am currently trying to get some equation of motions. For this i have to invert a matrix which looks like this:

A = GL * M * GL.'     (6x6)

M is the massmatrix. GL is a matrix with kinematic constraints because i am working on a closed loop subject. The problem is that GL consists of symbolic trigonometric terms which i can't replace with numbers. Because of the multiplication with the transpose and the massmatrix the elements...

For any positive integer, N, I need to create an N by N matrix whose (i,j)-entry, i-th row, j-th column, is (((1+j-i)*N+j)/(2+j-i)!) *z(2+j-i) for indeterminates z(0),z(1),z(2), etc. and z(k)=0 for k<0. How can I do this?

Let's say if given a expression y(x)=1/x+sinx, how to find the equation which y(x) satisfies by using Maple?

hi everyone,

im currently a student and am having trouble with this question

write a procedure so that Maple performs a trapezium rule aproximation of the integral of f(x) when you enter the  command TrapRule(f(x), N, a, b) where N is the number of intervals and a and b are the lower and upper bounds of the integral.

i dont necessarily want the answer, just as much help as possible,

 

Thanks

In next code g is evalhfable while MainF is not. Is it possible to create appropriate local in IntermediateCalc cover (via appropriate assignments) for fres2 to get MainF evalhfable too? ex.mw

Where can i read about logic of assignment in maple? In all normal languages
c:=0;

c:=c+1; returns c to 1.

While maple gets into reccursion. Why politics of assignment was made so? Why imstead process all previous assignments maple also seems to process current one while calculating rhs (or lhs via evaln)? Where can i read about that and how actually assign value to expression without postprocessing of current operator ?

First 1796 1797 1798 1799 1800 1801 1802 Last Page 1798 of 2428