Maple 17 Questions and Posts

These are Posts and Questions associated with the product, Maple 17

Is there any way to write a function that determines the area of any n-sided polygon determined by a sequence of points? ie [[x_1, y_1]. [x_2, y_2], ... [x_n, y_n]] while returning 0 if any of the 2 segments intersect, otherwise print the area. Thanks for any help

Hello, everyone!


Last week I’ve encountered problems with integration of Maple 17 in Microsoft Office Excel 2013. The Maplesoft note on the point (http://www.maplesoft.com/support/faqs/detail.aspx?sid=32651) offers some ways of fixing it up, though I’ve run all of them the problem is the same:

While the connection is established, after entering the formula “=Maple(“x+x”)”, the Excel returns “Critical Error in Formula”

Before contacting the Maplesoft Technical Support, I want to ask here whether someone had the same case and managed to solve it.

Many thanks in advance.

I am using the ColumnSpace command (from the LinearAlgebra package) to generate a basis for the column space of a matrix. Is there any way to "force" the command to express the basis in terms of columns of A and not in the canonical form with leading 1's?

For example, for

A:=Matrix([[-3,6,-1,1-7],[1,-2,2,3,-1],[2,-4,5,8,-4]]):

I would like to obtain the following basis for the column space:

{[-3,1,2],[-1,2,5]}

 

Hi, 

I have the following six equations that I need to solve:

eq1 := A^5*f6+A^4*f5+A^3*f4+A^2*f3+A*f2+f1 = ln(V1);
print(??); # input placeholder
eq2 := B^5*f6+B^4*f5+B^3*f4+B^2*f3+B*f2+f1 = ln(V2);

eq3 := 5*A^4*f6+4*A^3*f5+3*A^2*f4+2*A*f3+f2 = F1/V1;
eq4 := 5*B^4*f6+4*B^3*f5+3*B^2*f4+2*B*f3+f2 = F2/V2;
eq5 := 20*A^3*f6+12*A^2*f5+6*A*f4+2*f3 = G1/V1-[F1/V1]^2;
eq6 := 20*B^3*f6+12*B^2*f5+6*B*f4+2*f3 = G2/V2-[F2/V2]^2;

 where V1, V2, F1 & F2 have previously been found/defined in the worksheet (document).

When I use the solve command, more often than not I get the expression for the numerical calculation for each variable f1-f6, rather than an actual value:

solutionset := solve({eq1, eq2, eq3, eq4, eq5, eq6}, {f1, f2, f3, f4, f5, f6})

{f1 = 0.4096495220755576e-2*[-1.328181534188746]^2-0.3072371415566682e-1*[-9.408269235937702]^2+12.64287210303000, f2 = .3686845698680018*[-9.408269235937702]^2-49.98313436120349-0.6690942193900774e-1*[-1.328181534188746]^2, f3 = -1.423532089212563*[-9.408269235937702]^2+150.6490386090756+.3909877105143377*[-1.328181534188746]^2, f4 = -.9490213928083751*[-1.328181534188746]^2+1.954938552571689*[-9.408269235937702]^2-190.3706247009334, f5 = .8192990441511152*[-1.328181534188746]^2-1.115157032316796*[-9.408269235937702]^2+103.8844069311055, f6 = .2275830678197542*[-9.408269235937702]^2-20.57204700597870-.2275830678197542*[-1.328181534188746]^2}

 

Why is Maple not giving me the actual value for the variables, and how do I get it to do so, everytime? [In fact it did output the actual values once – but I have no idea what I did differently: it seems to be very random….]

i.e. how do I output the following:

solutionset := {f1 = 9.930572749191651, f2 = -17.46685689954139, f3 = 25.33406943774393, f4 = -19.00233912206421, f5 = 6.620988906086421, f6 = -.8288827301180226}

thanks

Hi, I am trying to plot these two curves:

I tried:


with(plots);  A := Array(1..2)  A[1] :=plot (0.199563349672261+0.0178636902277546 x^1.14406289706794-0.0182070811144750 x^(1.13867380551454),x=50..2050,  color=red);  A[2]  := plot(0.298910542599302+0.0117459591500434 x^1.00390277106937-0.0137065176395662 x^0.970667551759677, x = 50..2050, color = blue);  display (A);

and I got:

Error, (in plot) unexpected option: .298910542599302+0.117459591500434e-1*x^1.00390277106937-0.137065176395662e-1*x^.970667551759677

so I tried

so I am not sure how I would graph these two functions...

I've been on this question a week now and still no conclusive answer! What I need is a function that produces the inequalities that determine a triangle given the 3 points and then using a 4th point, prints true if the 4th point satisfies 2 or 3 or the inequalities and prints false if it only satisfies 1 or none of the inequalities. I need to have this solved by tonight so any quick help would be greatly appreciated!

I need to make a graph that has dates 1/14/2000 on the x axis and intrest rates on the y axis but when i import my spread sheet from excell the dates keep getting converted into lager numbers like 37000 for some reason and i cannot figure out how to stop this odd conversion. Has anyone encountered this?? i tried looking up dates in maple hepl but cant find much on this topic. Hope i explained what is happening well enough. Graph_One_b.mwGraph_One_b.mw

So I have the energy of an ion at a several points in space, where the x and z coordinates have been varied from 0-1, keeping y constant. The data is in the following file: 

y=0.xlsx

 

When I come to produce a 3D surface plot (grid) of this file using the plots option in the context menu (on right clicking), the following is produced: the x-axis is in red and the y-axis (z-coordinate) is in blue.

Yet if I use the interactive plot builder, to plot the same data, the only option available to me is a 3D point plot, which produces the following:

[If I try to plot a 3D surface plot (points) using the context menu, I get stuck at a evaluating stage...]

as, ideally, I want a surface plot, why, in the surface plot (grid) is MAPLE not recognising the data that corresponds to the higher z-coordinate values and how I can produce a full surface plot... 

PDE.mw

Hi i attach the file that i have problem with.I guess it is not the first problem with datatype=float[8], but i will appreciate if someone could help me with it.

After calling pdsolve i get the answer in the module "structure", i try to plot it and i get :

Error, (in pdsolve/numeric/plot) unable to compute solution for t<HFloat(0.0):
unable to store [.02091392039809]-5.00000000000000 when datatype=float[8]

 

I am not sure how to interpret it and what should i change to make it work.

My PDE is a Bellman equation and my problem is that i actually know only one boundary condition "icond", is there a way to solve it without other conditions?

Thank you

I've just upgraded from Maple 15 to Maple 17, and discover that I cannot any longer write curly right braces in math mode. I use an international (Norwegian) keyboard, where curly right braces should be available by Ctrl+Alt+=, but nothing happens when I try to write this. I can work my way around it by using Copy and Paste, but this is inelegant, particularly when I want to demonstrate Maple for my class of 400 students.

Looking at older posts, I found this question, which concerns inline evaluation with international keyboard in Maple 16. Inline evaluation works fine for me, using Ctrl+Shift+=. So was this fixed at the expense of Ctrl+Alt+= ?

Fail to do Volume of Revolution when rotate in y-axis by using student calculus 1 packege.

It is good in any x-axis thorugh.

the erorr looks like this, I follow the direction on Maple website and enter axis = vertical, but it give me something like this.

I type vertical := x = 0 somewhere, I was wondering the Maple think vertical = x = 0, so O change the
vertical := x = 0 to v := x = 0(like first image), but after I run the whole thing it still give me same error.

The weirdest part is I actually run the second one scuccess first time, but second time it failed and I don't know why. I input exactly samething but it failed, weird!!


Hi folks,

from an experiment I gathered some data which I am now trying to display in a nice plot. The data contains x and y values (as well as errors for the y values, that are not part of my problem however). It appears that 'ErrorPlot' (Statistics package) seems to be the tool to use in my case, however I am not able to figure out how to assign the x values to the y values. By default Maple uses positive integers as the x values for any input set. Let's say my data is

x:=[1,5,8,9,10,15]

y:=[4,3,2,8,9,9] (with errors yr:=[0.5,0.5,0.5,0.5,0.5,0.5])

then, now matter how I try, the x values assigned are always 1,2,3,.. . Doing sth. like

> ErrorPlot([x,y]);

displays the sets of x and y each being assigned to integers rather than plotting y over x.
Can anybody help me with this issue?

 

tl;dr

How do I assign individual x values for my set of data using 'ErrorPlot' (from the Statistics pkg)?

 

Thank you very much!

Greets,
mulo

Hi 

Fairly new to Maple and having trouble with the result displayed when using exponential functions. 

So I have the following function h(r), in which f1 - f5 are unknown constants that are to be calculated. [I am attempting to set up the equations needed to do so]:

h := r → exp(f1 + f2r + f3r+ f4r3 + f5r+ f6r5)

Firstly, I need to evaluate h(r) at the point A. But, on entering the evaluate command, the general expression for h is re-produced:

A := 0.2

evalf(h(A)) 

exp(f6r^5+f5r^4+f4r^3+f3r^2+f1+f2r)

Further, I need to take the natural logarithm of h(A), which produces:

evalf(ln(h(A))

ln(exp(f6r^5+f5r^4+f4r^3+f3r^2+f1+f2r))

 

How do I get Maple to output the actual result of the substitution of r=A and the logarithm?

i.e. how do I get maple to display:

f1 + 0.2f2 + 0.04f3 + 0.008f4 + 0.0016f5 + 0.00032f6

 

Apologies if this is a very basic question. 

Cheers

Good afternoon sir.

 

I request your kind suggestion to the above cited query.

 

 

 

With thanks & Regards

 

M.Anand

Assistant Professor in Mathematics

SR International Institute of Technology,

Hyderabad, Andhra Pradesh, INDIA.

Find a loop do define these matrices, even for large values of n. Record the Matrix Mn 

 

all i,j=1,2,13,..,n for example 

N := `<|>`(`<,>`(1, 2), `<,>`(2, 2))

P := `<|>`(`<,>`(1, 2, 3), `<,>`(2, 2, 3), `<,>`(3, 3, 3))

Q := `<|>`(`<,>`(1, 2, 3, 4), `<,>`(2, 2, 3, 4), `<,>`(3, 3, 3, 4), `<,>`(4, 4, 4, 4))

 

Please help!!!

First 45 46 47 48 49 50 51 Last Page 47 of 61