MaplePrimes Questions

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

I want to extract sin^3(x) to sin(x) and sin(3x)

how can do this with 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);

 

 

Think of ranking as a vector in R^Z, where Z is the total number of webpages on the web.

For a given network of Z web pages, let A = [a_jk(little)] be the matrix

a_jk(little) = { 1 if page k has a link to page j

                  { 0 otherwise

1. How do you determine the matrix A for my network of pages?

2. And the number of recommendations that page j gets...

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

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)));

First 1596 1597 1598 1599 1600 1601 1602 Last Page 1598 of 2434