Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hi,

I have a problem with "subs" command in maple. When I use it the outcome does not show only the final result. It shows the (middle operations=final result).

For example, suppose that v(t)=x^2+1 is a function obtained from some calculations and L:=h*u(t). WhenI use: f:=subs(u(t)=v(t),L); it shows: h*u(t)=h*v(t)=h*(x^2+1). I want to show only the final results: h*(x^2+1). It make a problem in my next calculation in solving some differential equations.



y = 0;

0 = 0

 

`\`if'`(0 = 0, x, 0 = Float(infinity))

 

0, 0

 

`\`if'`(1 = 0, x, 0 = -1.)

 

1, 0

 

`\`if'`(2 = 0, x, 0 = .5000000000)

 

2, 0

 

0.

(1)

``



Download lattsum1.mw

Write a procedure that determines the solutions of a quadratic equation from inputs a, b and c by using the discriminant and the quadratic formula. The quadratic equation procedure should be able to solve all cases: invalid input, linear case, real and complex roots. The procedure should also plot the given equation.

Hi!

I am bothered by an error that I don't understand. I am trying to write a procedure to solve numerically a delay differential equation "step by step" (for example y'(t)=y(t-1))

here is my code

restart;

y[0]:=t->t; #my initial condition on [-1,0]

p:=dsolve({D(x)(t)=y[0](t-1), x(t0)=x0}, x(t), numeric, parameters=[t0, x0]);

p(parameters=[0,y[0](0)]);

y[1]:=t->op(2,op(2,p(t)));  #y[1](t) is the value of p(t) but in a "readable" format

Hello, I am new to maple and trying to teach myself as i go along. I am trying to plot a paramteric for a puck on a fristion less table that spins for differnt vo values. Here is my code: puckontable.mw

Hi,

I want to compute a system of linear equations when they are provided through a matrix product, and the solutions should be some numbers (rational) between 0 and 1, and one of them could be any rational number. Also, I obtain the matrix of coefficients by recursion; I mean, I have a ''for loop" in which I find recursively the matrix of coefficients, and then in each step of loop I solve the system of equations with this coefficients.

I use Maple 13. The...

I have valid Maple 15 licenses both on my laptop as well as on my desktop at work. Sometimes I would like to use the kernel of the desktop version (more powerful computer with more memory) with the worksheet-GUI of my laptop esp. since on Mac the X-window interface does not work. Since Maple has a client-server architecture (or kernel-frontend), is there a way---any way---to connect to the remote kernel from my laptop? I believe Mathematica has been able to do that for years.

Hello,

I am working on a physics problem that involves a bead on roating hoop. You need to use Lagrangians to solve this problem but this is not where i am strugling. My school expects us to use maple because it is the program the provide but none of the teachers know how to usem it (they use mathmatica) so they cant help us. We have the equation: θ"= [ω2*cos(θ)-(g/R)]sin(θ) and the initial cond. θ'(0)=0 and θ(0)=θ

Hi,

I am working with equations on Maple which depends on a parameter (epsilon), which can assume only the values +1 and -1 (I intent to replace this value only in the end of calculation). When, however, Maple computes the expressions, the result contains severals powers of epsilon, for instance epsilon^7 or epsilon^4. Since actually we have that epsilon^7=epsilon and epsilon^4=1, respectively, it would be very usefull to me if Maple 

How to find the limit limit(u(x,t),t=infinity), where u(x,t) is the solution of the Cauchy problem:
pde:=diff(u(x,t),t)=diff(u(x,t),x,x)+exp(-t) with the initial condition
ic:=u(x,0)=arctan(x) ?

How to solve this problem:

 style = line option is not executed within the command Statistics [PointPlot].

Statistic[PointPlot]

 

 But right click on the graph Style / line is obtained as expected. Except that when you run the initial command, Statistics [PointPlot] ... back to the previous graph.

hi

i have the following ode

.7246228659*(diff(f(x), x, x, x))+f(x)*(diff(f(x), x, x))+.6666666666-.6666666666*(diff(f(x), x))^2

with boundary conditions

f(0) = 0, D(f)(0) = a, (D(f))(b) = 1   (b corresponds to infinity and we can assume it 4 or 10 such that the solution converge)

i know the the solutions exist up to a critical value of "a" that beyonds no solution exist. for example for the following ode the critical value is...

Hello!

 

I'm currently trying to program Euler's Nummerical Method to solve a second order differential equation, that I've split into two parts: 

f1:=v:

f2:=-(0.006549/0.7038)*v-sin(x/1.03)*9.82

 

In an attempt to solve this equation by using Euler's in Maple, I typed in the following commands: 

 

EulerSystem:=proc (f1,f2,t0,x0,v0,h,n) local t,x,v,i,p;
t[0]:=0; x[0]:=x0; v[0]:=v0;

Hi,

I would like to have logical operator which will spit out true if my variables are proportional to each other, something like:

a:= A*some*other*stuff;

b:=A;

evalb(a ~ b);

gives true

 

Is there an easy way to do this? 

Greetingsi

Maple does not simplify the expression -2*Pi*sin(Pi*a)/(-1+cos(2*Pi*a)). How can I make it do so? 

 

Thanks,

Maple 15 64-bit on Windows 7

First 1580 1581 1582 1583 1584 1585 1586 Last Page 1582 of 2224