Maths Solution to a equation

조회 수: 1 (최근 30일)
Miguel Albuquerque
Miguel Albuquerque 2022년 5월 10일
댓글: Miguel Albuquerque 2022년 5월 10일
hey guys, does anyone know how to solve this: to isolate n
cos^n(0.18)=sqrt(2)
thanks
  댓글 수: 6
Torsten
Torsten 2022년 5월 10일
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 2022년 5월 10일
yes I can

댓글을 달려면 로그인하십시오.

채택된 답변

KSSV
KSSV 2022년 5월 10일
syms n
eqn = cos(0.8)^n == sqrt(2) ;
s = solve(eqn,n)
s = 
vpa(s)
ans = 

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

태그

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by