vv

14027 Reputation

20 Badges

10 years, 43 days

MaplePrimes Activity


These are replies submitted by vv

@Markiyan Hirnyk 

Yes, I also think that `a` should not appear. But if we add params = [a] then it is OK. It is true that in this case the new variables can be omitted. Maybe you are right that "it's not simple" :-)

P.S. I don't understand your PS

@jamunoz 

f must have either one or two variables.

Now, say you have a function f(t) of one variable.
You can define a function g of two variables:

g:=(t1,t2) -> f(t1/(k*m) + t2/(k*m^2));
# Let us compute:
d:=diff(g(t1,t2),t1)*k*m + diff(g(t1,t2),t2)*k*m^2;

#  Observe the "2";  this is the correct result.

# If you want to appear "t" you can use:

eq := t1/(k*m)+t2/(k*m^2) = t;
subs(eq,d);

You don't need and cannot use dchange for this.
 

 

@jamunoz

It is not a Maple limitation. It's maths!
You will have to explain what you are trying to do.

@Markiyan Hirnyk 

If the change of variables is e.g.  {x=u+v, y=u-v}, then the names of the new vars {u,v} are not necessary.

But for {x=u+v, y=u-v+a}, you must declare {u,v}. It's simple.

A change of variables is mathematicaly a diffeomorphism, so it it acts between spaces of same dimension.
E.g. you cannot have a diffeomorphism from R to R^2.

What result would you expect? f is a function of one variable and it seems that you want to treat it as having two.

@Markiyan Hirnyk 

Yes, the result is correct.

#  Sum( binomial(i,k)*(Sum(1/j!,j=i+1 .. infinity)),i=k..infinity);
#  Maple cannot find the final sum. Change the summation order:
Sum((Sum(  binomial(i,k)*   1/j!,  i=k .. j-1)),j=k+1..infinity);            
value(%);

@Markiyan Hirnyk 

But I have nothing new. I have said that the code executed in 2016.2 gives correct plots; the code was the same in your last worksheet. So, what is the problem? Normal people do not ask the same question twice.

@Markiyan Hirnyk 

Your worksheet is 2017.0 (probably beta).

After deleting the plot and reexecuting in 2016 it's OK.

RectangularWindow, as the help page says multiply the signal by 1, i.e. does nothing.
The reasons to do so seem to be:
- the user can see this as a comment, and knows that no windowing is applied
- the command does some checks and conversions (if needed).

As for the TriangleWindow, listplot was forgotten for Re(u), i.e.
listplot(Re( u ))
must be used.

 

Define:
n:=4;
dist:=add( (- m*x[i] - q + y[i])^2, i=1..n);
Then solve for m,q:

diff(dist,m)=0, diff(dist,q)=0;

 

@acer 

Of course, if sigma is very small, increasing Digits will be mandatory.

@sand15athome 

You have two solutions: switch to software floats or simplify the function using Heaviside (in the latter case evalhf has no problems).
You can inspect `f*g`(x). You will see that with my sugestion it does not contain Dirac and is much simpler (and probably also faster).

 

So, you have a continuous function Phi(t). It seems to be (almost) periodic.
What do you mean by a probability density associated to it?

 

@sideshow 

The solution is not unique. E.g.

Sol := proc (T) options operator, arrow; fsolve({FM(q, Jo, T) = 1, FQ(q, Jo, T) = q}, {Jo=0.5 .. 1.5, q=0.5 .. 1}) end proc:Sol(0.3);
              {Jo = 1.124786970, q = 0.7332828274}

 

First 121 122 123 124 125 126 127 Last Page 123 of 177