brian bovril

769 Reputation

16 Badges

13 years, 342 days

MaplePrimes Activity


These are questions asked by brian bovril

Hello

I need a procedure, or command, which will identify the unique sets which sum to 1 (from a permuted list).

by way of explanation:

> with(combinat);

>A := permute([1, 1, 0, 0, 0, 0, 0, 0], 8);


[[1, 1, 0, 0, 0, 0, 0, 0], [1, 0, 1, 0, 0, 0, 0, 0], [1, 0, 0, 1, 0, 0, 0, 0],

  [1, 0, 0, 0, 1, 0, 0, 0], [1, 0, 0, 0, 0, 1, 0, 0],

  [1, 0, 0, 0, 0, 0, 1, 0], [1, 0, 0, 0, 0, 0, 0, 1],

  [0, 1, 1, 0, 0, 0, 0, 0], [0, 1, 0, 1, 0, 0, 0, 0],

View 2735_add.mw on MapleNet or Download 2735_add.mw
View file details

Hi

what i want is a procedure to do the following:

given an integer input, add the digits together. if the no. of digits resulting is >1 repeat until a single digit remains.

Hi, is it possible for maple to isolate a variable quotient (with one command)?

i.e. for the expression

eq:= 0 = g-b*v_t/m

-> b/m = g/v_t

I tried this:

isolate(eq, b/m);
 

and got

"Error, (in isolate) 0 = g-b*vt/m does not contain b/m"

if however I isolate for b and then divide by m i get whats required:

isolate(0 = g-b*v_t/m, b)/m;
b/m = g/v_t

is there a more direct way?

 

Hi If anyone has the Global Optimization Toolbox loaded, could you crunch the following worksheet to see if a global minima can be found rgds View 2735_NLPSolveT8-global.mw on MapleNet or Download 2735_NLPSolveT8-global.mw
View file details
First 28 29 30 31 Page 30 of 31