一、题意

  求椭圆内接矩形周长的期望。

二、推导过程

  已知$c$,容易得出矩形弦长$d=4a\sqrt{1-\frac{c^2}{b^2}}$

  接下来,矩形周长$p=4c+d=4c+4a\sqrt{1-\frac{c^2}{b^2}}$

  那么,椭圆内接矩形周长的期望值$E=\frac{\int_{0}^{b}(4c+4a\sqrt{1-\frac{c^2}{b^2}})\, dc}{b}$

  令$F(c)=\int_{0}^{b}(4c+4a\sqrt{1-\frac{c^2}{b^2}})\, dc$, 那么:

  $F(c)=\int_{0}^{b}(4c+4a\sqrt{1-\frac{c^2}{b^2}})\, dc$

    $=\int_{0}^{b}4c\,dc + \int_{0}^{b}4a\sqrt{1-\frac{c^2}{b^2}}\,dc$

    $=2b^2 + \frac{4a}{b}\int_{0}^{b}\sqrt{b^2-c^2}\,dc$

    $=2b^2 + \frac{4a}{b}(\frac{1}{2}(c\sqrt{b^2-c^2}+b^2*arcsin\frac{c}{b}))\,|_{0}^{b}$

    $=2b^2 + \frac{2a}{b}(c\sqrt{b^2-c^2}+b^2*arcsin\frac{c}{b})\,|_{0}^{b}$

    $=2b^2 + \frac{2a}{b}(b^2*\frac{\pi}{2})$

    $=2b^2 + ab\pi$

  所以,$E=\frac{F(c)}{b}=2b+a\pi$

转载于:https://www.cnblogs.com/fuzhihong0917/p/9445274.html

2018 Multi-University Training Contest 6-oval-and-rectangle(hdu 6362)-题解相关推荐

  1. Sichuan University Programming Contest 2018 Preliminary

    嗯为了防止大家AK,所以这次的A题和K题我们就当做不存在好了! 经历了昨天写了两个多小时的博客没保存的心态炸裂,今天终于下了个Markdown.所以我猜这篇的格式应该会更好看一点! 好吧废话不多说 题 ...

  2. 2018 Multi-University Training Contest 3 Problem F. Grab The Tree 【YY+BFS】

    传送门:http://acm.hdu.edu.cn/showproblem.php?pid=6324 Problem F. Grab The Tree Time Limit: 2000/1000 MS ...

  3. 2018 Multi-University Training Contest 4 Problem E. Matrix from Arrays 【打表+二维前缀和】

    任意门:http://acm.hdu.edu.cn/showproblem.php?pid=6336 Problem E. Matrix from Arrays Time Limit: 4000/20 ...

  4. 2021 HZNU Winter Training Day 17 (2018 German Collegiate Programming Contest (GCPC 18))

    2021 HZNU Winter Training Day 17 (2018 German Collegiate Programming Contest (GCPC 18)) 题目 A B C D E ...

  5. 2018 Multi-University Training Contest 7 Age of Moyu

    Age of Moyu 来追梦 Problem Description Mr.Quin love fishes so much and Mr.Quin's city has a nautical sy ...

  6. HDU 6091 - Rikka with Match | 2017 Multi-University Training Contest 5

    思路来自 某FXXL 不过复杂度咋算的.. /* HDU 6091 - Rikka with Match [ 树形DP ] | 2017 Multi-University Training Conte ...

  7. HDU 6051 - If the starlight never fade | 2017 Multi-University Training Contest 2

    /* HDU 6051 - If the starlight never fade [ 原根,欧拉函数 ] | 2017 Multi-University Training Contest 2 题意: ...

  8. HDU 6058 - Kanade's sum | 2017 Multi-University Training Contest 3

    /* HDU 6058 - Kanade's sum [ 思维,链表 ] | 2017 Multi-University Training Contest 3 题意:给出排列 a[N],求所有区间的第 ...

  9. 2017 Multi-University Training Contest - Team 3 Kanade's sum hd6058

    地址:http://acm.split.hdu.edu.cn/showproblem.php?pid=6058 题目: Kanade's sum Time Limit: 4000/2000 MS (J ...

最新文章

  1. CheckCode.js 前端验证码插件
  2. 分享文章《控制情绪,享受人生》
  3. 尝试修改LabelImg,将以对顶角画框改成以对角线相交点向四周画框
  4. QT的QNdefRecord类的使用
  5. 《绅士》Typecho个人博客模板主题
  6. 随想录(爬虫的几个技巧)
  7. oracle中job无法正常运行,如何排查
  8. LinQ—Lambda表达式
  9. Python sklearn 实现过采样和欠采样
  10. U盘被写保护不能重新格式化
  11. 矩阵标准型的系数是特征值吗_「线性代数」根据特征值,将二次型化为标准形、规范形...
  12. Toast基本使用方法
  13. 通过EasyPOI导入excel数据
  14. 移动智能终端之应用商店和应用的安全管理机制(笔记四)
  15. eacharts y轴留白策略
  16. 微信小程序简单实现类似饿了么,美团文字公告告示垂直循环滚动效果
  17. html怎样用for循环添加表格,萌新提问!!!如何用for循环循环表单?
  18. 一加手机怎么导出照片_一加5t怎么才能把手机相片上传到电脑上?
  19. asp毕业设计——基于asp+sqlserver的个人日志系统设计与实现(毕业论文+程序源码)——个人日志系统
  20. Leetcode 709 To Lower Case

热门文章

  1. C语言编写Scheme解释器,C语言编写logo语言解释器 ,求高手指导
  2. 加载模型预测时出现Dst tensor is not initialized.
  3. python怎么输出小数部分_python 输出小数控制
  4. python 杂记(二)
  5. Linux利用子命令m,Linux mdir命令
  6. Leetcode70场双周赛-第一题2144. 打折购买糖果的最小开销
  7. leetCode-88. 合并两个有序数组
  8. 自然语言处理期末复习(2)中文分词
  9. 【重庆】2021年下半年软考报考时间及通知
  10. C#中通过单例模式以及Dictionary实现键值对的映射,通过key获取value