Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

I have a list of single digit integers

mylist:=[1,2,3];

and it is easy to use

for x in mylist do convert(mylist[x],binary) end do;

to obtain 1, 10, 11 as the result.

However if

mylist:=[1,2,25];

two values are converted sucessfully but the third produces "Error, invalid subscript selector"

whattype(mylist) gives "list"

whattype(mylist[3]); gives "integer"

 

 

 

Hi all,

is there some way to handle piecewise functions as if they were just another equation? In this case I´ve got a piecewise in 4 segments, one of them empty. The other segments are equations that solve a function for a variable under constraints, i.e. it shows somewhat like:

{(conditions1), q[O]=(...), (conditions2), q[O]=(...), (conditions3), q[O]=(...), else, []}

(I hope you get what I mean. The piecewise is a tad long and I wouldn´t...

Hi folks,

i am brand new to Maple so please excuse if i ask a probably simple question:

Is it possible to get data from the first row of an array into a DropDownBox?

 

I created an array named mat, if i type something like test:=mat(2..,1) Maple shows me the information i need in a column.

Now i want to create an Element (DropBox) in which i want to select data from a list that should show me the same information as the...

 

This is the fourth and final part of a blog post, the first three parts of which can be found here: Generating Samples from Custom Probability Distributions (I)

 

Hi,

I try to find minimum value for numbers as follow,

for i from 1 to 1000 do

x:= 1+i; 

y[i]:= 2*x+1;

a:=min(seq(y[k],k=1..1000));  print(a); od;

in this case the maple can not provide any solution

however, when i use 100 instead 1000 i obtain result as follow,

for i from 1 to 100 do x:= 1+i;  y[i]:= 2*x+1; a:=min(seq(y[i],i=1..100));  print(a); od;

could you please help me to solve this problem?

Has someone an idea how to create a hysteresis plot that models a system with hysteresis?

A simple plot can be created by plotting two arctan functions (g1,g2)

But, I'd rather need a continous function as in the second example (f1..3).

 

 

 

Dear all,

I'm learning an elliptic curve scalar multiplication algorithm on GF(p^m). I'm trying to find some examples about using Maple to implement an elliptic curve scalar multiplication algorithm on GF(p^m) so that I can learn and apply it to implement the algorithm I'm learning. 

However, I couldn't find any example up to now, maybe I'm unlucky.

Please help me if you know any Maple package or example that I can refer.

Thank you for your help in advance.

As alluded to in my previous post in this series, one of the most straight forward ways to test if a PRNG is generating good random sequences is by examining the frequency of 0's and 1's.  This is just a couple lines in Maple using Statistics:

(**) r1 := rand(0..1):L := [seq(r1(), i=1..10000)]:
(**) n := nops(L); tally := `+`(op(L));
(**) Statistics:-ChiSquareGoodnessOfFitTest(
[n-tally, tally], [n/2, n/2], ':-output'=':-hypothesis');

I have been using release 14, but was wondering whether MAPLE now can do things standard in MATLAB, JAVA: Is there a way to use the mouse for extract the coordinates of a point from a maple-plot [[ e.g. want to use initialize a dsolve() by graphically selecting the initil data.]] going further, is there a way to "draw" a curve on a maple plot using the mouse -- and get the coordinates of points along the curve back into the worksheet )(e.g. as an array that can be further manipulated)?

Hi guys,

I am wriiting some work in Latex and need to input some Maple code into my Appendix. Does anyone know how to do this? Also, if i have separate sections of code to input in different places, can I create subsections of the Appendix to cater for this?

Thanks in advance

 

I just started using Maple few weeks ago, so i am very new to Maple. I tried to write a program to:

1. read data from excel

2. process the data obtained from different excel sheets to find different possible combinations and calculate costs

3. then to find the minimum cost option

program i wrote is

> with(ExcelTools);
> SHEET1 := Import("analysis.xls", "su1", "A4");
`output redirected...`> print(); # input placeholder

I thought for sure something like this would have already been done in Maple (mapleprimes).  I see it's already been done over at Mathematica.  I must admit I am a bit jealous at how much Mathematica users have done.  So anyways ... something simple

for i from 1 to 10 do
  for j from 1 to 10 do

This is the third post in a four-part series; the earlier posts are Generating...

I haven't really explored the use of dials and gauges.  Normally the data responds to the dial settings, but does it work in reverse?  Can we have the gauges set up so that they respond to the data, during for example say an animation or something?

 I don't really have anything specific in mind, I was just wondering if it could be done.

This is not a question about any technical problem with Maple.I'm not even sure that is it a question or a post.Since I'm asking something inside it,I consider it as a question.I'm sorroy that it is too long.

 

In scientific computing(computational physics/chemestry/biology/enginnering),which needs a large amount of data to manipulate and then simulate,some high level programming languages(HLL) are used.

Different fields have different language of choice...

First 1789 1790 1791 1792 1793 1794 1795 Last Page 1791 of 2231