MaplePrimes Questions

Hi,

I am trying to proof that the right hand side is equal to the left hand side. When i do step by step, it clearly shows that my "c" and "d" are exactly the same thing. But when i use "evalb" and "verify", it comes out with "false". May I kwow what went wrong please?

Thanks.

See my code:

----------------

restart;

with(plots); with(PolynomialTools); with(LinearAlgebra);

f := (x, y) -> ((2*x^2+y^2*(x^2*(-2+sqrt(1/x^4+4/(x^2*y^2)+4/y^4+4))-1))/(4*x^2-2*y^2+4))^(1/2) ;

g := diff(f(x, y), x);

plot([g(.1, y), g(1, y), g(3, y)], t = 0 .. 10);

-----------------

Here is error message:

Warning, unable to evaluate the functions to numeric values in the region; see the plotting...

Hi,

I have a simulation file consisting of a number of modelica custom componets and maple custom components. I initially generated Random Data with mean 1 and standard deviation 0.5. Constructed all the blocks and combined with a multibody system, it worked fine. However, when I generated Random data with zero mean, then I have this error/problem "Simulation Problem: maximum number of event iterations reached (100) at 1.85000".

I used a couple of pre() function with clock=sample(0,0.01...

Hi.

I can explain my question on the simplified example:

 

sol1 := dsolve({diff(x(t), t) = x(t), x(0) = 0.0}, numeric); 

func := q -> op(2, op(2, sol1(q))); 

dsolve({diff(z(t), t) = func(t) * z(t), z(0) = 0.1});

 

But i take a throw. It is clear, because, I try to call op(2, sol1(t)). Which way I whould use to solve my problem?

Hi, I have a 4x4 matrix

How can I arrange it diagonally and make it into 3 repleating matrix? I'll get a 12x12 matrix, with the middle representation having negative values?

For example,

A:=Matrix([[2,2,8,5],[6,3,4,9],[5,5,7,4],[2,1,3,2]]);

I am trying to get something like B:=DiagonalMatrix(A,-A,A);

May I know what is the correct way of doing it please? Thanks.

Dear everyone,

 

  Hello,

 

  I have a stupid question. From

http://www.maplesoft.com/support/help/Maple/view.aspx?path=examples/string

  There are many examples about "" '' `` related to character string (let me call it in this way for a moment )

  Actually what is the precise difference between these symbols?

 

Thank you very much in advance

with best regards

Dear everyone,

 

  Excuse me, I made some editing work witn the result of maple in editplus, then copy the editplus result to maple. Then I received several ">"

 

E.g.

f1:=2;
f2:=3;

copy to editplus then copyback to maple, it becomes

>f1:=2;
>f2:=3;

I have to "shift+enter" in maple to create new lines without ">", then copy the content of one line with ">" to the new created line without ">".

Hi,

I'm trying to creat u which is a function of ξ. but I do not have the full definition of u yet. how can i write it in a way where when i differentiate it, it'll give me something like u(ξ),ξ? And that i can differentiate it once more with ξ and it gives me u(ξ),ξξ and so on?

please advice. Thanks.

Hi I have a problem with the resolution of an equation. When I tried to solve it it returns "solutions may have been lost"... Here is the problem:

restart:with(Statistics):
> x:=rand()/10^12;

197859430267
x := ------------
500000000000

> X:=RandomVariable(Gamma(2,4));

X := _R

> XL:=RandomVariable(ChiSquare(3));

I've the equation

(-x^2+eta^2+2*x*xi+2*x*eta-xi^2-2*xi*eta-2*x*y-2*y*eta+2*xi*y+y^2)*(-x^2-2*x*eta+eta^2+2*x*xi+2*xi*eta-xi^2+2*x*y-2*xi*y-2*y*eta+y^2)-(x-xi)^4+6*((x-xi)^2)(-y+eta)^2-(-y+eta)^4

The answer is 0

But I can't get the answer by simplify and expand

Then which .Thanks

We have the data
X := Vector([seq(.1*j, j = 0 .. 16), 1.65], datatype = float):
Y := Vector([2.61, 2.62, 2.62, 2.62, 2.63, 2.63, 2.74, 2.98, 3.66,
 5.04, 7.52, 10.74, 12.62, 10.17, 5, 2.64, 11.5, 35.4], datatype = float):
and the model function of x with 5 parameters
F := a*cosh(b*x^c*sin(d*x^e)):
How to fit F to the data  up to the sum of the squared residuals being about 0.001?
Is such good fit possible with Maple at all? It is interesting that Mathcad (not MATLAB...

[edited by moderator] Consider the question of finding all partitions of a given set, for example as done using the two procesures in this previous Answer.

my problem is that i wont to represent the second Proc can not have a set as input 

Dear everyone,

 

  I have a weird question about the "print" command. Suppose I have somthing like

 

f1:=x^2;
f2:=x^3;
f3:=x^4;
print(f1,f2,f3);

 

 It will print

I frequently have a list of numbers and what I want is a sorted list of unique elements with a count of how many times each element appears.  Is there some way to do this with ListTools?

Here is my code:

listhist := proc(L)
local S, T, i;
T := table(sparse):
for i in L do T[i] := T[i]+1; end do;
S := sort(map(op,[indices(T)]));
[seq([i,T[i]], i=S)];
end proc:

I have 2 questions that I can solve by hand, but I need to show how to solve using maple.

1. Solve for y: dy/dx = -y/x ; y(1)=-1

 

2. Indicate at each of the twenty-five points specified on the graph frame to the right (this is just a x=-2..2 and y=-2..2 graph with a 25 point grid) what the slope of the solution curve to y'=y is at that point.  Sketch the curve for the initial condition y(0)=0. The indicated points are at the (x,y) points from...

First 1733 1734 1735 1736 1737 1738 1739 Last Page 1735 of 2428