Maths Solution to a equation

1 Ansicht (letzte 30 Tage)
Miguel Albuquerque
Miguel Albuquerque am 10 Mai 2022
hey guys, does anyone know how to solve this: to isolate n
cos^n(0.18)=sqrt(2)
thanks
  6 Kommentare
Torsten
Torsten am 10 Mai 2022
Can't you solve these equations for n ?
n * log10(cos(0.18)) = log10(sqrt(2))
n * log(cos(0.18)) = log(sqrt(2))
n * log2(cos(0.18)) = log2(sqrt(2))
Miguel Albuquerque
Miguel Albuquerque am 10 Mai 2022
yes I can

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

KSSV
KSSV am 10 Mai 2022
syms n
eqn = cos(0.8)^n == sqrt(2) ;
s = solve(eqn,n)
s = 
vpa(s)
ans = 

Weitere Antworten (0)

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange

Produkte


Version

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by