MaplePrimes Questions

Hi,

So I am calculating the absorption coefficient for dry air. When I perform the calculation I get a very small number that displays as "0.". Is there any way I can get maple to show all of the digits of this small number? I tried evalf() but continue to get the same result of "0.". 

Anything would help. Thanks! 

Because Debian Linux is not officially supported by Maple, I would like to know if is there anybody who is able to provide following information:

1. is possible in principle to operate Maple 2018-2019 on Debian 9 Linux?

2. how to install Maple 2018 or 2019 on Linux Deian 9 (Stretch)? Are there required some specific Tweaks and Hints?

Thanks in advance for any help...

Sir please help me to solve following system of non linear equation, 

x+y=1

y=x^2-5

How I can get integral by part.

I want to calculate these integral.

Thank you

integral_part.pdf

 

How I can take Laplace Transform from equation.

Thanks

LAPLACE

Dear all,
I found error something like this
"Error, (in Optimization:-LPSolve) maximal depth, 263, of branch and bound search is too small; use depthlimit option to increase depth"

How to use depthlimit option?
Could anyone give an example?
Thank you.

 

The worksheet below rolls an ellipse along the y axis with constant energy.

How can the physics be enhanced to roll the ellipse along a non-linear curve (e.g. a sine curve) with constant energy?

EllipseRoll.mw


 

restart; _local(gamma); _local(I); _local(pi)

I

 

Warning, The imaginary unit, I, has been renamed _I

 

#
# Set up numerical values for all problem parameters
#
  params:=[       psi=0.142,        mu[1]=0.112,      phi=0.4e-3,
                 mu[v]=0.002, beta[o]=0.081,  M[h]=10,
            omega=0.2e-2,     eta=0.5e-1, mu[e]=0.092,
                pi=0.598e-2,    beta[*]=.5,      eta=0.213,
             
          ]:

Error, `*` unexpected

 

#
# Define main function
#
  R:= sqrt((psi+mu[1]+phi)*(mu[1])^(2)*mu[v]*psi*beta[o]*(M[h])^(2)*(omega+mu[1]+eta)*mu[e]*pi*beta[*]/(psi+mu[1]+phi)*(omega+mu[1]+eta)*mu[v]*mu[e]*(mu[1])^2);

Error, `*` unexpected

 

#
# Compute "all" derivatives and evaluate numerically.
#
# For the purposes of this calculation "all"
# derivatives, means the derivatives with respect to
# every variable returned by indets(R, name)
#
# Output a list of two element lists where each of
# the latter is
#
# [ varName,
#   eval( diff( R, varName), params )
# ]
#
 [ seq( [j, eval( diff( R, j), params )],j in indets(R, name))];

Error, invalid input: eval received params, which is not valid for its 2nd argument, eqns

 

#
# Compute all "sensitivities" (where the sensitivity
# is as defined in Rouben Rostamian response to the
# OP's earlier post) and evaluate numerically.
#
# For the purposes of this calculation "all" sensitivities
# means the sensitivity with respect to every variable
# returned by indets(R, name)
#
# Output a list of two element lists where each of
# the latter is
#
# [ varName,
#   eval( varName*diff( R, varName)/R, params )
# ]
#
  seq( [j, eval( j*diff( R, j)/R, params )],j in indets(R, name));

Error, invalid input: eval received params, which is not valid for its 2nd argument, eqns

 

NULL

``


 

Download sensit_of_mal_toxo.mw

Here are two matrices:

Ts:=matrix([[cos(omega*t), cos(omega*t-2/3*Pi), cos(omega*t+2/3*Pi)], [sin(omega*t), sin(omega*t-2/3*Pi), sin(omega*t+2/3*Pi)],[1/2, 1/2, 1/2]]);
Xin:=matrix([[cos(omega*t+alpha)],[cos(omega*t+alpha-2/3*Pi)],[cos(omega*t+alpha+2/3*Pi)]]);

Then, if I attempt this operation, 'simplify(multiply(Ts, Xin));', this becomes the result:

Matrix(3, 1, [[cos(omega*t)*cos(omega*t+alpha)+cos(omega*t+(1/3)*Pi)*cos(omega*t+alpha+(1/3)*Pi)+sin(omega*t+(1/6)*Pi)*sin(omega*t+alpha+(1/6)*Pi)], [sin(omega*t)*cos(omega*t+alpha)+sin(omega*t+(1/3)*Pi)*cos(omega*t+alpha+(1/3)*Pi)-cos(omega*t+(1/6)*Pi)*sin(omega*t+alpha+(1/6)*Pi)], [(1/2)*cos(omega*t+alpha)-(1/2)*cos(omega*t+alpha+(1/3)*Pi)-(1/2)*sin(omega*t+alpha+(1/6)*Pi)]])

However, if I attempt to reduce each row, the previous result is reduced much further. 

For example, this shows the expand operation applied to the first row and its result.  

expand(3*cos(alpha)*(1/2)+(1/2)*cos(2*omega*t+alpha)-(1/2)*sin(2*omega*t+(1/6)*Pi+alpha)-(1/2)*cos(2*omega*t+(1/3)*Pi+alpha), trig);
                         

3*cos(alpha)*(1/2)

Is there any way to reduce the entire matrix in a similar way, instead of using this element by element operation?

           
                         

Is this an expected behaviour for simplify/size

I was simplifying a result from pdsolve, but did not check that the solution was null or () before calling simplify.

It turns out that  simplify((),size)  returns size for this. I find this is very strange.

I would have expected it to return ().

I can fix this by checking that sol is not null before calling simplify ofcourse. But the question is, why does simplify((),size) return size? What is the logic for this? From help:

The simplify(expr, size) calling sequence is used to attempt simplifying the expression size, performing only collections and simple decomposition of fractional powers in the coefficients - sometimes taking advantage of linear factors when they exist. No other mathematical simplifications of the expression or its subexpressions is performed. These operations, while simple and with low computational cost, may remarkably structure the expression and reduce its size.
 

is it possible what happens is this: becuase "sol" was null, the call simplify(sol,size) has actually become simplify(size) and the result is size.  So because the first slot in the call was (), it was ignored during the call and the first parameter became size insteal of sol?

Maple 2019 on windows 10.

 我计算了枫叶2019中的sin(0)和sin(pi),结果如下,是什么原因?

In the attached file, first, I use dsolve to analytically solve a system of equations. Maple solves it easily.

But, when I change the frequency (in the Sine function) of the second equation, Maple cannot solve it. Why?

question.mw

hi 

i have an ode with its BCs,i defined those and tried to solve but it seems has problem,would you please see my code ?

plz see attached filesasa3.mw

Right now I am going through Bishop's ML book and as a part of the first exercise I need to define a polynomial that goes like this.

y(x,w) = w_0 + w_1 * x + w_2 * x^2 ... + w_m * x^m = sum (k=0 to m) w_k * x^k

Here is how I've written it out in Maple.

f := proc (x, w) options operator, arrow; sum(w[k]*x^k, k = 0 .. nops(w)) end proc

Sorry for the raw code, Maple Math won't accept the code I've written as a valid Maple expression for some reason. When I try to use this I get an error that says too many levels of recursion.

f(2, [a, b, c]);
Error, (in limit/mrv/limsimpl) too many levels of recursion

Where am I going wrong here?
 

First 698 699 700 701 702 703 704 Last Page 700 of 2425