MaplePrimes Questions

I have a system of equations:

> c := .67;
print(`output redirected...`); # input placeholder
> r := `<,>`(r1, r2, r3);
print(`output redirected...`); # input placeholder
Vector[column](%id = 190246956)
> Y := `<,>`(gamma1(t), gamma2(t), gamma3(t));
print(`output redirected...`); # input placeholder
Vector[column](%id = 190247020)
> r1 := piecewise(gamma3(t...

I solved the following system using fourth order finite difference and shooting methed and i obtained the results below

but when i tried to solve it using dsolve in Maple I did not obtain the accuract results, I hope to know how to obtain accurate results with this system(the system is uploaded)


 restart; Pr := .72; a := 1; c := 1; lambda := 1; M := .2; lambda1 := .2; beta := 0; Ec := 0; A := 0; B := 0; R := 0;

sys := diff(f(t), `$`(t, 3...

Can someone please help me with the Maple language in solving the following equations?  I have already solved them by hand but I am new to Maple and am having difficulty with the coding language.  Here are the problems:

1.  Graph the parametric curve x=2t-pi*sin(t), y=2-pi*cos(t) from 0 to 20.  The curve forms loops, determine the arc length of one loop. 

2.  Graph the rose curve r=sin(4theta) in polar coordinates.  Determine the area of one pedal. 

Ok, first of all I renamed the return matrix R (A is allready used)
I now think I got two of them (minimize portfolio variance and minimize portfolio variance for a
given expected return in matrix form) figured out:

Cov := Matrix(CovarianceMatrix(R), datatype = float):
pr := .6*max([seq(ExpectedValue(Column(R, i)), i = 1 .. nstock)]):

A := Matrix([[seq(1, i = 1 .. nstock)]], datatype = float):
b := Vector([1], datatype = float):
Aeq := Matrix(...

How to make maple notify about calculated stage in example? As you can see fprintf+fflush doesnt work (hope stdout in maple has descriptor 0 as in others)...

P.S. Don't wait procedure done. Just interrupt.

Hi im new to maple and i need help. I have 2 Matrix, and want to calculate the  angles. I tried very different functions, but i dont get forward.

Did anyone can help me by my problem.

For example:

MAtrix A: 0,999     |    0,012  |-0,002

             -0,012    |   0,975   |-0,218


I have some data which have a binary tree structure.

Is there a simple way to plot (at least partially) my binary tree?

How can I specify the step size in solving complex system of ordinary differential equations using RK45 with dsolve command???



How can I model a ground pattern, like was done in the demos of the planetary rover (

I see in the block model of the planetary rover that there is a component called "ground pattern" and it is not connected to any of the other components of the model, and this component is also not part of any default libraries of Maplesim.

Hi, I've been introudeced to maple today and we were asked to think about how we'd write a two argument Ackermann code. I appreciate that computing power can lead to problems when workin gout this kind of recursive problem. I've done a bit of reading around but no joy on the maple front to be honest.


I thought the code may look like something like this but it's not right. Any thelp would be greatly appreciated!

# Ackermann-Peter function

I Follow the instructions to connect with matlab but when i type for example ( Matlab[setvar]("x",3.14);) it doesn't work.

i don't know why? my windows is 7 .

In Maple 14, some functions involving coth do not plot correctly when using "plot".


> restart;
rS := 10000; cS := 1;
ZWarbSolid := rS*coth((((1/4)*rS*cS*I)*exp(2*Pi*freq))^.5)/(((1/4)*rS*cS*I)*exp(2*Pi*freq))^.5;
> with(plots);
p1 := plot([Re(ZWarbSolid), -Im(ZWarbSolid), freq = .4 .. 3.4], color = red, scaling = constrained, style = point);p2 := plot([freq, -Im(ZWarbSolid), freq = .4 .. 3.4], color = blue, style = point...



type(s, smth rational)  should return true and type(s2, smth rational) -false. How to do that?



I am doing some complicated computations in Maple, and I noticed something was wrong. For some reason, Maple makes the sum of 1 a zero, although he knows that it is a 1.

this is the code:

I ‘d like to compute something as follows at certain r and z, but first I must compute the integral and then substituting the r and z values.

A(r, z) = int( f(r,z, teta), teta=0..0.78)

But the problem: f is a complicated function of the 3 variables (including BesselJ(0,..), sin & root square functions, ..!!) thus a simple int command...

First 789 790 791 792 793 794 795 Last Page 791 of 1424