MaplePrimes Questions

Hi.  I want to plot the function U in terms of x and y,

U :=2*diff(p(x,t),x)*diff(q(y,t),y)/(p(x,t) + q(y,t) + a[0])^2;

where

I would appreciate if anyone could solve this problem. (please see attached pdf or mw file )
The error messages is:  Error, (in ExecuteQuery) unknown API type  (I am trying to access data from a SQL server)

Download 8342_Maple is being Stupid.pdf
View file details


I used the solve command to solve for the unknown b , i do have the solution listed in the book...but when i try to solve it as follows

solve((tan(Pi/18)=(2*cot(b)*((3.4^2)*sin(b^2)-1))/((3.4^2)*(1.4+cos(2*b))+2)),b);

since maple takes values in radians(10 deg)

i get the message as "solutions may have been lost"

Am i doing anything wrong ?

Hi.

This one is rather simple. Anyway I do not get the right way to do it.

I´d like to redefine showassumed and set it to zero.

Can anyone give me an example how to do it?

Thanks.

I tried the following:

restart;
with(Statistics):
X1 := RandomVariable(Binomial(n, p)):
DARA := t->piecewise(0<t,log(t),0):

0 < n, n::posint, 0 <= p, p <= 1:
 

ExpectedValue(DARA(X1));                                        
g1 := simplify(%) = DARA(s);
k1 := solve(g1, s);
 

Hi.

Does anyone know, why or when to use the assume command as opposed to just defining the assumptions?

e.g.

instead of typing:

assume(0 < sigma);

i could just write:

0 < sigma;

right?

I did the following:

restart;
HARA := t->(alpha+delta*t)^(1-(beta)/(delta)):
0 < (beta)/(delta), (beta)/(delta) < 1:
0 < (alpha+delta*t);
 

Now Maple prints the last assumption like:

0 < alpha*t

thus assuming that delta must equal 1.

 

Why?

 

Thanks for helping.

 

I am new to Maplet programming and came across this problem while looking trying to build a simple application. Running the code results in: "Error, (in Maplets:-Tools:-CleanUp:-SetOption) the target `("REF")("enabled")` refers to a non-existant element" I am at a loss for why this is the case. From what I read, I am doing this right, but if anyone can see the problem... I would appreciate the help.
I am not able to use colors flexibly in contourplot3d. So, I am trying another way to get my plot. But I am not exactly getting my result. This is what I am trying to do. I need help with these three steps. 1) For Latitude from -10 degrees to 10 degrees and longitude from -30 degrees to 30 degrees, I need to calculate aa:=1.4*cos(latitude)-2*sin(longitude). 2)The above value of 'aa' gives color. (eg. if aa<><><>3 color= red etc) 3) Then plot this point with color from step 2 at (x,y) given by

Hi,
not being used to work with Maple, I cannot figure out how to solve the following problem.

I want to verify if the positive semidefiniteness of a given 20x20 matrix A (depending on 10 real variables x_1, ..., x_10) implies the positive semidefiniteness of another 4x4 matrix B (depending on the same 10 variables). The entries of each matrix are linear in the given variables, at most depending on 3 variables. The 20x20 matrix is rather sparse.

What I tried is the following:

Hello, In maple, I am defining a differential equation similar to: (x^2)*diff(y(x), x$2)+x*diff(y(x),x)= a cubic in y(x). When I try to solve this using dsolve, numeric, I receive some form of memory error, stating that something small*I cannot be stored in datatype = float[8]. Sorry this isn't too specific - if you need more info or the boundary conditions, or perhaps the error message word-for-word, I'll reply with it when I get to my other laptop. Thank you very much for your help in advance, Marc

i have two questions here 1st how to do for llop and save the results in array or vector like : > for i to 5 do f[i] := 5.*i end do; the 2nd question is how to take the square root of each element of a give matrix like: A:=Matrix(9,9,9) how to take sqrt of elements to make it (9,9,3) ,and if i have two matrices A(9,9) and another one B(9,9), how to divide each element of A to its corresponding value in B???? i know maybe they are easy questions ,but iam just beginner .
hi, i have been trying to solve this. x^2 = 670 (mod 291). or x^2 - 291*y = 670. I have been trying to find x^2 manually, but it is taking a lot of time. is there any program that could go through the square numbers from 1, 2, ..., 291 to find x^2 = 670 (mod 291). many thanx, antonio
First 2014 2015 2016 2017 2018 2019 2020 Last Page 2016 of 2431