Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Does anybody know how to solve the attached quation analytically for rho? The solve command fails.

(Solving numerically and plotting with implicitplot3d works well.)

View 6629_maple1.mw on MapleNet or Download 6629_maple1.mw
View file details

Hi

How would I find the number of vertices, the number of edges and the degree of each vertex in the given undirected graph.

Please see the attached Maple file.  It has my work.

I would really appreciate any reply back.

Take care
 

 

Say I have an expression like this:


E = 1/(x^2 + y^2) + (x^2+y^2)

And let's say I want to make a substitution for t = (x^2 + y^2);

E = 1/t + t

Now I want to be able to differentiate this.  eg,

diff(E, x)

I should get:

- dt/dx / t^2 + dt/dx

How can I make Maple provide output in this form?  ie, I do not want to see an output of - 2*x/(x^2+y^2)^2 + 2*x

Hey, does anyone here know how to program the product Nystrom method for solving integral equations of the second kind? Thanks

Hi i am having difficulty converting a text file consisting of words into ascii code. using maple and vice versa.
I dont know how to.

My notepad text is  "(testing)" and i wanted maple to show me "testing"  in ascii code but i just dnt knw how to get it to do it.

Can someone please help me i would be very gratefull

Thank u

 

Hello.  I'm quite new to Maple and I've run into a problem.

My assignment is to create a program that takes input as plaintext, converts it into a matrix X using an alphabet, then encrypts it by multiplying the matrix X by a key matrix M.  Only problem is, I can't even get Maple to recognize a proper if statement.  The if statement is never triggered.

with(Maplets[Elements]):
with(StringTools):
with(LinearAlgebra):

block := 3;

maplet := Maplet(

 

I have a Bivariate Distribution that has a PDF equal to 

 

(1/2)*exp(-RootOf(erf(_Z)*b*exp(exp((-x+a)/b))+b*exp(exp((-x+a)/b))-2*exp((-x+a)/b))^2-RootOf(erf(_Z)*sqrt(Pi)*d+sqrt(Pi)*d-sqrt(2)*exp(-(1/2)*(-y+c)^2/d^2))^2)/Pi

 

(1/2)*exp(-RootOf(erf(_Z)*b*exp(exp((-x+a)/b))+b*exp(exp((-x+a)/b))-2*exp((-x+a)/b))^2-RootOf(erf(_Z)*sqrt(Pi)*d+sqrt(Pi)*d-sqrt(2)*exp(-(1/2)*(-y+c)^2/d^2))^2)/Pi

 

Hi everyone,

I am trying to write a proc for the binomial method for option prices.  I have the following code:

treeStockPrices := proc (s0, X, r, sigma, T, N)

local dt, u, d, a, b, p, L, i, j, k, m;

<p>How do I force values to be shown in scientific notation in a spreadsheet? The Format:Numeric Formatting ... menu selection seems to have no effect in this case. I also can find no option (ie hfloat) or interface parameter (ie Digits) that can be run within a function that will "massage" numbers to be scientific notation.</p>
<p>My application is ... I have a table of values and am doing a calculation ...</p>
<p><maple></p>
<p>DT := table():</p>
Hello, How can I combine a 2d contour plot with a 3d plot? i.e. the contour plot would appear at some z-level in the same box containing the 3d plot. Thank you

Dear all:

   suppossed i have a function as following :

f(x):=2*sin(x)*(sin(x)+I3*sin(3*x)+I5*sin(5*x))

where  x is belong to (0,Pi/2), I3,I5 is defined to I3^2+I5^2 < .232.

i have ploted some curves of f(x) . As to different I3 and I5, the curve of f(x) have different point of intersection with y=1 function, may one point or two  point or three where 0<x<Pi/2.

How come this doesn't work:

> A := {Matrix(2, 2, {(1, 1) = 1, (1, 2) = 1, (2, 1) = 1, (2, 2) = 1}), Matrix(2, 2, {(1, 1) = 0, (1, 2) = 0, (2, 1) = 0, (2, 2) = 0})};

> evalb(`in`(Matrix(2, 2, {(1, 1) = 0, (1, 2) = 0, (2, 1) = 0, (2, 2) = 0}), A));

Maple answers here false. Is the in-command only for numbers and not for matrices? How can I solve this problem?

Thanks!!

I'm working on a project in my Linear Algebra class dealing with Encrypting and Decrypting text. I have been trying for hours to find the right commands to do this the way my professor wants. Here's the question:

(a) Encrypt the following (choosing your own 3x3 key matrix):

"This class is starting to get boring" (Not including the quotation marks. There are 36 characters in this phrase.)

Use blocks of size 3 (ie a 3x12 matrix with all the characters) and the alphabet:

if anyone could please help me out with this code i would really appreciate it

> cuberootkj := proc (m, n)

local e, tol, x0, x1, x2, maxsteps, counter;

tol := 1/200000;

e := 1;  x1 := m;  x0 := n;

while tol < e do

x2 := (2/3)*x1+(1/3)*x0/x1^2;

e := x2-surd(x0, 3)

end do;

print("root"); x1

end proc;

 

i get this error message: Error, (in cuberootkj) cannot determine if this expression is true or false: 0 < 9399973/5400000-5^(1/3)

Hello,

I want to try to find the Laurent series centered about z=1 for the function f(z)=1/[(z+1)(z+2)] in the annular region |z|>3.  When I use the laurent() function, Maple returns the laurent series that is valid for 0<|z|<2.  Is there some way to restrict the domain of the function to make Maple return a Laurent series for a different domain?

Thanks

First 1966 1967 1968 1969 1970 1971 1972 Last Page 1968 of 2245