1

I would like to make this manipulation:

Solve[r Sin[α[t]] + l Cos[ϕ[t]] Sin[γ[t]] == 0, l*Cos[ϕ[t]]]

But it seems that the Solve function works only with variables.

However,

Solve[r Sin[α[t]] + l Cos[ϕ[t]] Sin[γ[t]] == 0, Cos[ϕ[t]]] 

works

Have you an idea to have a direct way to code the first code line?

m_goldberg
  • 107,779
  • 16
  • 103
  • 257
Bendesarts
  • 1,099
  • 5
  • 12

1 Answers1

1

I have a simple mind, so I tried the obvious.

sol =
 Map[
   Times[l, #] &,
   Solve[r Sin[α[t]] + l Cos[ϕ[t]] Sin[γ[t]] == 0, 
    Cos[ϕ[t]]],
   {3}][[1, 1]]

l Cos[ϕ[t]] -> -r Csc[γ[t]] Sin[α[t]]

Check

r Sin[α[t]] + l Cos[ϕ[t]] Sin[γ[t]] /. sol

0

m_goldberg
  • 107,779
  • 16
  • 103
  • 257