MaplePrimes Questions

I wote a command that creates a plot with a single point:

plots[pointplot](a*[1, 1])

Before hitting Enter I called the context menu and chose Explore. As I change the parameter a the point remains fixed in the picture but the scales change. I wanted the opposite: the scales should stay fixed and the point should move. How can I do this using Explore or in some other way? I would like to see the point move as I drag a slider control.

Thanks for the help.

 

hi every one , i have a problem with integration,which one is correct !? also when i remove epsilon option, it returns unevaluated integral . can i have crorrect and reliable answer?

restart

with(LinearAlgebra):

Digits := 30;

30

(1)

``

N := 4;

4

 

proc (x, s) options operator, arrow; exp(x*s) end proc

 

proc (x) options operator, arrow; exp(2*x)+(exp(x*(x+2))-exp(-x-2))/(x+2) end proc

(2)

alpha := -1/2;

-1/2

 

-1/2

(3)

for n from 0 to N+1 do J[n] := unapply(simplify((-1)^n*(1-x)^(-alpha)*(1+x)^(-beta)*(diff((1-x)^(n+alpha)*(1+x)^(n+beta), [`$`(x, n)]))/(2^n*factorial(n))), x) end do;

proc (x) options operator, arrow; 1 end proc

 

proc (x) options operator, arrow; (1/2)*x end proc

 

proc (x) options operator, arrow; (3/4)*x^2-3/8 end proc

 

proc (x) options operator, arrow; (5/4)*x^3-(15/16)*x end proc

 

proc (x) options operator, arrow; (35/16)*x^4-(35/16)*x^2+35/128 end proc

 

proc (x) options operator, arrow; (315/256)*x+(63/16)*x^5-(315/64)*x^3 end proc

(4)

u := unapply(exp(2*x), x);

proc (x) options operator, arrow; exp(2*x) end proc

(5)

for i from 0 to N do phi[i] := J[i](x) end do

1

 

(1/2)*x

 

(3/4)*x^2-3/8

 

(5/4)*x^3-(15/16)*x

 

(35/16)*x^4-(35/16)*x^2+35/128

(6)

w1 := (1-x)^alpha*(1+x)^beta;

1/((1-x)^(1/2)*(1+x)^(1/2))

(7)

for j from 0 to N do S[j] := simplify(evalf(int(k(x, s)*subs(x = s, phi[j]), s = -1 .. x))) end do;

(-1.*exp(-1.*x)+1.*exp(x^2))/x

 

.5*(exp(x^2)*x^2+exp(-1.*x)*x+exp(-1.*x)-exp(x^2))/x^2

 

((.75*x^4-1.875*x^2+1.5)*exp(x^2)-.375*(x+2.)^2*exp(-1.*x))/x^3

 

((1.25*x^6-4.6875*x^4+8.4375*x^2-7.5)*exp(x^2)+(.3125*x^3+2.8125*x^2+7.5*x+7.5)*exp(-1.*x))/x^4

 

((2.1875*x^8-10.9375*x^6+30.8984375*x^4-56.875*x^2+52.5)*exp(x^2)+(-.2734375*x^4-4.375*x^3-21.875*x^2-52.5*x-52.5)*exp(-1.*x))/x^5

(8)

for i from 0 to N do evalf(Int(phi[i]*S[3]*w1, x = -1 .. 1, epsilon = 0.1e-24)) end do

-0.940736801761282474970573535984e-2

 

-0.499428361530268194608821964968e-1

 

-0.716662760275484038621082776589e-1

 

-0.175968374179810236471161325565e-3

 

0.205695155661022012897834537769e-1

(9)

for i from 0 to N do evalf(Student:-Calculus1:-ApproximateInt(phi[i]*S[3]*w1, x = -1 .. 1)) end do

0.112342629325121433520368350257e-1

 

-0.372785154811933200270010346236e-1

 

-0.625152339329758587804224387138e-1

 

0.880883783666879589242935631796e-2

 

0.300672960958837351790545896762e-1

(10)

 

NULL

 

Download kk.mw

I use Maple on a Surface Pro 4 tablet and the math input panel does not work with Maple.  This would be a great feature to have.  Or does anybody know how to get it working?

Why can't I sub both values at the same time and/or why does k stay symbolic but not d?

how i tackle an bvp ode,derivative involve in bcs.i want to solve by dsolve comand or by using Rk meethod.i am attaching the maple sheet,ode wrrten in attached maple sheet

thank you  

restart

NULL

NULL

NULL

``

``

 few boundary conditions: expected 7, got 2

 

``

NULL


Download kummer_sol.mwkummer_sol.mw

restart

NULL

NULL

NULL

``

``

Error, (in dsolve/numeric/bvp/convertsys) too few boundary conditions: expected 7, got 2

 

``

NULL


Download kummer_sol.mw

