Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Greetings All

Question on array and recursion type of calculations in maple 11 tia sal2

I have a procedure digitalrootxval which calculates part of the final x value

digitalrootxval := proc (n)
if n = 0 then
return 0
elif n = 1 then
return 1
else return modp(n-1, 9)+1
end if
end proc:

and I have two different procedure arrays that determine how the y value should be calculated. The first procedure array addfib:

Dear All, I'm trying to make an asymptotic expansion of the following integral: A := m-> (x-sqrt(x^2+2*x*m+m^2-1))/(sqrt(x)*sqrt(x^2+2*x*m+m^2-1)) ; IntegralA := m-> evalf(Int(A(x, m), x = 0 .. infinity)) ; and similarly for two others P3 := m-> -(-1+4*x^2*m^2+8*x^3*m+2*x*m-3*x^2+m^2)/((2*x^2+1+2*sqrt((x+m)^2/((x+m+1)*(x+m-1)))*x^2)*(x+m+1)*(x+m-1)*sqrt(x)) ; IntegralP3:=m->evalf(Int(P3(x,m)/2,x=0..infinity)); and lastly P1:=(x,m)->sqrt(x)/(sqrt((x+m)^2-1)*(x+m+sqrt((x+m)^2-1))); IntegralP1:=m->evalf(Int(P1(x,1),x=0..infinity));
Hello, How can I get only the final result without the intermediate steps? I want to define a matrix, finding the determinant, inserting the determinant in some equation, solving that equation, using the solution in other operations... etc. And I want only the final result without getting, for example, the determinant itself. Regards

Hi there, I am trying to give my first steps into Maple (I have been a Matlab user for years),and I have the following problem.

The elements of my matrix  U[s, t] are defined as

U[s, t] := 1/(sum((d[s, t]/d[j, t])^2, j = 1 .. c))

Hi everybody

> with(plots);
> P := implicitplot(x*y-1, x = -2 .. 2, y = -2 .. 2);
> Q := <(op(indets(P, Array))>;

                         Q := Matrix(%id = 52164504)

I right-click on the Matrix and Export As Table delimited and give it the name Data_plot.

Then I insert a spreadsheet in Maple and import Data_plot.  Everything work fine,

Hello All!

I'm trying to solve ODE system (describing the movement of pneumatic cylinder) and  I'm getting the following error:

Error, (in F) cannot evaluate the solution further right of .18941628e-9, probably a singularity

I guess that the problem is with boundary conditions but I cannot figure it out. I would much apreciate any help or hints. Worksheet is attached. I use Maple 10.

Thanks in advance!

Hello!

I got the Quaternions package (version 2007) from MapleSoft:

www.maplesoft.com/applications/app_center_view.aspx

 

Now I type in the following statements:

Suppose you want to solve a large dense linear system AX=B over the rationals - what should you do? Well, one thing you should probably not do is directly apply Gaussian elimination. It does O(n^3) arithmetic operations, but the size of the numbers blow up, leading to an exponential bit complexity. Don't believe me? Try it:

with(LinearAlgebra):
for N from 5 to 9 do
  A := RandomMatrix(2^N, 2^N+1,generator=-10^5..10^5):
  TIMER := time(GaussianElimination(A...

Just following through the 'Why is the minimum payment on a credit card so low' application and I get to plot and it doesn't work.  Why doesn't it work?  If I run through these lines as shown in the application I end up at plot as unable to evaluate. 

restart;

balance := (n, r, p, b)->b*(1+r)^n - p * sum((1+r)^i,i=1..n);

balance(12, .015, 30, 1000);

solve( {balance(n, r, p, b) = 0}, n);

N := unapply(%, r, p, b);

N(.02, 30, 1000);

plot( N(.02, p, 1000), p = 1..50);

Hi,

I get the following error message when I try to use the optimization package:

'Error, (in Optimization:-NLPSolve) abs is not differentiable at non-real arguments.'

I am confused, because the expression i try to optimize does not contain 'abs'. I try to optimize a rather complex expression, but I've played around with it quite a bit, and I never observe that it takes complex values, which it not is supposed to. I tried to take the real part of everything that goes into the expression, but it does not help. Any ideas?

 

Can anyone help me with the following two:
 

1) Can you write a procedure showCol which uses the for var in list do...od construction to print the elements of a list in a column.
         
     showCol([a,b,c]);
  
2) Write a procedure primeCol which print the primes between given integers m and n in a column.

Thanks.

 

When trying to compute the eigenvalues of a symbolic matrix whose elements have different dimensions (say some are of the form A/L others are of the form B/L, L being length) the computed eigenvalues are incorrect.  To get the correct values you need to normalize the matrix so that all elements have the same dimension. Or am I missing something?

thanks in advance

dimitrios karamanlidis

 

How do I plot a parabola using only co-ordinates points in a Cartesian plane?  Am I even asking it right? I have maths assignment and it requires me to draw a parabola from a practical exercise using wind-span vs. time. I have not really started that but I know it would give me the co-ordinates I think… well please help me. Oh and i have Maple 12.

Thank You,

DD

I cannot insert a code edit region in a new document in maple 12. When I clicked Insert-> code edit region, nothing happened. But if I open a example document shiped with maple 12, I can insert a code edit region. What's the problem?
P := Matrix(51, 3): > R := 0.6e-1*(arctan(10*s/1.3+(-10)*.3)/Pi+1/2) ; y := evalf((-1)*0.6e-1*(arctan(10*s/1.3+(-10)*.3)/Pi+1/2)*cos(6*Pi*s/1.3)); > z := evalf(0.6e-1*(arctan(10*s/1.3+(-10)*.3)/Pi+1/2)*sin(6*Pi*s/1.3)); > for i from 1 to 51 do P[i, 1]:= evalf(Int(sqrt(1-((6*Pi/(1.3)*0.6e-1)*R(s))^2-(D(R))(s)^2), s = 0 .. 0.26e-1*i, 5, _Dexp)); end do; >for i from 1 to 51 do P[i, 2]:= y(0.26e-1*i); end do; >for i from to 51 do p[i, 3]:= z(0.26e-1*i) end do; I want paint the 3D-line by these points . what can I do? use plot3d(?) ?? Need help! Thank you!
First 2039 2040 2041 2042 2043 2044 2045 Last Page 2041 of 2224