MaplePrimes Questions

Never really used the writeto command but what's with all the typesetting gobbledygook in the text file?  It occurs with document and worksheet mode.  Perhaps it's only meant for classic or command line maple?

Is there a way to log the terminal output to a .txt file?

Dear all

Trying to plot this expresion

f := epsilon-1.5+9.3*I = (a+I*b)*(26.+I*(-45.-1.0*Re(a+I*b)^2-1.0*Im(a+I*b)^2))

implicitplot (a^2+b^2) against epsilon

many thanks

I am trying to solve a linear system involving large number of equations with constant coefficients using Solve command from the LinearAlgebra package. The maple program is giving solutions for a smaller number of equations (T=10,Ne=20,Ng=15). But if I increase the number of equations to (T=20,Ne=30, Ng=25), then I got the error kernel connection has been lost. I need to increase the number of equations beyond this also. Any help to simplify the code or finding errors is appreciated.

solntosystem.mw

I would like to perform an implicit differentiation of the following:

eqn := 5*(x*y)^2+x/sqrt(y) = x^2+2*(3*x^3+y^2)^3

However implicitdiff(eqn, x, y); produces an output that expands the result.  Is there a way to not have it expand?

I tried something to the effect of...

eqn := 5*(x*y(x))^2+x/sqrt(y(x)) = x^2+2*(3*x^3+y(x)^2)^3;

diff(eqn, x);

but now what I need to to isolate d/dx y(x)...

Any suggestions are much appreciated.

 my question is
I am working on for loop and there are multi-line inside it and I only need to show a specific result, not all that occurs inside the loop . is there any commend to do that in maple?

with(Statistics):

LetList := [C, E, F, H, K, P, T, W, X, Y]; LetList[Sample()];
           LetList := [C, E, F, H, K, P, T, W, X, Y]
Error, invalid input: no implementation of Sample matches the arguments in call, 'Sample:-ModuleApply()'

Can any one help me with random sampling from LetList ?

 

Melvin


 

what is the code of the following equation:

 where h, and g are matrices with positive determenets. 

How can we create the following upper triangular matrix?

where k and M are any integers,
 F and L are MxM Matrices  as follows

 

restart;
with(LinearAlgebra):
k:=2:
M:=3:
F:=Matrix(M,M):
for i from 1 to M do 
  for j from 1 to M do
 F[1,1] := 2;
    F[i,j]:=0
  end do
end do:
F;
L:=Matrix(M,M): 
L:=LinearAlgebra[BandMatrix]([
      [seq(-sqrt(2*i-1)/(2*i-1)*sqrt(2*i-3),i=2..M)], [1,seq(0*i,i=1..M-1)],[seq((sqrt(2*i-3))/((2*i-3)*sqrt(2*i-1)),i=2..M)]]);

 

Dear Users!

Hope you would be fine with everything. I want to evaluate the following expression for k = 3, j = 0, r = 1.

I am waiting for your positive reply. Thanks in advance

Hello,

every time I input a formula I get:

Typesetting:-mparsed(x^2 +5 -2,x^2+3; "_noterminate")

I can't get rid of this error: this is very basic, what happened?

TIA, Roberto

 

I think   looks much nicer than

it is indeed the answer to .  Both above are equal but there are less terms on the left.  It's just what Maple does - it doesn't like radicals in the denominator.  For just a little overhead I would prefer a collection of any sqrt value into the denominator than to have to split it up.  Maybe just my preference.  Perhaps an option could be available within the Maple system to allow numeric radicals in the denominator? 

Hello,

I'm wondering which connection formulas maple has access to?

For instance consider the following exmple

restart;

hypergeom([a, b], [c], 1);

`assuming`([convert(%, GAMMA)], [c-a-b > 0])

 

it should be simplified to GAMMA functions, but I do not get maple to do it. Are there packages for this?

 

Same for higher functions pFq for example

hypergeom([1, 1, 2*q-2+L], [2, L+1], 1)

under appropriate assumptions.

Hello,
I want to collect a function into terms without using ?expand() since this expands everything which I dont want.


f:=GAMMA(L+2*q-3-k)/(GAMMA(L-k)*k)*((GAMMA(-2*q+L)*GAMMA(L+2*q-3-k)-GAMMA(L+2*q-3)*GAMMA(L-2*q-1-k)*(L+2*k-1-(4*k+2)*q))/((2*(-1+2*q))*(4*q-3)*GAMMA(L+2*q-3)*GAMMA(L+2*q-3-k)));
collect(f,[k,GAMMA])

then has 1 term which still contains a denominator, but I want them seperate so I can use ?op() for all additive terms.

Is there an option without expanding the entire thing to enforce termwise selection?

Of course I could do it in a second step, but I want to avoid it and think it should be simpler.


Thanks everyone for helping me over the years. I've just handed in my PhD- and I really considered Maple Primes like a supervisor.

Currently I am relearning Financial maths - as depending on grants I may leave academia :(

Today I am learning utility functions and risk aversion and thought to make a graphso i could visualise them

 Here is a graph of the log of the utility of x - with two utility functions - constant absolute risk aversion (lower surface) - and constant relative risk aversion (disjoint surface above); for both functions  g (and in the attached worksheet R) is a parameter of these functions; annoyingly for these versions of these functions to be plotted on the same axis - they are so different in scale that it is hard to see anything interesting.

However one of the key features of utility functions is that we consider them to be unaffected by scalling- i.e. that if U_2(x)=c*U_1(x) for all x then U_2(x) and U_1(x) are considered to be the same function.

This means that scalling can be done in a much more useful way than what I have done. Instead of plotting f(x;R)=x^(1-R)/(1-R) on the interval I (x=1..100), i'd like to plot g(x;R)=f(x;R)/max(f(x;R),I)  on the interval I.

I worked out that on a 2d graph this can be done using maximise. But I'd like to plot g(x;R) in 3d as both x and R vary and i cant think of how to do that! 

Cara_functions.mw

First 633 634 635 636 637 638 639 Last Page 635 of 2308