MaplePrimes Questions

I am sorry if this was already mentioned in previous posts but I can not find it. I am dealing with plotting the solids of revolution. It is easy when you have explicit function form, for example 2-x^2. Then, when you want to rotate it around x axis and plot the obtained solid you could write:

> p := plot3d(2-x^2, theta = 0 .. 2*Pi, x = -sqrt(2) .. sqrt(2), axes = frame, coords = cylindrical):
> plots[display](p, orientation = [90, 0, 120]);

 

Just for fun last night I thought I'd try to whip up a simulation of the simple card game war.  The hoyle rulebook - evenly divide the cards up between 2 players facedown, turn over top card, highest card wins.  In the event of a tie the higher of the next overturned card wins (the more common variant is to play 3 facedown cards and turn up the 4th) - but that introduces more complexity to the programming ... I thought I'd tackle that later, but first ...

I apologize for the simpleness of this question. I have a table for example:

x = 11

y = 21

z = 65

 

and I want to just plot 11, 21, 65. How do I manage that? The order can just be the order from the table, ie (1,11), (2,21), (3,65).

 

Cheers!

I would like to know if it´s possible to generate a standalone .exe program based on Maplesim models, to be used out of maplesim and integrated with other tools i have.

I can use compilation in maplesim, but this just speed up the simulation, without giving to me a compiled external code.

I´m having to export maplesim modelica model to openmodelica environment, and generate an exe code there. the input and output parameters are transformed into text...

Hey guys, 

Its my first post, so please be lenient. I have done an internship at a theoretical physics department and part of my work was to plot a particular only numerically solvable integral over time (problem from Quantum Mechanics). I wrote a maple code and made it work, but it only produces results for certain values and even for those it takes more than one hour to plot one graph. Since this is my first big project written in maple, i assume, that the code...

hello

please help me


I want to know how to determine the number of digits

which digits after comma is repeated

like

1/3=0.333333333.........

and

1/11=0.090909090909.......

 

This should be a simple question. But sadly I couldn't figure it out on my own

:-(

I know how to get the multivariate Taylor series expansion of a function f of arguments X[1] and X[2], about zero, and to, say, the third order,


mtaylor( f(X[1],X[2]), [X[1],X[2]], 3 );

   f(0, 0) + D[1](f)(0, 0) X[1] + D[2](f)(0, 0) X[2]

        1       ...

I was wondering if anyone could explain the theoretical reason (ie derive the
expression for the probability) why the optimal solution for the secretary problem
with n=100 is equal to 100/exp(1) and the probability is (1/exp(1))*100

Robert Israel tend to be good at these kind of things....:-)

The problem can be stated as follows (wikipedia):

 1. There is a single secretarial position to fill.
 2. There are n applicants for the position, and the value of n is known.

hello everybody

i want to know how can i solve this equation

64(a-b+c+d+e+f+g)=32(b-a-c-d-e-f-g)=16(7c- a-b-d-e-f-g)=8(15d-a-b-c-e-f-g)=4(31e-a-b-c-d-f-g)=2(63f-a-b-c-d-e-g)=127g-a-b-c-d-e-f

 

please heeelp me

how do you calculate the inverse of a matrix A??

Is it Inverse(A) or inv(A)? Do I have to call [with (Matlab):]??

Hello Samir,

Could you explain me what this circuit couldn't be simulated if I replace the default fluid properties to the water's ones? The default fluid is an hydraulic oil, but for water (density = 998 kg/m^3, bulk coefficient = 2.2 10^9 Pa and cinematic viscosity = 10^-6 m^2/s) the simulation gives unsuccessful results. I tried with several solver with similar results.

Moreover, similar behaviours I experimented if I include chamber components into the hydraulic circuits.

Is there a way that I can plot this in Maple?

The question is:

Shade the region of the complex plane for which  (I*z-1)/(z-I)  is real.

This is real when x2 + y2 = 1 and (x,y) ≠ (0,1). How can I plot both of these things on one plot in Maple?

 

Codewords:=proc(L,x,y,z)
local
List:=[];

if L=S then
if x=1 then

print(`A 1 j k`);
else
print(`A 0 j k`);
fi:


if y=1 then

print(`B i 1 k`);
else

print(`B i 0 k`);
fi:
if z=1 then
print(`C i j 1`);
else

print(`C i j 0`);
fi:
fi:
if L=A then
if x=1 then

print(`S 1 j k`);
else

print(`S 0 j k`);
fi:

if y=1 then

print(`C i 1 k`);
else

print(`C i 0 k`);

How can I sort a list with radicals?

a:=[sqrt(8),sqrt(2),sqrt(39),-sqrt(5),sqrt(26)]

sort(a) returns the same list in the same order. 

Hi to you all, I'm brand new to this forum and I hope you could help me.

I wrote a Maple14 worksheet which perform data analysis, reading information from a set of file (usually 50 files) coming from an acquisition device. They are text file but the acquisition software produce them in the form:

namefile-0Ep.irr, namefile-1Ep.irr .... namefile-49Ep.irr

where "namefile" is the name I choose when i start the acquisition.

In order to perform...

First 1935 1936 1937 1938 1939 1940 1941 Last Page 1937 of 2431