MaplePrimes Questions

underline is a simple procedure:
> s := solve({5*A+3*B = 5, 8*A-9*B = 94}, [A, B]);
s := [[A = 109/23, B = -430/69]]
> assign(s);
> A; B;
109/23
-430/69

But, now what I want to use is not 109/23 or -430/69, but A or B.
That is to say, firstly, I need use root of equation, so Execute Command
> assign(s);
> A; B;
then, I can apply 109/23 or -430/69. Then later on, I want to use A or B, which now are viewed asariable? Now how can I do?

Hello.
A simple procedure:
> restart;
> A := Array([1, 2, 3,4,5,6])
> for i from 1 to 6 do
   B[i]:=2*A[i];
    od;
This procedure is runed, the results are
B[1] := 2
B[2] := 4
B[3] := 6
B[4] := 8
B[5] := 10
B[6] := 12

However, what I want is:
If A is saved in a arbitrary folder, for example c:\myp\*.txt(or excel,dat), how can I read these data?
Then, if I want last results to be saved in a folder, for example c:\myp\*.txt...

Hello everyone

i forgot to add, subtract, divid and multiple all infinties (∞) together and with any number and i want to know the indetermanite forms.

 

if anyone know, please try to respond quickly.

thank you all.

Latex to maple

I have the latex code

\lim_{(x,y)\rightarrow (0,0)}\frac{e^x+e^y}{\cos x-\sin y}

Can this latex language allow the entry of Ctrl+V

Hi, all of you.
I'm an engineering college student. And this is my first time to check the roots using the Maple.
But I tired to solve simultaneous equations and got  into some difficulties.

Acutually I'd like to get 6 roots[ A[i], t[i], i=(1,2,3).
Initial values are A[1]+A[2]+A[3]=1 and t[1]=0.

So I've simplified for 4 equations to get 4 root and to ask you.
Below, there is my code to get A[2], A[3], t[2] and t[3]. But it doesn't work well.

Hi,

I am using Maple 13 (hoping to upgrade soon) under Windows 7.

The open file dialog looks a bit weird, as per the illustration. Is this a known bug, and has it been fixed up in subsequent versions of Maple ?

thanks,
Andrew

 

Up until now, I have been using lists instead of sets in solve() in order to ensure the first equation is solved for the first variable, the second for the second, etc.  However, I have run into a case for which using an equation list and a variable list does not work, but the equation list alone is fine, and sets of both are fine, etc.  I would be grateful if somebody can explain why the first statement below does not produce a solution.

> soln := solve([foc1 = 0, foc2 = 0, foc3 = 0...

 

 

Let NULL

At one step of my code I need to define an array of functions which I will later use.

Simplified version of it to highlight the problem:

restart:with(linalg):
procG:=proc(a,b) if a>b then a-b else 0 end if end proc:
F:=vector(2):
for i from 1 to 2 do F[i]:=x->i*procG(x,0) end;

In the actual code array is much bigger and the expression for each function is much more complicated so using the cycle is a real 'must'.

Instead of F[1...

Hey,

i have 2 differential equations and want to solve the first one when x is positive and the second when x ist negativ. For this problem i wrote the follwing procedure. But when i try i have the posted error. Has someone a good idea to help me?

Thanks a lot

 

> DGL3 := 10*(D(D(x)))(t) = x(t);

> DGL4 := 10*(D(D(x)))(t)+5000 = x(t);

 

Tsolver:=proc()
global DG1, DG2, func, var, var_min, var_max, x, Dx, N:

I need to determine the general solution of the system of differential equations.

System of equations:

dx/dt = 2x-2z

dy/dt = 2y+2z

dz/dt = -2x+2y+4z

 

Thanks for the help!

for example:

>>simplify(cos(i)*sin(u)/sin(i),trig)

                    cos(i)*sin(u)/sin(i)

Maple do'not  simplify cos(i)/sin(i)=ctan(i) atomaticly.

also  half angle formulas:

>>simplify(sin(i)/(cos(i)+1),trig)

           sin(i)/(cos(i)+1)

i want to get tan(i/f)

I have an ODE to solve that looks like this: 

((diff(R(r), r, r, r, r))*r^4+3*(diff(R(r), r))*r-3*(diff(R(r), r, r))*r^2+2*(diff(R(r), r, r, r))*r^3-3*R(r)+4*R(r)*n+2*R(r)*n^2-4*(diff(R(r), r))*r*n+2*(diff(R(r), r))*r*n^2+4*(diff(R(r), r, r))*r^2*n-2*(diff(R(r), r, r))*r^2*n^2-4*R(r)*n^3+R(r)*n^4)/r^4 = (-108-1362*n+2122*n^2+2019*n^3-3032*n^4+401*n^7+1192*n^6-1033*n^5-25*n^9+6*n^10-180*n^8-4128*r^(n+3)*n^3+2304*r^(n+3)*n-576*r^(n+5)*n-760*n^6*r+575*n^5*r-244*n^7*r-2108*n^3*r-11616*r^(n+3...

old version define use
'homalg/default':=RPI;

in maple 15
libname := "D:/homoalg/10_homalg.lib",libname:
with(homalg):

> define(homalg, RPI, 'default');
Error, (in define) homalg is assigned
> hom2 := Hom(L, K, var);
Error, (in homalg/tablename) Since homalg/default is not defined, the last argument must be a table containing the (minimum) homalg conversions or an unassigned symbol pointing to such a table!
> define(homalg, 'RPI', 'default');

First 791 792 793 794 795 796 797 Last Page 793 of 1480