Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

how to express bosonic and fermonic with physics package in maple?

what are the difference between upperscript and underscript?

restart:

lambda1:=(1/(K+2))*(S+sqrt(2*alpha*(K+2)+S^2));

lambda2:=(1/(K+2))*(S-sqrt(2*alpha*(K+2)+S^2));

where K>=0, S (-15, 15) and alpha (-15, 15). While plotting for small values of S and alpha, I get complex roots.

  • How we can avoid the complex roots?
  • Is it possible to impose a condition in plotting? 

    solve(lambda1=lambda2,S);

    solve(lambda1=lambda2,alpha);

    solve(lambda1=lambda2,K);

  • How to single out the range of S and alpha for which we have complex roots?

Thanks

 

Consider the ring R of upper-triangular matrices over the field of 3 elements.  I would like to have a multiplication table for this ring. Is it possible to generate such a table in Maple?  Thank you.

Hello dear all,

I use maple 16, x64. When I run this code:

Student[Calculus1][ApproximateInt](cos(y/(-1+y)), y = 0 .. 1, method = lower, iterations = 1)

it results in "0.0667344650", exactly equal with the result of executing

Student[Calculus1][ApproximateInt](cos(y/(-1+y)), y = 0 .. 1, method = lower, iterations = 10000000000)

Any idea?

 

Best regards

 

i understand quotient group is

G/(normal subgroup)

= G composite with inverse permutation group of normal subrgoup

is this understanding correct?

If do not have subgroup or normal subgroup, how to do quotient group?

 

if i shift second row many times in order to find Subgroup satisfy G*Subgroup = Subgroup*G

after find Subgroup then test

 

inverse(g)*Subgroup*g = Subgroup

 

how to test whether inverse(g)*Subgroup*g belong to Subgroup?

or just use equal in inverse(g)*Subgroup*g = Subgroup?

a*b - b*a    where a , b are permutation group

how to minus this?

if a + b , then how to plus permutation group

Hello, 

I have to show cubicspline(...) and some kind of known function on the same axis, but it seems I can only show cubicspline(..) using Draw, but it cannot plot the function, so I can do only one at a time. Does anyone know how to do it?

im trying to input a number between 0-100 and have the operation return the grade a,b,c,d,f. etc though long i though this might work.

Grades:=proc(x)
local a,b,c,d,f;
a:=(100..89.5);
b:=(89.4..79.5);
c:=(79.4..69.5);
d:=(69.4..59.5);
f:=(59.4..0);
if x=(100..89.5) then
display(a);
else
if x=(89.4..79.5)then
display(b);
else
if x=(79.4..69.5) then
display(c);
else
if x=(69.4..59.5) then
display(d);
else
if x=(59.4..0) then
display(f)
end;
end;
end;
end;
end;
end;

count the number of primes less than using an if-then statement.  Implement your code where j goes from 2 to 15. 

im at a loss i need a little nudge in the right direction.

I'm trying to run two statement sequences, one after the other, numerous times. I have the statement sequences:

 

>for j from 1 to N do

>S[j]:=V[j]+t;

>S[j]:=S[j]+3;

>end do:

 

>for j from 1 to N do

>if S[j]>99 then S[j]:=0

>end if:

>end do:

 

 

I can manage to run one of them multiple times, but when I try to encompass both of them within my 

 

>for counter from initial to final do statementsequence

end do:

 

it doesn't seem to work.

 

Thanks in advance

assume the word equation is

a_i *a_j - a_j *a_i = 0

how to find which permutation group is a_i and a_j

my understanding is to try all rotations

a book use underscript i and j

can i see them as upper script for i rotations which is shift i times to left for second row

and try all combination and composite them in two for loop? 

Whassup homies?

http://www.mathsisfun.com/puzzles/who-lives-in-the-city--solution.html

tried to solve this using C.Loves program, but didn't quite get their solution...

Who_Lives_in_the_Cit.mw

Vars:= [PN,Name, TV, Dest,Ages,Hair,Lives]:
PN:=[$1..5]:
Name:= [Bob, Keeley, Rachael, Eilish, Amy]:
TV:=[Simpsons, Coronation, Eastenders, Desperate, Neighbours]:
Dest:= [Fra, Aus, Eng, Afr,Ita]:
Ages:= [14, 21, 46, 52, 81]:
Hair:=[afro, long, straight, curly , bald]:
Lives:= [town, city, village, farm, youth]:
Con1:= Desperate=3: Con2:= Bob=1: Con3:= NextTo(Simpsons,youth,PN): Con4:= Succ(Afr,Rachael,PN): Con5:= village=52: Con6:= Aus=straight: Con7:= Afr=Desperate: Con8:= 14=5: Con9:= Amy=Eastenders: Con10:= Ita=long: Con11:= Keeley=village: Con12:= bald=46: Con13:= Eng=4: Con14:= NextTo(Desperate,Neighbours,PN): Con15:= NextTo(Coronation,afro,PN): Con16:= NextTo(Rachael,afro,PN): Con17:= 21=youth: Con18:= Coronation=long: Con19:= 81=farm: Con20:= Fra=town: Con21:= Eilish<>straight:

read "LogicProblem.mpl"; City:= LogicProblem(Vars): with(City);

 

we use modern computer algebra books

i) computer the GSO of (22,11,5),(13,6,3),(-5,-2,-1) belong to R^3.

ii)trace algorithm 16.10 on computer a reduced basis of the lattice in Z^3 spanned by the vectors form(i).

trace also the values of the d_i and of D, and compare the number of exchange steps to the theoretical upper bound from section 16.3

 

I have computed the infinite multiplication using Maple, $\Pi_{k=3}^{\infty} ( \cos (\frac{\pi}{k} ))$, as follows, but it resulted in 0! I wonder why this happened, although maple was using exact arithmetic.


    P := Product(cos(Pi/k), k = 3 .. infinity)   

    value(P)

Note that if I use floating-point instead, it gives me the right answer, 0.1149420449.


    evalf(P)
By the way, I did not expect such a situation! Exact arithmetic should be exact! I am multiplying non-zero numbers to each other, starting from $1/2$ to $1$ as $n \rightarrow \infty$. So it should not be zero! Why such a thing happened?

Dear all;

Special thanks for all the member who help me in Maple.

My last question is:

Write a maple procedure that solves for y(1) in the initial value problem y'(x)=f(y), y(0)=1

using a Numerical stencil based on the n^{th] order taylor series expansion of y.

The procedure arguments include an arbitrary function f, an integrer n, representing the accuracy of the taylor series expansion, and N representing the number of steps between x=0 and x=1.

 

 

 

First 1408 1409 1410 1411 1412 1413 1414 Last Page 1410 of 2264