MrMarc

3163 Reputation

18 Badges

17 years, 130 days

MaplePrimes Activity


These are questions asked by MrMarc

hi,

I have two columns as seen below. I want to sort column Y in descending order but I want to                                                                      return the the X value of such a Y value as well.

 

How do I save output from print(%) in a list [ ] ?

I can copy and past the output and then define it but I want to find a way without copy paste

A:=[ output 1 from print(), output 2 from print(), output 3 from print() etc etc ]

 

ok, I have an excel sheet contaning three columns of data for 250 stocks .  

time          stock             close

2005         stock A           200

2006         stock A           300

2005         stock B          100

I have a large section of code which comes down to one single value  which is different each time you execute the section due to a

random component.  I want find a simple way I can loop the complete section of code and get the output 1, output 2, output 3 etc etc

without having to go in and put [ i , j ] on every single variable. I can do it manually by just start in the begining and press

enter all the way , write down the result and move the cursor to the begining again and start all over again but it is very time consuming.

Hi,

I have an equation given by

( 15.3*r_1 - 0.6 + 5.7 * r_2 ) / ( 21.0*r_1 - 3.1 + 84.8*r_2 )

what command do I use to collect r_1 and r_2 so i get

(r_1 + r_2 ) * ...... -.....    /   (r_1 + r_2) *....... - ......

First 31 32 33 34 35 Page 33 of 35