当前位置:网站首页>求余弦的大小
求余弦的大小
2022-06-22 09:10:00 【C_x_330】
public class CCC {
public static void main(String[] args) {
//60°转换为对应的弧度 Π/3 在调用余弦函数
BigDecimal bigDecimal = BigDecimal.valueOf(Math.cos(Math.toRadians(60.0)));
BigDecimal bigDecimal1 = BigDecimal.valueOf(1.0);
System.out.println(bigDecimal.divide(bigDecimal1,1,BigDecimal.ROUND_DOWN));
}
}边栏推荐
- Flask blog practice - realize the article list page and details page
- 性能优化专题
- Flask blog practice - form validation using wtforms
- 断言assert()
- Php+stripe payment API, the latest PHP version of stripe overseas payment tutorial
- 模板引擎,让交互变得优雅
- scnprintf和snprintf的区别
- Solidity from introduction to practice (II)
- Nouvelle éclosion de Coronavirus
- Webrtc series - iceconfig and stunping failure handling for network transmission
猜你喜欢

Kali Trojan invades win7 system

Sound and shadow 2022 heavy release! Detailed explanation of the new functions of Huisheng Huiying 2022

10.file/io stream -bite

User insight into the video industry in January 2022: active users began to pick up under the influence of holidays

Spark yard memory resource calculation and analysis (Reference) -- optimized configuration of executor cores, nums and memory

我的第一个Go程序

模板引擎,让交互变得优雅

滴滴二面总结

Navicat for MySQL连接MySQL数据库时各种错误解决

VMware安装Kali
随机推荐
[path planning] auxiliary points and multi segment Bessel smoothing RRT
Solidity from introduction to practice (6)
【node】脚手架搭建服务器,完成token验证
Flask blog practice - realize article management
【路径规划】辅助点与多段贝塞尔平滑RRT
Use record of rabbit nest
PHP online common color comparison table
Troubleshooting various errors when Navicat for MySQL connects to MySQL database
Introduction to ten free and open source PHP online stores abroad
【详解】神经网络矩阵的点乘与叉乘(pytorch版)
新型冠狀病毒疫情
Alibaba big fish SMS interface PHP version, simplified version Alibaba big fish SMS sending interface PHP instance
Sound and shadow 2022 heavy release! Detailed explanation of the new functions of Huisheng Huiying 2022
File upload attack and protection
【Tensorboard】所有雷区都踩,一文解决你所有问题
IP address (IPv4)
Thread. Source code analysis of start() method
list_head
Solidity from introduction to practice (III)
DOM programming