Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

How to solve delay differential equations with Maple?

Example:

diff(x(t),t) = 3*x(t)^2 + 0.3*x(x-0.03)

Hello everybody,

I have an nx2 matrix of (t,w) , I need to fit a curve of the form of w = A(t-b)c to the data. What I have already tried is to pick a value for b, then regress log w on log (t-b) linearly, which is not very accurate. I'd  greatly appreciate any comments that could help me to find the optimum values for A, b and c through regression methods.

Thanks a lot,

Haley

Hello everyone, 

I have a question regarding my Spline interpolations. I am not an expert on the theory there, but the maple help tells me that the first derivative of an 3rd degree spline interpolation should exist at the knots. But a derivation returns "undefined" at some of the knots instead. Here is my example:

x(t):=Spline([[0, 0], [1, 1], [2, 2], [3, 2.2], [4, 1.8]],t,degree=3);

returns

x(t):=piecewise(t < 1, .953571428571429*t+0.464285714285714e-1*t^3, t < 2, -0.9286e-1+1.09285714285714*t+.139285714285714*(t-1)^2-.232142857142857*(t-1)^3, t < 3, .65000+.675000000000000*t-.557142857142857*(t-2)^2+0.821428571428571e-1*(t-2)^3, 2.77857-.192857142857143*t-.310714285714286*(t-3)^2+.103571428571429*(t-3)^3);

 

diff(x(t),t);

returns

piecewise(t < 1., .953571+.139286*t^2, t = 1., Float(undefined), t < 2., .814286+.278571*t-.696429*(t-1.)^2, t = 2., Float(undefined), t <= 3., 2.90357-1.11429*t+.246429*(t-2.)^2, 3. < t, 1.67143-.621429*t+.310714*(t-3.)^2);

 

Not defined at t=1 and t=2. Is it possible to get an interpolation of which the first derivative exists at every point? Thank you very much!

 

This command (Student[Calculus1][ShowSolution](Int(e^(-(s-1)*t)))) shows me solutions.

and, the command in the picture can make integral solution but not laplace

so i ask you that what command make solutions for Laplace transform

y'(t)=1-y'(t-y(t)^2 /4),      t>=0

with initial function

y(t)=1+t,   0<=t<=1

please solve

guys 

in the worksheet i attached how can i collect  terms which include 1/w and 1/w^2 only ?

ss.mw

 

best regards

 

 

Sorry for making such a rude, big question. I have to solve these equations, but it's impossible ofcourse with my bad mathematics and even maple skills. Somebody help me pleaseㅠ_ㅠ

 

Differential equations

Hey there!

I uploaded a solid drawing from a CAD software (like solidworks, inventor, stl files, etc) into Maple using plottools:-importplot("drawing.stl"). 

Also, I know Maple can give me the normal vector (and point of intersection) using line and intersection commands, for example.

Now, is it possible to find a point of intersection (and the normal vector at that point) of a line that crosses the uploaded CAD solid?

I guess that to accomplish that, it would be necessary to somehow "map" the solid and that's the part that I am lost.

Many thanks!

 

 

hello all.

trying to integrate sach equation:

Fun := Diff(f(x), x);

int(Fun, x = 2 .. 7);

waiting that maple give my something like this f(7)-f(2). But it write only integration form.

 

What i need to have f(7)-f(2)?

 

Thanks.

guys,

i have a long term , i can not simpify it more. how  term - 1/w^6 r^2 multiply to every term in parenthese ?JJ.mw

 

 

thanks guys

 

 

please write a program on matlab or maple for this dde

y'(x)=-y(x-pi/2)       0<x<=10

y(x)=sin(x)       x<=0

tau=pi/2

 

IT IS URGENT PLEASE

i try to calculate function f on laplace and want to know the way tha how to be it calculated

what commands show it?

Hi all,

 

I wonder if any of you guys can figure out why this integral is taking more than 2 hours to return a result??

I had similar problems in the past that were fixed creating a procedure, changing the solver and in case of trigonometric functions, changing the argument from float to rational number. 

Here it goes:Meijer_question.mw

restart

 

``

 

ms := (1.141448075+9.645873109*10^(-11)*I)*(MeijerG([[], []], [[1/4, 1/4], [1/2, 0]], .3956862293*(-.70*x+1)^4)+(2.148399968-2.148399963*I)*MeijerG([[], []], [[1/4], [1/2, 1/4, 0]], -.3956862293*(-.70*x+1)^4)+(-12.48809431-3.188863063*10^(-9)*I)*MeijerG([[], []], [[0], [1/2, 1/4, 1/4]], -.3956862293*(-.70*x+1)^4)+(4.061500400*10^(-10)-8.649913391*I)*MeijerG([[], []], [[1/2], [1/4, 1/4, 0]], -.3956862293*(-.70*x+1)^4));

b := .7;

``

NULL

"H3p:=proc(ms,b) local Hcub;  Hcub := evalf(Int(diff((diff(ms, x))*(int((-x*b+1)*(int((ms')^2, x = 0 .. x)), x = 1 .. x)), x)*ms, x=0..1,method = _d01ajc)): return Hcub; end proc:   "

``

 

st := time(); ``*H3p(ms, b); time()-st

``


Thanks!

Download Meijer_question.mw

Hi, I'm currently from Mathematica and it starts to disappouint me because it cannot do what I can.

Can somebody try to calculate undefinite integral in Maple for x variable. a and b are parameters.

exp(a*x+b*x2)*erf(x)2

If Maple can do that then I would switch to Maple comunity.

Thanks,

Tim

In Maple 2015, on windows 8.1 64-bit the command
series(2*x*(x-y)/y, y = 0, 3);
gives

which is incorrect. The answer is


You can notice the minus sign in front the the -2x is incorrectly typeset, which makes me wonder if it's a bug in the typsetting program and not series itself.

Please fix asap

First 1238 1239 1240 1241 1242 1243 1244 Last Page 1240 of 2228