MaplePrimes Questions

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

In the code below the new function g is defined based on existing function f, but the new function g is then dependent on f at the time of definition, which is shown since later changes to f will change value of g.

How to fix definition of g based on f at the when g is defined, so later changes of f does not alter g ?

Hello every one,please help me for plotting this equation(T).L=1,t=10,a=0.1,x=0..1

hi

maple with collocation and galerkin methods

please help me with writing the cods

 

Can anybody recommend a good general reference book or cookbook for Maple (2016), that shows the most used and useful commands, and ways to do general operations?

Hello everybody,

I would like to ask: How many ways to impose the rank deficiency of a matrix J?

1. First is the determinant(J) = 0

2. Multiply with a non-zero vector V: so that we have J*V = 0;

3. ...to be listed......

 

something about the minors of the matrix? 

I hope to have as many methods as possible!

Table_1_for_example_1.mw

I am try to find root by using fsolve. But I am not get solution.

Please help me to solve this problem?

I have been attached the program above.

Thank You.

Best Regards.

Velmurugan G

 

 

As a new user of Maple (Maple 2015), I defined the function:

f:=x->(1+1/x)^x

As x->infinity, f(x) increases monotonically to e, as is known.

In financial applications, this function and related functions are often used to show that periodic compounding converges to continuous compounding as the number of compounding periods grows larger.

However, for certain large values of x, f(x) evaluates to functional values larger than e.  For example:

f(x)|x=31536000. evaluates to 2.74327....

which is greater than e=2.71828...

Also notice that is(f(31536000.)>e) returns true.

This incorrect evaluation makes it difficult to demonstrate to students the principles of and relationship between periodic compounding and continuous compounding.

Some other CAS (Mathematica and HP Prime) evaluate the function correctly while TI Nspire also evaluates the function incorrectly.

The following file demonstrates this behavior of Maple 2015:

20160705_example_of_function_evaluation_issue.mw

Can anyone share any insight to this issue or any errors that I am making.

Hi,

     I now have a problem.

     I want to calculate first derivative of a function and make it a function with respect to a variable.

     For example,

     f:=x->x^2

     derivative:=x->diff(f,x)

 

     I expect derivative is a function, (i.e.  derivative(x)=2x) , So if I put 'derivative(2)',I should get 4 as results. However I get "Error, (in H_Mag_Derivative_2) invalid input: diff received 2, which is not valid for its 2nd argument".

     Could someone give me a hand? Very much appreciated.

Hello,I want to plot Q versus B,but i have a little problem.thanks for your helping.

Dear all,

 

I know the solve command is somehow limited, and it cannot find the solution for all equations.

But I have two equations which must be solved and I am desperately looking for solutions!

 

My equations are listed below:

f1:= (1/2)*x + (2*alpha*beta*(x^2+3*y^2)^beta*x^2/(x^2+3*y^2) ) -(3/2)*y - (1/2)*alpha*(x^2+3*y^2)^beta = kappa*rho*c0^2

f2:=-(1/2)*y+ (2*alpha*beta*(x^2+3*y^2)^beta*y^2/(x^2+3*y^2) ) -(1/2)*x - (1/2)*alpha*(x^2+3*y^2)^beta = 0

I need to find x and y in terms of alpha and beta.

The other parameters are known.

But of course, maple gives me the warning: "Warning, solutions may have been lost".

Does anybody have any suggestion?

 

When I try to use my procedure I recieve this error:
invalid left hand side in assignment
This is my code:






Error, (in approx) invalid left hand side in assignment


Someone can help me!

I am quite a new user of Maple 2016.

I intend to plot complex numbers as vectors (Phasors), with diferent relationsships between them. I would like to use parameters and modify them e.g with a slider. I can't find how to do it. 

 

For example:

V1=1*cos(delta)+j*sin(delta)

Ve=0.5*cos(alfa)+0.5*j*sin(alfa)

V2=Ve+V1

V2=1+j0

V12=V1-V2

I=V12/(Zcos(beta)+jZsin(beta))

I would like to be able to see those vectors, employing alfa and beta as parameters (e.g between -pi and pi)

 

Any ideas on how to plot that? Maybe Maple is not the right tool to do it. Is there any specific to plot interactive phasors?

Thanks

Hello Mapleprime users

I am having an issue with a numerical integration calculation. I have a large(ish) polynomial integrand and need to apply two integrations which I am using the _cuhre method for. See attached the minimum working example file.

Numerical_integration_HF.mw

Firstly some simplifications are done to the integrand and then a basic for loop which calculates the integration for r from 0 to 20 in steps of 0.1. The issue occurs when the loop hits r~2.5 (on my machine, Maple 2015, i5, 16GB ram). Up to that point the calculation is steady with the following stats per point calculated:

memory used=87.59MiB, alloc change=0 bytes, cpu time=3.45s, real time=3.15s, gc time=439.16ms


Then when the calculation gets to ~2.5 it just hangs and will not calculate past it. Any ideas as to what is going on here?

Any help would be appreciated with this issue.

Thank you in advance

Yeti

 

 

As far as I can tell from the help pages, Maple 17, which I am using, can perform only one-dimensional Fourier transformations. Has that changed in latter versions?

I ask because I would like to find the 4D Fourier transformation of Heaviside(t^2 - x^2 - y^2 - z^2), the argument being the Minkowski line element. I have made quite some attempts with pen and paper, but the results are not stable. One calculational strategy of mine seems to depend on the order of integration: alongside some other part, a 4D Dirac delta function either appears or not. Another strategy produces an altogther differently looking expression.

It would therefore be nice to have some computational guidance.

First 1099 1100 1101 1102 1103 1104 1105 Last Page 1101 of 2428