Maths Solution to a equation

3 次查看(过去 30 天)
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))

请先登录,再进行评论。

采纳的回答

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 中查找有关 Assumptions 的更多信息

标签

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by