Lockoman

25 Reputation

2 Badges

13 years, 279 days

MaplePrimes Activity


These are questions asked by Lockoman

Hello there!

I'm looking for some help with my maple code ^^

Here's the problem:

 

I have 2 Arrays, A and B. A is an array of points each with its own x and y coordinate ( [[1,3],[5,4],[4,5],...] ) array B is an array of values ( [0.5,0.2,0.1,0.6,.....] ). My goal here is to plot with a dot on each of the coordinates in A with a circle around them of radius of the corresponding value in B. ( the first point [1,3] will be printed on the graph as well as a circle of radius 0.5 ...

Hello there, 

I have been having trouble removing elements from a list using the subsop tool.

I have a list A containing smaller lists of 2 values (A=[[0,1],[2,2],[4,5],[-1,-2], ... ]). My goal is to set boudaries to these sublists such as if the "y" (second value in any sublist) value is greater than 3, remove it from the list. here is what my code looks like

 

for i from i to n do
  if evalf(op(2,op(i,A))) < 0 then 
    subsop(i=NULL,A);
  fi;
od;

Hello!

 I'm new to maple and I'm having some difficulties with coding.

I'll explain the problem

I have 2 vectors, a1 and a2, and I want to make a new set of vectors R(n,m) where R(n,m) = n*a1+m*a2 for n and m from 1 to 100 (as an example). This will create n*m vectors (in this case 10000) that will be marked as R(0,0), R(1,0), R(0,1), R(1,1), R(2,1), ...

It seems as though this would be simple but I haven't found a way to get the repetition statement ...

Page 1 of 1