Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

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...

x := 1;y := 3;a := [1,2,3,4,5,6,7,8,9,10];z := Matrix([seq([seq(a[k], k = x+m .. y+m)], m = 0 .. 2)]);ListTools:-Occurrences(1, Vector(z(.., 1)));

eq1 := 285 = .3354101966*sqrt(1/(1.025384421*10^(-9)*d^4/t[min]^3+5.568148129*10^(-8)*d+(3/550400)*d^2/t[min]));

I would like to plot tmin for varying values of d.

i can solve for tmin with a know value of d using fsolve

but can't do the plot I want

Hi all,

I have been trying to improve my code to speed up a bit.

Here is the toy example:

######################

restart:

myfunc:=proc(phi,p,CH)
 # dummy code
 # dummy code
 # dummy code
 # dummy code
end proc;

a:=myfunc(phi,p1,CH1)
b:=myfunc(phi,p2,CH1)
c:=myfunc(phi,p3,CH1)

ANS1:=w1*a+w2*b+(1-w1-w2)*b

a:=myfunc(phi,p1,CH2)
b:=myfunc(phi,p2,CH2)
c:=myfunc(phi,p3,CH2)

Hello, 

I didn't manage to evaluate the following sum of 2 matrix M*p²+K. 
The 2 matrix can be evaluated separately.
But, strangely, whan i try to evaluate the sum, i can get the numerical values. 

Let's see :

[img]http://www.gilawhost.com/images/s7ur3of2.gif[/img]

 

I have bracket matching turned on but donot get the rectangular yellow box around matching brackets as shown in the attached picture. Can anyone help me how to turn this feature on for both input and output?

We have just released a new, more powerful version of the Maple Global Optimization Toolbox.  

For this new release, Maplesoft has partnered with Noesis Solutions to develop a new version of the Maple Global Optimization Toolbox that is powered by Optimus technology. Optimus, from Noesis Solutions, is a platform for simulation process integration and design optimization that includes powerful optimization algorithms. This advanced technology is now available...

First 1480 1481 1482 1483 1484 1485 1486 Last Page 1482 of 2235