MaplePrimes Questions

Hi,

 

I am using densityplot function to produce different plots of a function. The function depends on two variables q and yi .

densityplot(f, q = 0 .. 1, yi = 0 .. 1, grid = [100, 100], style = patchnogrid, color = "Red", axes = boxed, axesfont = [Times, Roman, 15], labelfont = [Times, Roman, 15])


I pass the command style = patchnogrid, but still I get these white lines which I believe are grid lines. 
In the example provided in maple tutorial, when they used this command, all gridlines were removed. Why are they not removed in my plots?

if the plot is not visible, click the link

https://www.dropbox.com/s/7xxfefv8n1arr4q/Example.jpg?dl=0

plot

I have used the command "op" in a code that I have written with Maple 17. When I restart the maple server and run the whole code again, the result of the "op" command changes! why is this happening?

Hi all

How can I produce following matrix by maple?

the order of matrix should be {N*(m+1)}*{N*(m+1)} where N is known constant

 

thanks for any guide

 

Mahmood   Dadkhah

Ph.D Candidate

Applied Mathematics Department

How do you use algcurves and Puiseux series in Maple?

Dear all,

 

I've a very complicated matrix, and I'm unable to read the result by maple. It should be a 6x6 matrix.

What mean the following expression ?

Thank you for your help.

 

 

 

Hi,

I trying to simulate a force sensor on robot arm, but every time I try something, I get nothing from my sensor, can you help me?

 

Here it's my "design":

 

Also, if I add a rigid body I get this error:

Thanks!

 

 

Hi,

I am trying to plot only the real part of the values obtained from the MapleSim model.  Probably there is a Modelica function to get only the real part of the values, but I am unable to find it. Could you please have a look at the code and let me know what I should do to solve this problem?

Best

Onder

 

The code is: (I want to plot the real part of R2)

 

model IKTest

parameter Boolean switched = false;
parameter Modelica.SIunits.Length L1 = 0.100;
parameter Modelica.SIunits.Length L2 = 0.102;
parameter Modelica.SIunits.Length L3 = 0.5;
//parameter Real c; //Complex number
//parameter c;

Modelica.Blocks.Interfaces.RealInput u[3]
annotation (Placement(transformation(extent={{-140,-20},{-100,20}},rotation=0)));
Modelica.Blocks.Interfaces.RealOutput y[3]
annotation (Placement(transformation(extent={{90,-10},{110,10}},rotation=0)));

Real Tx = u[1];
Real Ty = u[2];
Real Tz = u[3];
Real R1 = y[1];
Real R2 = y[2];
Real R3 = y[3];

equation

R1=atan(Ty/Tz);
R2=(acos((L1^2+L2^2-(sqrt(Tx^2+Ty^2+Tz^2))^2)/(2*L1*L2)));

//2*Modelica.Math.asin(1.0)
//R3=R2.re;

annotation (uses(Modelica(version = "3.1")));
end IKTest;

Phil Yasskin (Texas A&M) has prepared a maplet for the Maplets for Calculus proiect. While this maplet works, in Malmem 18 it sometimes does NOT display the plot. We don't see this behavior in Maple 17, The maplet is attached for your convenience, if you are interested in seeing if it works for you.

HorAsymp-KD-ms-PY3.mw

The problem is difficult to describe. Basically, at the end of the problem, users can elect to see a plot of the function with(some) asymptotes. The code creates the plot when the problem is created, and displays this plot in the worksheet. But, when the plot is requested within the mapmlet, it sometimes does not show in the empty plot window.

Any explanations (or followup quesitons) will be greatly appreciated.

Doug

---------------------------------------------------------------------
Douglas B. Meade  <><
Math, USC, Columbia, SC 29208  E-mail: mailto:meade@math.sc.edu
Phone:  (803) 777-6183         URL:    http://www.math.sc.edu

Hi,

I read this thread, but it didnt really help.

test.mw (i noticed an error in the expression pj, now fixed!)

See this file above.

The function needs to be maximized is "loglik", with constraints,

f0>0, sigma>0 and mu is FREE. Only three variables.

 

Using some calculus and by changing variables, I was able to use Gauss–Hermite quadrature, and do some approximation, to get the values:

f0=105.9535

mu=-2.1587

sigma=3.5156

 

I am wondering if Maple can do this straight away. By that, I mean, without doing much further,  how could I get the values? (most efficiently and quickly)

 

Thanks,

 

casper

 

http://www.mapleprimes.com/questions/122813-Is-It-Possible-To-Optimize-This-Kind-Of-Integral

Hi Again

Assume that we have known matrix namely, Q, of order (m+1)*(m+1) and we want to construct following matrix

where 0(bar) is zero matrix of orde (m+1)*(m+1) and New matrix should be of order {N*(m+1)}*{N*(m+1)} where N is known constant.

thanks for any guide


Mahmood   Dadkhah

Ph.D Candidate

Applied Mathematics Department

I wrote down a proceduer in maple for solving integro diff. equations which result in an ill conditioned linear system of algebraic equations. I used the LinearSolve command with method=LU to solve the system but my algorithm failed, and does not converge. Is there any command in maple for solving such systems

I tried to get the limit for this sqrt(-2*cos(alpha)*cos(alpha+d)+2-2*sin(alpha+d)*sin(alpha))/d, from right side

input

limit(sqrt(-2*cos(alpha)*cos(alpha+d)+2-2*sin(alpha+d)*sin(alpha))/d, d = 0, right);

return

sqrt(-signum(-2+2*cos(alpha)^2+2*sin(alpha)^2))*infinity;

when tried for next time

limit(combine(sqrt(-2*cos(alpha)*cos(alpha+d)+2-2*sin(alpha+d)*sin(alpha))/d), d = 0, right);

return

1

note that the expression evaluated is the same, but returns different answers, is there somebody know why or how to avoid maple to return wrong answers

Hello,

I have a little question about the display of the kinematic joints which are usually in red.

I didn't know why the kinematic joints have disappeared and I don't know how to display them again.

Do you have an idea about the button I have to use so as to display the kinematic joints.

Thanks for your help.

Hi,

This maybe a really simple question, I remember this is doable but couldnt find where the answer is.

Say I write a function to sum up all values in the list,

mysum:=proc(data::list)

return printf("The sum is %3.3f. ", sum(data[i],i=1..numelems(data)));

end proc;

 

and I use it like,

mysum(listA);

mysum(listB);

 

How would I print out a more informative string, like this:

"The sum of listA is %3.3f. "

"The sum of listB is %3.3f. "

 

Use "data", the input, as a string argument.

 

Thanks,

 

casper

Hi all.

Assume that a Matrix P is (m+1)*(m+1) known matrix and we want to construct following special matrix

where

and

how can we do it by maple?

Note that the required matrix is of order k(m+1)*K(m+1)

 

thanks for any guide

 

Mahmood   Dadkhah

Ph.D Candidate

Applied Mathematics Department

First 1385 1386 1387 1388 1389 1390 1391 Last Page 1387 of 2429