pirolafire

173 Reputation

2 Badges

10 years, 128 days

MaplePrimes Activity


These are questions asked by pirolafire

Hello

I am trying to plot a 3d function, but there is a problem.

Here is a screenshot of the problem img130.imageshack.us/img130/6008/3dplotproblem.jpg

thank you

Hello,

I would like to graph a piecewise parametric function:

1 < t < 2
x(t) =1.146967180*(t-1)^3-2.178399723*(2-t)^3+38.3612214*t+106.1461765
y(t)=.3047483217*(t-1)^3-.5750322227*(2-t)^3+10.1163822*t+444.0230985

2 < t < 3
x(t)=-.4672626810*(t-2)^3+1.146967180*(3-t)^3+45.2430246*t+92.3825701
y(t)=-.1402738345*(t-2)^3+.3047483217*(3-t)^3+11.9448719*t+440.3661194

.. and so on and so forth

I have searched and tried playing with the plot command but to no avail.

I have a 3x3 matrix called test, I am trying to compute the sum of all the elements of the first line.

 

sum(test[1,j],j=1..3)

Error, bad index into Matrix
 

how to do?

 

thank you

I have written a procedure.  Without going into details, here is the pseudocode of the procedure:

time:=proc(begin,end,c,deltaT)

t:=0;
v:=0;
accel:=5
where-we-at:=a;

while where-we-at =/= end do

distance:=*distanceformula*;
where-we-at:=*where-we-at* formula;
t:=t+deltaT;
v:=someformula;
accel:=accelformula;

end do;
return(t);
end proc:

 

Hello, I have about 80 equations for x and 80 equations for y. They are called Sx_0 .. Sx_80 for x and Sy_0 .. Sy_80. They all depend on parameter m.

I want to define a new piecewise function P such as,

P evaluated at m=i  is equal to [  Sx_floor(i) evaluated at i , Sy_floor(i) evaluated at i ]

For example,

1 2 3 Page 1 of 3