Hello awesome maple people

I have the following Matrix

R := Matrix([[1, -2, 2, 6, -6], [2, -3, 4, 9, -8]])

then i do

ReducedRowEchelonForm(R);

and i get an output, but is there any way to get it to give me the output in Parametric form?

Like this https://snag.gy/BQniuR.jpg

Thanks in advance :)

 

 

i have 2 PDE equations with some boundary conditions,maple get me errors, what should i do ? please help
how can i make correction in my system or boundary to have a solution ?

Download pde2.mw

tnx in advance


Hello Dr/Prof?sir?madam

i have problem on running the ode bcs

there is cos n sine in ther ode

any idea to solve this ?

i have attched it

thnks
Maple Worksheet - Error

Failed to load the worksheet /maplenet/convert/Sc.mw .

Download Sc.mw

Hi,

I am trying to do a numerical approximate method 'method of multiple scales'. And in doing so I am getting following equation.

restart

junk := -n*v_SDD*x[1](T[0], T[1], T[2])+x[1](T[0], T[1], T[2])+(D[1, 1](x[1]))(T[0], T[1], T[2])+2*kappa*(D[1](x[1]))(T[0], T[1], T[2])+n*v_SDD*x[1](T[0]-tau_1, T[1], T[2])-psi*n*x[1](T[0]-tau_1, T[1], T[2])+psi*n*x[1](T[0], T[1], T[2])

-n*v_SDD*x[1](T[0], T[1], T[2])+x[1](T[0], T[1], T[2])+(D[1, 1](x[1]))(T[0], T[1], T[2])+2*kappa*(D[1](x[1]))(T[0], T[1], T[2])+n*v_SDD*x[1](T[0]-tau_1, T[1], T[2])-psi*n*x[1](T[0]-tau_1, T[1], T[2])+psi*n*x[1](T[0], T[1], T[2])

(1)

evalf(subs(x[1](T[0], T[1], T[2]) = R(T[1], T[2])*sin(omega*T[0]+phi(T[1], T[2])), %))

-1.*n*v_SDD*R(T[1], T[2])*sin(omega*T[0]+phi(T[1], T[2]))+R(T[1], T[2])*sin(omega*T[0]+phi(T[1], T[2]))+(D[1, 1](x[1]))(T[0], T[1], T[2])+2.*kappa*(D[1](x[1]))(T[0], T[1], T[2])+n*v_SDD*x[1](T[0]-tau_1, T[1], T[2])-1.*psi*n*x[1](T[0]-tau_1, T[1], T[2])+psi*n*R(T[1], T[2])*sin(omega*T[0]+phi(T[1], T[2]))

(2)

``


Download question3.mw

Now I need to substitute x_1(T0,T1,T2)=R(T1,T2)sin(omega*T0+phi(T1,T2)) in the expression and evaluate it.  But on substituting, it is not solving for the 'D' operator. In a similar line if I will have a differential term like

D1(x1)(T0-tau_1,T1,T2) and I have to substitute x1(T0-tau_1,T1,T2) then how can i do it?

Please help me regarding it.

Thanks and regards

Sunit

I created a new Document with a single command:

A=1

Then I right-clicked on the command and chose Explore from the context menu and then clicked on the Explore button in the dialog box. A rectangle with a slider appeared. So far so good.  However, I cannot delete the rectangle from my Document. I tried to select the rectangle and press Delete, Ctrl+Delete, and to right-click on it and choose Cut from the menu. Nothing works.

If I select both the rectangle and the command A=1 all the three actions described above also fail to delete anything.

Help will be appreciated.

Using Maple 2016, I created a new Document with one line:

A=(1,2,3)

Right-clicking on this expression I thought I could choose Assign to a Name, as is done in Clickable Calculus Series - Part 3: Multivariate Calculus, found here:

https://www.youtube.com/watch?v=GYN-GetHRFA

However, Assign to a Name does not appear in the context menu.

On the other hand, if I write

B=1,2,3

(with no parentheses) and right-click on this expression then Assign to a Name does appear in the context menu.

Any insights on this?

Thanks. 

When doing numerical calculations or evaluations it is very useful to have float results shown in numeric notation, where the exponent is 3 * n.

Below are some simple calculations:

Is there a way to make Maple show the resultin (1) .. (3) as:

  • 333.3 106
  • 333.3 103
  • 333.3 100 or just 333.3

 

sorry what is what dispatch and implementing what? i get these every week for a number of cases sometimes it specifies that it is an "unhandled psi case" still waiting on that built in proc u guys where gonna dispatch like u know the reasons ppl always have a whinge about evalf not working in some cases  anyway a few people have run into these error id say.

yes its just one inbuilt function i really need to study in particular, if someone can help me to do this pls.

First 1093 1094 1095 1096 1097 1098 1099 Last Page 1095 of 2434