## 759 Reputation

13 years, 276 days

## Trig simplification...

Maple

Hi

I want to simplify sin(x)/cos(x) to tan(x).

i have tried command simplify(sin(x)/cos(x),trig);

and

trigsubs(tan(x))[4] = sin(x)/cos(x)

(wrong way round)

rgds

## Permute_locate...

Maple

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],

## digit sum iteration...

Maple

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.

## Isolating variable quotient...

Maple

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?

## Fibonacci_Number_ ending in 999...

Maple Toolboxes
 First 27 28 29 30 Page 29 of 30
﻿