MaplePrimes Questions

how to make below can be successfully run?

normaldiff := proc(f1)
return limit((subs(x=x+h,f1)-f1)/h, h=0):
end if:
recurdiff := proc(f2)
if f2 = 0 then
return 0:
end if:
if f2 <> 0 then
return limit((subs(x=x+h,normaldiff(f2)+recurdiff(f2))-(normaldiff(f2)+recurdiff(f2)))/h, h=0):
end if:

f := x;
normaldiff(f)+recurdiff(f);

expect return 1, is like normal diff

 

Hi I am reading this help document

http://www.maplesoft.com/support/help/Maple/view.aspx?path=SpaceCurve

and I cannot get maple to plot the same exact graph on that page, I receive this error

http://prntscr.com/8gzpt4

It only lets me plot 3 dimensional curves http://prntscr.com/8gzsry

When I downloaded the help document, the command executed. I cannot get it to work on my worksheet.

I even tried adding with(Student[VectorCalculus] ): and that did not help. 

I am clueless why this is not working.

Is there a way to upload a maple worksheet so you can see the error.

Hi, I'm new to Maple and have been trying to solve the below curve intersection. But the answer I am getting from Maple is incorrect and does not tally with the plot when drawn on excel, am I doing something wrong ???  (the intersect should be around x=93.9)

 

restart;
eq1:=y=86:
eq2:=y=-0.0000054527x^3+0.010903836x^2+0.0714244709x+74.18816:
sol:=solve({eq1,eq2},{x,y});

Hi Maple People,

I want to plot two parametric curves on the same plot.  Namely,

x1 = t^2 + t + 41; y1 = t^2 + 40;

x2 = 4*t^2 + 163; y2 = 2*t^2 + t + 81;

where -3 < t < 3

What is the syntax for this?

Regards, Matt

 

Hey,

i am trying to put u[0](zeta):=0 in maple but it gives an error, however it accepts u[0]:=0 but i have to involve zeta in it. help please.

 here is my program 

bc1 := u(x, y)-0;
dydxf := (1/2)*(-u[m+2](zeta)-3*u[m](zeta)+4*u[m+1](zeta))/h; 
bc1 := subs(diff(u(x, y), x) = subs(m = 0, dydxf), u(x, y) = u[0](zeta), x = 0, bc1);
eq[0] := bc1;
u[0](zeta):=(solve(eq[0],u[0](zeta)));

on pressing enter a new window opens of title

clerify expression.

parts of expressions are ambigous. please select one of the suggested meanings.

function defination or remember table assignment.

then it gives the error below
Error, unable to parse

:=(Zeta)->(solve(eq[0],u[0](Zeta)));

Hi,

why the output for this program just only "print BChange" not a matrix?

 

Der:=proc(A,n)

local i,j,k,t,S1,S2,l,C,sols,eqns,BChange;

C:=matrix(n,n); BChange:=matrix(n,n); eqns:={};

for i to n-1 do

  for j from i+1 to n do

    for l to n do

      S1:=sum(A[i,j,k]*C[k,l],k=1..n);

      S2:=sum(A[k,j,l]*C[i,k]+A[i,k,l]*C[j,k],k=1..n);

      eqns:=union(eqns,{S1=S2})

    end do

  end do

end do;

 

sols:=[solve(eqns)];

t:=nops(sols);

for i to t do

  for j to n do

    for k to n do

      BChange[j,k]:=subs(sols[i],C[j,k])

    end do;

  end do;

end do;

print (BChange)

end proc:

 

> A1 := array(sparse, 1 .. 2, 1 .. 2, 1 .. 2, [(1, 1, 2) = 1]):
> Der(A1, 2);
                                                                   print BChange

 

Can someone please advice me on this?

thanks

witribm

 

Bad title, I know. 

Suppose I have solved an ODE numerically, say for a function f(x). Now, I want to solve another ODE numerically, given by

diff(g(x),x) = f(x)*g(x)

I want to solve for g(x), and I only know f(x) from the numerical solution I obtained in the first ODE. How do I implement this in Maple?

I attached a worksheet with my naive attempt with this simple example. Basically I do not know how to set up the differential equation which I would then input to dsolve. 

ode.mw

Thanks!

why when maple cant solve the following?

pals ,i have problem when i want to refer to a number of an equation :

 

num.mw

 

thanks

Hi

there are two style to write on the worksheet mode (Text and Math)

I prefer the  writing  on  (text mode ) by pressing (f5) , but my  problem is when I press Enter to pass  to a new line on my page which has (test style). the style of page changes to (math).

my question is How can I fix a style of the worksheet page? 

 

 

hi there are two style to write on the worksheet mode (Text and Math)I prefer the  writing  on  (text mode ) by pressing (f5) , but my  problem is when I press Enter to pass  to a new line on my page which has (test style). the style of page changes to (math).my question is How can I fix a style of the worksheet page?hi there are two style to write on the worksheet mode (Text and Math)I prefer the  writing  on  (text mode ) by pressing (f5) , but my  problem is when I press Enter to pass  to a new line on my page which has (test style). the style of page changes to (math).my question is How can I fix a style of the worksheet page?

Hi everyone

I'm trying to solve the following system of ODE equations for my end paper and since I'm new with maple I couldn't find a way to do it. Can anyone Plz help me? I need to fit a curve to the result and gain a symbolic equation.

Here are the equations I need to solve

d^2*Y(x)/dt^2 = 500000*Y(x)*exp(-10/T(x))+d*Y(x)/dt

d^2*T(x)/dt^2 = 10*(-100000*Y(x)*exp(-10/T(x)))+d*T(x)/dt

with the follwoing boundary conditions:

Y(0)=1 , Y'(0)=0, T(0)=0 , T'(0)=0

I need to plot Y and T and then find then do the curve fitting thing.

I really appreciate your help.

I am trying to integrate solutions to a set of differential equations I have obtained numerically but keep getting this error:

Error, (in solW) invalid input: subs received sol(r), which is not valid for its 1st argument

For simplicity, let's say I am interested in integrating the function W(r), which I obtain from 

sol := dsolve({eqns, ics}, numeric, abserr = 10^(-10), relerr = 10^(-10), range = ymin .. ymax)

I then use

solW := r -> subs(sol(r), W(y))

This gives me W(r) for any r in the range ymin to ymax. But I cannot do anything with this function. For example, 

int(solW(r),r=ymin..ymax) or plot(solW(r),r=ymin..ymax) give the error above. I know that I can plot the solutions using odeplot, but is there something analogous for integrating the solutions? 

Thanks!

Why maple reorders expressions when they are exported in LaTeX? For long expressions this is very anoying!

 

Thank you

Hello

Previously today I had to do some chemistry assignments, which I did in maple, my long time favorite for such assignments.

However I have now encountered a severe problem. I cannot open my worksheet file, .mw. When I try to open it, it asks me whether to open the file as maple text, plain text or maple input??? 

Whatever one I choose, it either opens a blank page in maple, or maple just crashes.

The file in question should be attached. If you can open it, don't mind the language, it is danish

Any help will be greatly appreciated, best regards, Jens

Maple Worksheet - Error

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

Download Opgaver_fra_bog.mw

First 1229 1230 1231 1232 1233 1234 1235 Last Page 1231 of 2428