Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hi mapleprimes,

I'm having trouble with the creation of an array which each element would be a matrix. I've tried what seemed natural to me...

SOM := Array(1 .. 10, 1 .. 10,Matrix(28, 28, evalf((1/10)*rand(1 .. 10))));

... but it created an array 10x10 with zeros. Then I tried to fill each element individually...

for i to 10 do for j to 10 do SOM[i][j] := Matrix(nbLin, nbCol, evalf((1/10)*rand(1 .. 10))) end do end do

I have written the maple code to calculate time domain value of the laplace domain equation. It contain slowly converge double series so that I used epsilon algorithm to accelerate convergence. one summation contain 7 terms and another summation terms reduce to 850 terms after the use of epsilon alorithms. I also used deHoog algorithm with 9 terms to obtain time domain data but maple give the following error:

Error: (in evalf/exp/general) object too large

Do...

Dear members,

I am trying to solve a maximalization problem, but in stead of solving my problem Maple only displays the equation that I am trying to solve.

Example:

>  Sigma_max:= maximize(-N/(b*h)+(-EI*(diff(u(x),x,x)))*0.5*h/I, x=0..l = sigma_t;

sigma_max:=maximize(-0.400000cos(0.25pi)N+564e*N*x .....etc...., x = 0..250)=1.43 106

In an atomic physics calculation involving the quantum theory of angular momentum, there appear polynomials whose coefficients involve square roots of positive integers, for example

sqrt(6)-sqrt(2)*sqrt(3) 

Maple does not cancel such an expression to zero because the code allows for the possibility that a square root can be positive or negative.  In the physics context all these square roots are positive.  Is there some simple way to induce Maple...

Hi everyone,

I recently posted about a problem I had with an iterative scheme in 2 dimensions.. someone answered that and it worked perfectly:)

I've now moved on to a slightly more complicated version. It's in 3d but only the r and z values will be used in the iteration (trying to get the catenary)

so it's not as hard as the main problem that I'm building towards.

Basically, I'm having trouble converting the points to polar coordinates and assigning them each a [j...

Hi, I have a maple project and one of the questions reads: 

a. | Initially, a 100 – liter tank contains a salt solution with concentration 0.5 kg/liter. A fresher solution with concentration 0.1 kg/liter flows into the tank at the rate of 4 liter/min. The contents of the tank are kept well stirred, and the mixture flows out at the same rate it flows in.
i. Find the amount of salt in the tank as a function of time.

ii. Determine the concentration of salt in the tank at any time.

Dear sir,

i want to change the horizontal and vertical axis in maple plot. on horizontal axis  i  want velocity  u(y) values and on vertical axis y values i am attaching the file also My codes are 

U:=(y^2-2*h*y)*(-(5/2)*c1/(2*h^2*a^2+5));

 

 c1:=1:

 h:=1:

  a0:=subs(a=1,U):

 a1:=subs(a=1.5,U):

 a2:=subs(a=2.5,U):

 a3:=subs(a=3.5,U):

 a4:=subs(a=4.5,U):

 a5:=subs(a=5,U):

  plot([a0,a1, a2,a3,a4,a5], y=0..1, title = " Velocity profile for c1=1 and h=1", legend = [alpha = 1, alpha= 1.5,alpha= 2.5,alpha= 2.5,alpha= 4.5,alpha= 5], titlefont = ["ROMAN", 15], labels = ["y ", "u(y)"], labeldirections = ["horizontal", "vertical"], labelfont = ["HELVETICA", 10], style = [POINT],symbol = [BOX,CROSS,CIRCLE,DIAGONALCROSS,DIAMOND,SOLIDBOX],color = [black, black,black,black,black,black], axesfont = ["HELVETICA", "ROMAN", 8], legendstyle = [font = ["HELVETICA", 9], location = bottom],axes=boxed);

 

 

In Maple , if i will take a particular value of (eta) then I am getting 11 solutions 5 -ve and 6 +ve. But I want to get the solution as a function of (eta), so that taking different values of (eta) I will get different solutions as a sequence.

Using the Turtle program as seen in the attached Maple document where

R - right turn
L - left turn
F - forward movement
B - backwards movement

I have the basic shape, but I dont know how to write a procedure so that it repeats at the necessary spots to create a fern that looks like this:

fern.mw

Using the Turtle Commands where the following letters represent commands:

F - forward movement
B - back
L - left
R - right

Create a fractal that looks like this one:



Attached is a Maple sheet with a program ReadFile in the beginning that allows for the use of the F,B,L,R letters that I found online. Does anyone see where I took a wrong turn? (haha)

I am trying to find the zeros of the sine function below when i do maple just returnes 0.

Hi,

 

> seq(seq(p[j,c],j=2..3),c=1..3)=seq(seq(1/(1+exp(-(mu+cat(tau,j)+cat(eta,c)+mix[j,c]))),j=2..3),c=1..3);

Basically, I want to use these expressions in subs.

How do I tell Maple to make the substitution of "lhs=rhs"?

(in the form of {p[2,1]=something,p[3,1]=something,p[2,2]=something,p[2,2]=something,p[2,3]=something,p[3,3]=something,})

I can then use subs() to replace them in my desired expression.

Casper

Hi all,

I just learned about the with(Threads) package and I wanted to do a bit testing and see if it's 'faster' or more 'efficient'.

Test.pdf

 

This was done on a i7 940X (QuardCore) laptop.

I dont really see how it is better in a sense?

Or am I using Seq for the wrong purpose?

 

Casper

Using the Quandl API, we have created a Quandl library for Maple.  The Quandl library for Maple provides easy access to Quandl’s repository of over 5 million time-series datasets from directly inside Maple, allowing you to utilize Maple’s robust tools for mathematical statistics and data analysis on Quandl’s extensive collection of data.  This library features a similar set of functionalities to the Quandl

Hi, I'm getting a weird answer for this problem.  It is a linear 3 mass four spring system between two rigid walls, and x(t), y(t), and z(t) are the horizonatl positions of the three masses.  Here's an what it looks like with the postive coordinate directions below each mass:

wall\\ ---spring---MASS---spring---MASS---spring---MASS---spring---\\wall

                           --->x...

First 1474 1475 1476 1477 1478 1479 1480 Last Page 1476 of 2229