MaplePrimes Questions

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

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've been working on interacting with the MapleSim optimized C code (first post was here: http://www.mapleprimes.com/questions/145427-MapleSim-Connector-C-Code-Api?sq=145427) and two manuals were recommend to me to read, which were very useful. I ended up writing up an alternate implementation of the main method described in the one manual (http://www.mapleprimes...

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?

Let M be a list of intervals of the form RealRange(Open(a[k]),Open(b[k])), k=1..nops(M).
For example,
restart; with(RandomTools):
L := [seq(RealRange(Open(Generate(float(range = 0 .. 10^4, digits = 4))),
Open(Generate(float(range = 0 .. 10^4, digits = 4)))), j = 1 .. 2*10^3)];
nops(L);
                              2000

We have two differential equations that model a flight of a glider
               diff(theta(t),t) = (v(t)^2 - cos(theta(t)))/v(t),
               diff(v(t),t)      = -sin(theta(t)) - 0.4*v(t)^2 + k,

 

-- We're now going to look at a model with a propeller or a small engine attached.
-- v>0 is the speed of the...

When I was going through the process to purchase Maple 17 Student Edition it said something about a refund with valid confirmation of being a student. I was just wondering how much the refund is for.

how to tune with kernelopts when memory is not enough for combinatorics package?

i guess that there is a limit on the memory used by maple

if would like to give more memory for it to use and not influence too slow to move my mouse in order to press terminate button when used too much memory

Can you help me, why I have such error

with(PDEtools); m := 1/64
r := (8/15)*m
l1` := (40*(1+tanh(n(t))))*(diff(k(t), t)) = -20*r*(1+tanh(n(t)))^2+z(t)/cosh(n(t))^2-(2*(1+tanh(n(t))))*k(t)^2/cosh(n(t))^2 
l2 := 20*(diff(z(t), t)) = -20*r*(1+tanh(n(t)))^2*k(t)+(2/3)*k(t)*(1+tanh(n(t)))/cosh(n(t))^2
l3 := 20*(diff(n(t), t)) = k(t)*(1+tanh(n(t)))
IBC := {k(0) = 0, n(0) = 0, z(0) = 1/3}

First 1590 1591 1592 1593 1594 1595 1596 Last Page 1592 of 2427