LoginSignup
0
0

More than 3 years have passed since last update.

c++ の二分法について

Posted at

f(θ)=0.245cosθ-0.098/(cosθ)^2=0となるようなθの値を二分法によって解析し、求めたθを
g(θ)=-0.245sinθ+0.196sinθ/(cosθ)^3に代入しg(θ)が正になるか、負になるかを調べたいのですがどのようにコードを書けばいいでしょうか?
また、θの角度は0≦θ≦πです。

0
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0