<%@ Page Language="C#" %>



<!DOCTYPE html>
<html  >
<head><title>

</title><meta name="viewport" content="width=device-width" />
          <script src="../javascript/jquery-1.12.4.min.js"></script>
    <link href="../javascript/layui/css/layui.css" rel="stylesheet" />
    <script src="../javascript/layui/layui.js"></script>

    <link href="../javascript/pandao-markdown/lib/katex/katex.min.css" rel="stylesheet" />
    <script src="../javascript/pandao-markdown/lib/katex/katex.min.js"></script> 
     


    <style>
        h5{ color:red; font-weight:bold }
        table{ width:100% }
        table,td,th{ border:solid 1px #000 !important; border-collapse:collapse; }
         th{  background-color:#eaecf0 }
         math{ cursor:pointer}
    </style>

   
    

    <script   src="../javascript/pandao-markdown/lib/katex/auto-render.min.js"  
    onload="renderMathInElement(document.body);"></script>
  <script>
      document.addEventListener("DOMContentLoaded", function () {
          renderMathInElement(document.body, {
              // customised options
              // • auto-render specific keys, e.g.:
              delimiters: [
                    { left: '$$', right: '$$', display: true },
                   { left: '$', right: '$', display: false },
                    { left: '\\(', right: '\\)', display: false },
                    { left: '\\[', right: '\\]', display: true }
              ],
              // • rendering keys, e.g.:
              throwOnError: false
          });
      });
</script>




</head>
<body   style="padding:10px; line-height:40px; font-size:16px;">
    <form >
 
 
   
        <div class="alert" style=" font-size:13px; line-height:30px; border:solid 1px #ccc">
            双击选择公式，如果公式有误，请到<a href="http://www.dotnetcms.org" target="_blank">启明星官网</a>反馈，
            数据公式会不定期更新。


        </div>
     



        <div class="t">

         <h5 class="t1">圆锥曲线的类型</h5>


      
<table class="table ">
   
    <tr  >
      
        <th  >圆锥曲线</th>
          <th  >方程</th>
          <th  >离心率(e)</th>
          <th  >半焦距（c）</th>
          <th  >半正焦弦（ℓ)</th>
          <th  >焦点准线距离（p）</th>
        
   
    </tr>

      <tr>

            <td>
     <math>圆</math>
        </td> 

        <td>
     <math>x^2+y^2=a^2 </math>
        </td> 

             <td>
    <math> 0 </math>
        </td> 


             <td>
    <math> 0 </math>
        </td> 


             <td>
    <math> a </math>
        </td> 

             <td>
      <math> \infty</math>
        </td> 


            
    </tr>

     







    
      <tr>

          
            <td>
     <math>椭圆</math>
        </td> 
        <td>
  <math>\frac{x^2}{a^2}+\frac{y^2}{b^2}=1</math>
        </td> 

             <td>
 <math>\sqrt{1-\frac{b^2}{a^2}}</math>
        </td> 


             <td>
   <math>\sqrt{a^2-b^2}</math>
        </td> 


             <td>
    <math>\frac{b^2}{a}</math>
        </td> 

             <td>
   <math>\frac{b^2}{\sqrt{a^2-b^2}}</math>
        </td> 


            
    </tr>





















    
      <tr>

          
            <td>
     <math>抛物线</math>
        </td> 
        <td>
  <math>y^2=4ax  </math>
        </td> 

                  <td>
   <math> 1 </math>
        </td> 


             <td>
 <math> -  </math>
        </td> 


             <td>
  <math> 2a  </math>
        </td> 


             <td>
   <math> 2a  </math>
        </td> 
           
            
    </tr>




    
      <tr>

          
            <td>
     <math>双曲线</math>
        </td> 
        <td>
<math>\frac{x^2}{a^2}-\frac{y^2}{b^2}=1</math>
        </td> 

                  <td>
<math>\sqrt{1+\frac{b^2}{a^2}}</math>
        </td> 


             <td>
<math>\sqrt{a^2+b^2}</math>
        </td> 


             <td>
  <math>\frac{b^2}{a}</math>
        </td> 


             <td>
<math>\frac{b^2}{\sqrt{a^2+b^2}}</math>
        </td> 
           
            
    </tr>

    </table>
   </div>

        


  
     

          


  
     

           
    </form>


    <script>

        $("math").each(function () {
            var math = $(this).html().trim();
            var old = $(this).html().trim();
            old = "$$" + old + "$$";
            $(this).html(old);
            $(this).data("forum", math);
        }
  );



        var _idx = 0;
        $(".t h5").each(function () {
            _idx = _idx + 1;
            $(this).html(_idx + "." + $(this).html());

        });



        $("math").dblclick(
            function () {

                var html =  $(this).data("forum") ;
                html = html.trim();
                parent.Editor_<%=Request.QueryString["guid"]%>.codeEditor.replaceSelection("\r\n```math\r\n" + html + "\r\n```\r\n");
                parent.enablescroll();
                parent.layer.closeAll();



             
 


            }
            );
    </script>

    
</body>
</html>
