最后更新于 2 年前

```
java.sql.SQLException: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'train_cloud.ts.train_no' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by Query: select ts.id, ts.train_no trainNo, ts.duration, ts.railways_bureau railwaysBureau, ts.train_line trainLine, count(s.id) stationCount from train_schedules ts left join station_infos s on ts.id = s.train_schedules_id group by ts.id Parameters: []
at org.apache.commons.dbutils.AbstractQueryRunner.rethrow(AbstractQueryRunner.java:392)
at org.apache.commons.dbutils.QueryRunner.query(QueryRunner.java:351)
at org.apache.commons.dbutils.QueryRunner.query(QueryRunner.java:289)
at com.ornos.traincloud.dao.impl.BaseDaoImpl.getResultBySQL(BaseDaoImpl.java:183)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:266)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
at com.sun.proxy.$Proxy29.getResultBySQL(Unknown Source)
at com.ornos.traincloud.dao.impl.TrainScheduleDaoImpl.getAll(TrainScheduleDaoImpl.java:33)
at com.ornos.traincloud.service.impl.TrainScheduleServiceImpl.getAll(TrainScheduleServiceImpl.java:22)
at com.ornos.traincloud.controller.TrainScheduleController.get(TrainScheduleController.java:34)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:781)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:721)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:943)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:522)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:1110)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:785)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1425)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
```

最后更新于 2 年前

```
<template>
<div class="posts">
<h1>Load posts</h1>
<div class="panel panel-default">
<div class="panel-body" v-for="post in posts">
<a href="#">{{ post.title }}</a>
</div>
</div>
</div>
</template>
<script>
export default {
ready() {
this.$http.get('http://127.0.0.1:8080/v1/posts').then((response) => {
this.$set('posts', response.json())
}, (response) => {
console.log('error!');
})
},
data() {
return {
}
}
}
</script>
```

最后更新于 3 年前

最后更新于 3 年前

```
from sqlalchemy import create_engine
engine = create_engine('sqlite:///:memory:', echo=True)
from sqlalchemy.ext.declarative import declarative_base
Base = declarative_base()
from sqlalchemy import Table
from sqlalchemy import Column
from sqlalchemy import Integer
from sqlalchemy import String
from sqlalchemy import DateTime
from sqlalchemy import Text
from sqlalchemy import ForeignKey
from sqlalchemy.orm import relationship
from datetime import datetime
class UserInfo(Base):
__tablename__ = 'users_info'
id = Column(Integer, primary_key=True)
nickname = Column(String)
def __repr__(self):
return '<UserInfo(id=%s)>' % self.id
class User(Base):
__tablename__ = 'users'
id = Column(Integer, primary_key=True)
user_info_id = Column(Integer, ForeignKey('users_info.id'))
username = Column(String(25), unique=True)
password = Column(String(12), nullable=False)
created_at = Column(DateTime, default=datetime.now())
user_info = relationship(UserInfo)
posts = relationship('Post')
def __repr__(self):
return '<User(username=%s)>' % self.username
posts_tags = Table('posts_tags', Base.metadata,
Column('posts_id', Integer, ForeignKey('posts.id')),
Column('tags_id', Integer, ForeignKey('tags.id'))
)
class Post(Base):
__tablename__ = 'posts'
id = Column(Integer, primary_key=True)
user_id = Column(Integer, ForeignKey('users.id'))
title = Column(String)
content = Column(Text)
user = relationship(User)
tags = relationship('Tag', secondary=posts_tags)
def __repr__(self):
return '<Post(id=%s)>' % self.id
class Tag(Base):
__tablename__ = 'tags'
id = Column(Integer, primary_key=True)
name = Column(String)
def __repr__(self):
return '<Tag(name=%s)>' % self.name
if __name__ == '__main__':
Base.metadata.create_all(engine)
from sqlalchemy.orm import sessionmaker
Session = sessionmaker(bind=engine)
session = Session()
user_info = UserInfo()
user_info.nickname = 'david'
user = User()
user.username = 'user1'
user.password = 'pass1'
user.user_info = user_info
session.add(user_info)
session.add(user)
session.commit()
tag1 = Tag()
tag1.name = 'python'
tag2 = Tag()
tag2.name = 'java'
post1 = Post()
post1.title = 'title1'
post1.content = 'content1'
post1.user = user
post1.tags.append(tag1)
post2 = Post()
post2.title = 'title2'
post2.content = 'content2'
post2.user = user
post2.tags = [tag1, tag2]
session.add(tag1)
session.add(tag2)
session.add(post1)
session.add(post2)
session.commit()
print "print all posts belong to user2"
print session.query(Post).filter(Post.user.has(username='user2')).all()
print "print all posts have java tag"
print session.query(Post).filter(Post.tags.any(name='java')).all()
```

最后更新于 3 年前

```
// +----------------------------------------------------------------------
// | JuhePHP [ NO ZUO NO DIE ]
// +----------------------------------------------------------------------
// | Copyright (c) 2010-2015 http://juhe.cn All rights reserved.
// +----------------------------------------------------------------------
// | Author: Juhedata <[email protected]>
// +----------------------------------------------------------------------
//----------------------------------
// 万年历调用示例代码 － 聚合数据
// 在线接口文档：http://www.juhe.cn/docs/177
//----------------------------------
header('Content-type:text/html;charset=utf-8');
//配置您申请的appkey
$appkey = "*********************";
//************1.获取当天的详细信息************
$url = "http://japi.juhe.cn/calendar/day";
$params = array(
"key" => $appkey,//您申请的appKey
"date" => "",//指定日期,格式为YYYY-MM-DD,如月份和日期小于10,则取个位,如:2012-1-1
);
$paramstring = http_build_query($params);
$content = juhecurl($url,$paramstring);
$result = json_decode($content,true);
if($result){
if($result['error_code']=='0'){
print_r($result);
}else{
echo $result['error_code'].":".$result['reason'];
}
}else{
echo "请求失败";
}
//**************************************************
//************2.获取当月近期假期************
$url = "http://japi.juhe.cn/calendar/month";
$params = array(
"key" => $appkey,//您申请的appKey
"year-month" => "",//指定月份,格式为YYYY-MM,如月份和日期小于10,则取个位,如:2012-1
);
$paramstring = http_build_query($params);
$content = juhecurl($url,$paramstring);
$result = json_decode($content,true);
if($result){
if($result['error_code']=='0'){
print_r($result);
}else{
echo $result['error_code'].":".$result['reason'];
}
}else{
echo "请求失败";
}
//**************************************************
//************3.获取当年的假期列表************
$url = "http://japi.juhe.cn/calendar/year";
$params = array(
"key" => $appkey,//您申请的appKey
"year" => "",//指定年份,格式为YYYY,如:2015
);
$paramstring = http_build_query($params);
$content = juhecurl($url,$paramstring);
$result = json_decode($content,true);
if($result){
if($result['error_code']=='0'){
print_r($result);
}else{
echo $result['error_code'].":".$result['reason'];
}
}else{
echo "请求失败";
}
//**************************************************
/**
* 请求接口返回内容
* @param string $url [请求的URL地址]
* @param string $params [请求的参数]
* @param int $ipost [是否采用POST形式]
* @return string
*/
function juhecurl($url,$params=false,$ispost=0){
$httpInfo = array();
$ch = curl_init();
curl_setopt( $ch, CURLOPT_HTTP_VERSION , CURL_HTTP_VERSION_1_1 );
curl_setopt( $ch, CURLOPT_USERAGENT , 'JuheData' );
curl_setopt( $ch, CURLOPT_CONNECTTIMEOUT , 60 );
curl_setopt( $ch, CURLOPT_TIMEOUT , 60);
curl_setopt( $ch, CURLOPT_RETURNTRANSFER , true );
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
if( $ispost )
{
curl_setopt( $ch , CURLOPT_POST , true );
curl_setopt( $ch , CURLOPT_POSTFIELDS , $params );
curl_setopt( $ch , CURLOPT_URL , $url );
}
else
{
if($params){
curl_setopt( $ch , CURLOPT_URL , $url.'?'.$params );
}else{
curl_setopt( $ch , CURLOPT_URL , $url);
}
}
$response = curl_exec( $ch );
if ($response === FALSE) {
//echo "cURL Error: " . curl_error($ch);
return false;
}
$httpCode = curl_getinfo( $ch , CURLINFO_HTTP_CODE );
$httpInfo = array_merge( $httpInfo , curl_getinfo( $ch ) );
curl_close( $ch );
return $response;
}
```

最后更新于 3 年前

最后更新于 3 年前

```
document.location = document.querySelector('[property="og:url"]').content + '/edit/master/README.md';
// 小书签
// javascript:document.location = document.querySelector('[property="og:url"]').content + '/edit/master/README.md';
```

最后更新于 3 年前

```
var loge *logrus.Entry
var logr *logrus.Logger
func NewLog(name string) *logrus.Logger {
if loge == nil {
logr = logrus.New()
var out Out
if Config == nil {
InitConf()
}
switch Config.GetString("Mode") {
case "dev":
logr.Out = os.Stdout
case "pro":
logr.Out = &out
default:
logr.Out = os.Stdout
}
logr.Formatter = &logrus.TextFormatter{TimestampFormat:"15:04:05"}
return logr
}
return logr
}
func NewLogEntry(name string) *logrus.Entry {
if loge == nil {
loge = logrus.NewEntry(NewLog(name))
p, err := GetProc(os.Getpid())
if err != nil {
return nil
}
var field = logrus.Fields{
"project":Config.GetString("AppName"),
"module":name,
"where" :CallerSite(),
"pid" :p.Pid,
}
return loge.WithFields(field)
}
return loge
}
```

最后更新于 3 年前

```
var loge *logrus.Entry
var logr *logrus.Logger
func NewLog(name string) *logrus.Logger {
if loge == nil {
logr = logrus.New()
var out Out
if Config == nil {
InitConf()
}
switch Config.GetString("Mode") {
case "dev":
logr.Out = os.Stdout
case "pro":
logr.Out = &out
default:
logr.Out = os.Stdout
}
logr.Formatter = &logrus.TextFormatter{TimestampFormat:"15:04:05"}
return logr
}
return logr
}
func NewLogEntry(name string) *logrus.Entry {
if loge == nil {
loge = logrus.NewEntry(NewLog(name))
p, err := GetProc(os.Getpid())
if err != nil {
return nil
}
var field = logrus.Fields{
"project":Config.GetString("AppName"),
"module":name,
"where" :CallerSite(),
"pid" :p.Pid,
}
return loge.WithFields(field)
}
return loge
}
```

最后更新于 3 年前

```
package main
import (
"io/ioutil"
"net/http"
"net/url"
"fmt"
"encoding/json"
)
//----------------------------------
// 成语词典调用示例代码 － 聚合数据
// 在线接口文档：http://www.juhe.cn/docs/157
//----------------------------------
const APPKEY = "*******************" //您申请的APPKEY
func main(){
//1.根据成语查询详细信息
Request1()
}
//1.根据成语查询详细信息
func Request1(){
//请求地址
juheURL :="http://v.juhe.cn/chengyu/query"
//初始化参数
param:=url.Values{}
//配置请求参数,方法内部已处理urlencode问题,中文参数可以直接传参
param.Set("word","") //填写需要查询的汉字，UTF8 urlencode编码
param.Set("key",APPKEY) //应用APPKEY(应用详细页查询)
param.Set("dtype","") //返回数据的格式,xml或json，默认json
//发送请求
data,err:=Get(juheURL,param)
if err!=nil{
fmt.Errorf("请求失败,错误信息:\r\n%v",err)
}else{
var netReturn map[string]interface{}
json.Unmarshal(data,&netReturn)
if netReturn["error_code"].(float64)==0{
fmt.Printf("接口返回result字段是:\r\n%v",netReturn["result"])
}
}
}
// get 网络请求
func Get(apiURL string,params url.Values)(rs[]byte ,err error){
var Url *url.URL
Url,err=url.Parse(apiURL)
if err!=nil{
fmt.Printf("解析url错误:\r\n%v",err)
return nil,err
}
//如果参数中有中文参数,这个方法会进行URLEncode
Url.RawQuery=params.Encode()
resp,err:=http.Get(Url.String())
if err!=nil{
fmt.Println("err:",err)
return nil,err
}
defer resp.Body.Close()
return ioutil.ReadAll(resp.Body)
}
// post 网络请求 ,params 是url.Values类型
func Post(apiURL string, params url.Values)(rs[]byte,err error){
resp,err:=http.PostForm(apiURL, params)
if err!=nil{
return nil ,err
}
defer resp.Body.Close()
return ioutil.ReadAll(resp.Body)
}
```

最后更新于 3 年前

```
package main
import (
"io/ioutil"
"net/http"
"net/url"
"fmt"
"encoding/json"
)
//----------------------------------
// 新华字典调用示例代码 － 聚合数据
// 在线接口文档：http://www.juhe.cn/docs/156
//----------------------------------
const APPKEY = "*******************" //您申请的APPKEY
func main(){
//1.根据汉字查询字典
Request1()
//2.汉字部首列表
Request2()
//3.汉字拼音列表
Request3()
//4.根据部首查询汉字
Request4()
//5.根据拼音查询汉字
Request5()
//6.根据id查询汉字完整信息
Request6()
}
//1.根据汉字查询字典
func Request1(){
//请求地址
juheURL :="http://v.juhe.cn/xhzd/query"
//初始化参数
param:=url.Values{}
//配置请求参数,方法内部已处理urlencode问题,中文参数可以直接传参
param.Set("word","") //填写需要查询的汉字，UTF8 urlencode编码
param.Set("key",APPKEY) //应用APPKEY(应用详细页查询)
param.Set("dtype","") //返回数据的格式,xml或json，默认json
//发送请求
data,err:=Get(juheURL,param)
if err!=nil{
fmt.Errorf("请求失败,错误信息:\r\n%v",err)
}else{
var netReturn map[string]interface{}
json.Unmarshal(data,&netReturn)
if netReturn["error_code"].(float64)==0{
fmt.Printf("接口返回result字段是:\r\n%v",netReturn["result"])
}
}
}
//2.汉字部首列表
func Request2(){
//请求地址
juheURL :="http://v.juhe.cn/xhzd/bushou"
//初始化参数
param:=url.Values{}
//配置请求参数,方法内部已处理urlencode问题,中文参数可以直接传参
param.Set("key",APPKEY) //应用APPKEY(应用详细页查询)
param.Set("dtype","") //返回数据的格式,xml或json，默认json
//发送请求
data,err:=Get(juheURL,param)
if err!=nil{
fmt.Errorf("请求失败,错误信息:\r\n%v",err)
}else{
var netReturn map[string]interface{}
json.Unmarshal(data,&netReturn)
if netReturn["error_code"].(float64)==0{
fmt.Printf("接口返回result字段是:\r\n%v",netReturn["result"])
}
}
}
//3.汉字拼音列表
func Request3(){
//请求地址
juheURL :="http://v.juhe.cn/xhzd/pinyin"
//初始化参数
param:=url.Values{}
//配置请求参数,方法内部已处理urlencode问题,中文参数可以直接传参
param.Set("key",APPKEY) //应用APPKEY(应用详细页查询)
param.Set("dtype","") //返回数据的格式,xml或json，默认json
//发送请求
data,err:=Get(juheURL,param)
if err!=nil{
fmt.Errorf("请求失败,错误信息:\r\n%v",err)
}else{
var netReturn map[string]interface{}
json.Unmarshal(data,&netReturn)
if netReturn["error_code"].(float64)==0{
fmt.Printf("接口返回result字段是:\r\n%v",netReturn["result"])
}
}
}
//4.根据部首查询汉字
func Request4(){
//请求地址
juheURL :="http://v.juhe.cn/xhzd/querybs"
//初始化参数
param:=url.Values{}
//配置请求参数,方法内部已处理urlencode问题,中文参数可以直接传参
param.Set("word","") //填写需要查询的汉字部首，UTF8 urlencode编码
param.Set("key",APPKEY) //应用APPKEY(应用详细页查询)
param.Set("dtype","") //返回数据的格式,xml或json，默认json
param.Set("page","") //页数，默认1
param.Set("pageszie","") //每页返回条数，默认10 最大50
param.Set("isjijie","") //是否显示简解，1显示 0不显示 默认1
param.Set("isxiangjie","") //是否显示详解，1显示 0不显示 默认1
//发送请求
data,err:=Get(juheURL,param)
if err!=nil{
fmt.Errorf("请求失败,错误信息:\r\n%v",err)
}else{
var netReturn map[string]interface{}
json.Unmarshal(data,&netReturn)
if netReturn["error_code"].(float64)==0{
fmt.Printf("接口返回result字段是:\r\n%v",netReturn["result"])
}
}
}
//5.根据拼音查询汉字
func Request5(){
//请求地址
juheURL :="http://v.juhe.cn/xhzd/querypy"
//初始化参数
param:=url.Values{}
//配置请求参数,方法内部已处理urlencode问题,中文参数可以直接传参
param.Set("word","") //填写需要查询的拼音
param.Set("key",APPKEY) //应用APPKEY(应用详细页查询)
param.Set("dtype","") //返回数据的格式,xml或json，默认json
param.Set("page","") //页数，默认1
param.Set("pageszie","") //每页返回条数，默认10 最大50
param.Set("isjijie","") //是否显示简解，1显示 0不显示 默认1
param.Set("isxiangjie","") //是否显示详解，1显示 0不显示 默认1
//发送请求
data,err:=Get(juheURL,param)
if err!=nil{
fmt.Errorf("请求失败,错误信息:\r\n%v",err)
}else{
var netReturn map[string]interface{}
json.Unmarshal(data,&netReturn)
if netReturn["error_code"].(float64)==0{
fmt.Printf("接口返回result字段是:\r\n%v",netReturn["result"])
}
}
}
//6.根据id查询汉字完整信息
func Request6(){
//请求地址
juheURL :="http://v.juhe.cn/xhzd/queryid"
//初始化参数
param:=url.Values{}
//配置请求参数,方法内部已处理urlencode问题,中文参数可以直接传参
param.Set("word","") //填写需要查询的汉字id
param.Set("key",APPKEY) //应用APPKEY(应用详细页查询)
param.Set("dtype","") //返回数据的格式,xml或json，默认json
//发送请求
data,err:=Get(juheURL,param)
if err!=nil{
fmt.Errorf("请求失败,错误信息:\r\n%v",err)
}else{
var netReturn map[string]interface{}
json.Unmarshal(data,&netReturn)
if netReturn["error_code"].(float64)==0{
fmt.Printf("接口返回result字段是:\r\n%v",netReturn["result"])
}
}
}
// get 网络请求
func Get(apiURL string,params url.Values)(rs[]byte ,err error){
var Url *url.URL
Url,err=url.Parse(apiURL)
if err!=nil{
fmt.Printf("解析url错误:\r\n%v",err)
return nil,err
}
//如果参数中有中文参数,这个方法会进行URLEncode
Url.RawQuery=params.Encode()
resp,err:=http.Get(Url.String())
if err!=nil{
fmt.Println("err:",err)
return nil,err
}
defer resp.Body.Close()
return ioutil.ReadAll(resp.Body)
}
// post 网络请求 ,params 是url.Values类型
func Post(apiURL string, params url.Values)(rs[]byte,err error){
resp,err:=http.PostForm(apiURL, params)
if err!=nil{
return nil ,err
}
defer resp.Body.Close()
return ioutil.ReadAll(resp.Body)
}
```

最后更新于 3 年前

```
<!--?php
// +----------------------------------------------------------------------
// | JuhePHP [ NO ZUO NO DIE ]
// +----------------------------------------------------------------------
// | Copyright (c) 2010-2015 http://juhe.cn All rights reserved.
// +----------------------------------------------------------------------
// | Author: Juhedata <[email protected]>
// +----------------------------------------------------------------------
//----------------------------------
// 影视数据调用示例代码 － 聚合数据
// 在线接口文档：http://www.juhe.cn/docs/151
//----------------------------------
header('Content-type:text/html;charset=utf-8');
//配置您申请的appkey
$appkey = "*********************";
//************1.查询************
$url = "http://api2.juheapi.com/video/query";
$params = array(
"key" => $appkey,//聚合key
"kw" => "",//关键字
"tag" => "",//分类
"area" => "",//地区
);
$paramstring = http_build_query($params);
$content = juhecurl($url,$paramstring);
$result = json_decode($content,true);
if($result){
if($result['error_code']=='0'){
print_r($result);
}else{
echo $result['error_code'].":".$result['reason'];
}
}else{
echo "请求失败";
}
//**************************************************
//************2.播放地址************
$url = "http://api2.juheapi.com/video/playurl";
$params = array(
"key" => $appkey,//聚合key
"vid" => "",//视频id
"playnum" => "",//集数
);
$paramstring = http_build_query($params);
$content = juhecurl($url,$paramstring);
$result = json_decode($content,true);
if($result){
if($result['error_code']=='0'){
print_r($result);
}else{
echo $result['error_code'].":".$result['reason'];
}
}else{
echo "请求失败";
}
//**************************************************
/**
* 请求接口返回内容
* @param string $url [请求的URL地址]
* @param string $params [请求的参数]
* @param int $ipost [是否采用POST形式]
* @return string
*/
function juhecurl($url,$params=false,$ispost=0){
$httpInfo = array();
$ch = curl_init();
curl_setopt( $ch, CURLOPT_HTTP_VERSION , CURL_HTTP_VERSION_1_1 );
curl_setopt( $ch, CURLOPT_USERAGENT , 'JuheData' );
curl_setopt( $ch, CURLOPT_CONNECTTIMEOUT , 60 );
curl_setopt( $ch, CURLOPT_TIMEOUT , 60);
curl_setopt( $ch, CURLOPT_RETURNTRANSFER , true );
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
if( $ispost )
{
curl_setopt( $ch , CURLOPT_POST , true );
curl_setopt( $ch , CURLOPT_POSTFIELDS , $params );
curl_setopt( $ch , CURLOPT_URL , $url );
}
else
{
if($params){
curl_setopt( $ch , CURLOPT_URL , $url.'?'.$params );
}else{
curl_setopt( $ch , CURLOPT_URL , $url);
}
}
$response = curl_exec( $ch );
if ($response === FALSE) {
//echo "cURL Error: " . curl_error($ch);
return false;
}
$httpCode = curl_getinfo( $ch , CURLINFO_HTTP_CODE );
$httpInfo = array_merge( $httpInfo , curl_getinfo( $ch ) );
curl_close( $ch );
return $response;
}
```

最后更新于 3 年前

```
<!--?php
// +----------------------------------------------------------------------
// | JuhePHP [ NO ZUO NO DIE ]
// +----------------------------------------------------------------------
// | Copyright (c) 2010-2015 http://juhe.cn All rights reserved.
// +----------------------------------------------------------------------
// | Author: Juhedata <[email protected]>
// +----------------------------------------------------------------------
//----------------------------------
// 微信精选调用示例代码 － 聚合数据
// 在线接口文档：http://www.juhe.cn/docs/147
//----------------------------------
header('Content-type:text/html;charset=utf-8');
//配置您申请的appkey
$appkey = "*********************";
//************1.微信精选列表************
$url = "http://v.juhe.cn/weixin/query";
$params = array(
"pno" => "",//当前页数，默认1
"ps" => "",//每页返回条数，最大100，默认20
"key" => $appkey,//应用APPKEY(应用详细页查询)
"dtype" => "",//返回数据的格式,xml或json，默认json
);
$paramstring = http_build_query($params);
$content = juhecurl($url,$paramstring);
$result = json_decode($content,true);
if($result){
if($result['error_code']=='0'){
print_r($result);
}else{
echo $result['error_code'].":".$result['reason'];
}
}else{
echo "请求失败";
}
//**************************************************
/**
* 请求接口返回内容
* @param string $url [请求的URL地址]
* @param string $params [请求的参数]
* @param int $ipost [是否采用POST形式]
* @return string
*/
function juhecurl($url,$params=false,$ispost=0){
$httpInfo = array();
$ch = curl_init();
curl_setopt( $ch, CURLOPT_HTTP_VERSION , CURL_HTTP_VERSION_1_1 );
curl_setopt( $ch, CURLOPT_USERAGENT , 'JuheData' );
curl_setopt( $ch, CURLOPT_CONNECTTIMEOUT , 60 );
curl_setopt( $ch, CURLOPT_TIMEOUT , 60);
curl_setopt( $ch, CURLOPT_RETURNTRANSFER , true );
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
if( $ispost )
{
curl_setopt( $ch , CURLOPT_POST , true );
curl_setopt( $ch , CURLOPT_POSTFIELDS , $params );
curl_setopt( $ch , CURLOPT_URL , $url );
}
else
{
if($params){
curl_setopt( $ch , CURLOPT_URL , $url.'?'.$params );
}else{
curl_setopt( $ch , CURLOPT_URL , $url);
}
}
$response = curl_exec( $ch );
if ($response === FALSE) {
//echo "cURL Error: " . curl_error($ch);
return false;
}
$httpCode = curl_getinfo( $ch , CURLINFO_HTTP_CODE );
$httpInfo = array_merge( $httpInfo , curl_getinfo( $ch ) );
curl_close( $ch );
return $response;
}
```

最后更新于 3 年前

```
<!--?php
// +----------------------------------------------------------------------
// | JuhePHP [ NO ZUO NO DIE ]
// +----------------------------------------------------------------------
// | Copyright (c) 2010-2015 http://juhe.cn All rights reserved.
// +----------------------------------------------------------------------
// | Author: Juhedata <[email protected]>
// +----------------------------------------------------------------------
//----------------------------------
// 健康资讯调用示例代码 － 聚合数据
// 在线接口文档：http://www.juhe.cn/docs/145
//----------------------------------
header('Content-type:text/html;charset=utf-8');
//配置您申请的appkey
$appkey = "*********************";
//************1.资讯分类列表************
$url = "http://op.juhe.cn/yi18/news/newsclass";
$params = array(
"key" => $appkey,//应用APPKEY(应用详细页查询)
"dtype" => "",//返回数据的格式,xml或json，默认json
);
$paramstring = http_build_query($params);
$content = juhecurl($url,$paramstring);
$result = json_decode($content,true);
if($result){
if($result['error_code']=='0'){
print_r($result);
}else{
echo $result['error_code'].":".$result['reason'];
}
}else{
echo "请求失败";
}
//**************************************************
//************2.取得资讯信息列表************
$url = "http://op.juhe.cn/yi18/news/list";
$params = array(
"key" => $appkey,//应用APPKEY(应用详细页查询)
"dtype" => "",//返回数据的格式,xml或json，默认json
"limit" => "",//每页个数
"page" => "",//第几页
);
$paramstring = http_build_query($params);
$content = juhecurl($url,$paramstring);
$result = json_decode($content,true);
if($result){
if($result['error_code']=='0'){
print_r($result);
}else{
echo $result['error_code'].":".$result['reason'];
}
}else{
echo "请求失败";
}
//**************************************************
//************3.取得详细资讯信息************
$url = "http://op.juhe.cn/yi18/news/show";
$params = array(
"id" => "",//资讯的id
"key" => $appkey,//应用APPKEY(应用详细页查询)
"dtype" => "",//返回数据的格式,xml或json，默认json
);
$paramstring = http_build_query($params);
$content = juhecurl($url,$paramstring);
$result = json_decode($content,true);
if($result){
if($result['error_code']=='0'){
print_r($result);
}else{
echo $result['error_code'].":".$result['reason'];
}
}else{
echo "请求失败";
}
//**************************************************
/**
* 请求接口返回内容
* @param string $url [请求的URL地址]
* @param string $params [请求的参数]
* @param int $ipost [是否采用POST形式]
* @return string
*/
function juhecurl($url,$params=false,$ispost=0){
$httpInfo = array();
$ch = curl_init();
curl_setopt( $ch, CURLOPT_HTTP_VERSION , CURL_HTTP_VERSION_1_1 );
curl_setopt( $ch, CURLOPT_USERAGENT , 'JuheData' );
curl_setopt( $ch, CURLOPT_CONNECTTIMEOUT , 60 );
curl_setopt( $ch, CURLOPT_TIMEOUT , 60);
curl_setopt( $ch, CURLOPT_RETURNTRANSFER , true );
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
if( $ispost )
{
curl_setopt( $ch , CURLOPT_POST , true );
curl_setopt( $ch , CURLOPT_POSTFIELDS , $params );
curl_setopt( $ch , CURLOPT_URL , $url );
}
else
{
if($params){
curl_setopt( $ch , CURLOPT_URL , $url.'?'.$params );
}else{
curl_setopt( $ch , CURLOPT_URL , $url);
}
}
$response = curl_exec( $ch );
if ($response === FALSE) {
//echo "cURL Error: " . curl_error($ch);
return false;
}
$httpCode = curl_getinfo( $ch , CURLINFO_HTTP_CODE );
$httpInfo = array_merge( $httpInfo , curl_getinfo( $ch ) );
curl_close( $ch );
return $response;
}
```

最后更新于 3 年前

```
{"name":"C.N.1","description":"Things which are equal to the same thing are also equal to one another.","references":[]}
{"name":"C.N.2","description":"If equals be added to equals, the wholes are equal.","references":[]}
{"name":"C.N.3","description":"If equals be subtracted from equals, the remainders are equal.","references":[]}
{"name":"C.N.4","description":"Things which coincide with one another are equal to one another.","references":[]}
{"name":"C.N.5","description":"The whole is greater than the part.","references":[]}
{"name":"Def.1.1","description":"A point is that which has no part.","references":[]}
{"name":"Def.1.10","description":"When a straight line set up on a straight line makes the adjacent angles equal to one another, each of the equal angles is right, and the straight line standing on the other is called a perpendicular to that on which it stands.","references":[]}
{"name":"Def.1.11","description":"An obtuse angle is an angle greater than a right angle.","references":[]}
{"name":"Def.1.12","description":"An acute angle is an angle less than a right angle.","references":[]}
{"name":"Def.1.13","description":"A boundary is that which is an extremity of anything.","references":[]}
{"name":"Def.1.14","description":"A figure is that which is contained by any boundary or boundaries.","references":[]}
{"name":"Def.1.15","description":"A circle is a plane figure contained by one line such that all the straight lines falling upon it from one point among those lying within the figure are equal to one another;","references":[]}
{"name":"Def.1.16","description":"And the point is called the centre of the circle.","references":[]}
{"name":"Def.1.17","description":"A diameter of the circle is any straight line drawn through the centre and terminated in both directions by the circumference of the circle, and such a straight line also bisects the circle.","references":[]}
{"name":"Def.1.18","description":"A semicircle is the figure contained by the diameter and the circumference cut off by it. And the centre of the semicircle is the same as that of the circle.","references":[]}
{"name":"Def.1.19","description":"Rectilineal figures are those which are contained by straight lines, trilateral figures being those contained by three, quadrilateral those contained by four, and multilateral those contained by more than four straight lines.","references":[]}
{"name":"Def.1.2","description":"A line is breadthless length.","references":[]}
{"name":"Def.1.20","description":"Of trilateral figures, an equilateral triangle is that which has its three sides euqal, an isosceles triangle that which has two of its sides alone equal, and a scalence triangle that which has its three sides unequal.","references":[]}
{"name":"Def.1.21","description":"Further, of trilateral figures, a right-angled triangle is that which has a right angle, an obtuse-angled triangle that which has an obtuse angle, and an acute-angled triangle that which has its three angles acute.","references":[]}
{"name":"Def.1.22","description":"Of quadrilateral figures, a square is that which is both equilateral and right-angled; an oblong that which is right-angled but not equilateral; a rhombus that which is equilateral but not right-angled; and a rhomboid that which has its opposite sides and angles equal to one another but is neither equilateral nor right-angled. And let quadrilaterals other than these be called trapezia.","references":[]}
{"name":"Def.1.23","description":"Parallel straight lines are straight lines which, being in the same plane and being produced indefinitely in both directions, do not meet one another in either direction.","references":[]}
{"name":"Def.1.3","description":"The extremities of a line are points.","references":[]}
{"name":"Def.1.4","description":"A straight line is a line which lies evenly with the points on itself.","references":[]}
{"name":"Def.1.5","description":"A surface is that which has length and breadth only.","references":[]}
{"name":"Def.1.6","description":"The extremities of a surface are lines.","references":[]}
{"name":"Def.1.7","description":"A plane surface is a surface which lies evenly with the straight lines on itself.","references":[]}
{"name":"Def.1.8","description":"A plane angle is the inclination to one another of two lines in a plane which meet one another and do not lie in a straight line.","references":[]}
{"name":"Def.1.9","description":"And when the lines containing the angle are straight, the angle is called rectilineal.","references":[]}
{"name":"Def.10.1.1","description":"Those magnitudes are said to be commensurable which are measured by the same measure, and those incommensurable which cannot have any common measure.","references":[]}
{"name":"Def.10.1.2","description":"Straight lines are commensurable in square when the squares on them are measured by the same area, and incommensurable in square when the squares on them cannot possibly have any area as a common measure.","references":[]}
{"name":"Def.10.1.3","description":"With these hypotheses, it is proved that there exist straight lines infinite in multitude which are commensurable and incommensurable respectively, some in length only, and others in square also, with an assigned straight line. Let then the assigned straight line be called rational, and those straight lines which are commensurable with it, whether in length and in square or in square only, rational, but those which are incommensurable with it irrational.","references":[]}
{"name":"Def.10.1.4","description":"And let the square on the assigned straight line be called rational and those areas which are commensurable with it rational, but those which are incommensurable with it irrational, and the straight lines which produce them irrational, that is, in case the areas are squares, the sides themselves, but in case they are any other rectilineal figures, the straight lines on which are described squares equal to them.","references":[]}
{"name":"Def.10.2.1","description":"Given a rational straight line and a binomial, divided into its terms, such that the square on the greater term is greater than the square on the lesser by the square on a straight line commensurable in length with the greater, then, if the greater term be commensurable in length with the rational straight line set out, let the whole be called a first binomial straight line;","references":[]}
{"name":"Def.10.2.2","description":"but if the lesser term be commensurable in length with the rational straight line set out, let the whole be called a second binomial;","references":[]}
{"name":"Def.10.2.3","description":"and if neither of the terms be commensurable in length with the rational straight line set out, let the whole be called a third binomial.","references":[]}
{"name":"Def.10.2.4","description":"Again, if the square on the greater term be greater than the square on the lesser by the square on a straight line incommensurable in length with the greater, then, if the greater term be commensurable in length with the rational straight line set out, let the whole be called a fourth binomial;","references":[]}
{"name":"Def.10.2.5","description":"if the lesser, a fifth binomial;","references":[]}
{"name":"Def.10.2.6","description":"and if neither, a sixth binomial.","references":[]}
{"name":"Def.10.3.1","description":"Given a rational straight line and an apotome, if the square on the whole be greater than the square on the annex by the square on a straight line commensurable in length with the whole, and the whole be commensurable in length with the rational straight line set out, let the apotome be called a first apotome.","references":[]}
{"name":"Def.10.3.2","description":"But if the annex be commensurable in length with the rational straight line set out, and the square on the whole be greater than that on the annex by the square on a straight line commensurable with the whole, let the apotome be called a second apotome.","references":[]}
{"name":"Def.10.3.3","description":"But if neither be commensurable in length with the rational straight line set out, and the square on the whole be greater than the square on the annex by the square on a straight line commensurable with the whole, let the apotome be called a third apotome.","references":[]}
{"name":"Def.10.3.4","description":"Again, if the square on the whole be greater than the square on the annex by the square on a straight line incommensurable with the whole, then, if the whole be commensurable in length with the rational straight line set out, let the apotome be called a fourth apotome.","references":[]}
{"name":"Def.10.3.5","description":"if the annex be so commensurable, a fifth;","references":[]}
{"name":"Def.10.3.6","description":"and, if neither, a sixth.","references":[]}
{"name":"Def.11.1","description":"A solid is that which that has length, breadth, and depth.","references":[]}
{"name":"Def.11.10","description":"Equal and similar solid figures are those contained by similar planes equal in multitude and in magnitude.","references":[]}
{"name":"Def.11.11","description":"A solid angle is the inclination constituted by more than two lines which meet one another and are not in the same surface, towards all the lines.\n\t\t<BR>\n\t\tOtherwise: A solid angle is that which is contained by more than two plane angles which are not in the same plane and are constructed to one point.","references":[]}
{"name":"Def.11.12","description":"A pyramid is a solid figure, contained by planes, which is constructed from one plane to one point.","references":[]}
{"name":"Def.11.13","description":"A prism is a solid figure contained by planes two of which, namely those which are apposite, are equal, similar and parallel, while the rest are parallelograms.","references":[]}
{"name":"Def.11.14","description":"When, the diameter of a semicircle remaining fixed, the semicircle is carried round and restored again to the same position form which it began to be moved, the figure so comprehended is a sphere.","references":[]}
{"name":"Def.11.15","description":"The axis of the sphere is the straight line which ramains fixed and about which the semicircle is turned.","references":[]}
{"name":"Def.11.16","description":"The centre of the sphere is the same as that of the semicircle.","references":[]}
{"name":"Def.11.17","description":"A diameter fo the sphere is any straight line drawn through the centre and terminated in both directions by the surface of the sphere.","references":[]}
{"name":"Def.11.18","description":"When, one side of those about the right angle in a right-angled triangle remaining fixed, the triangle is carried round and restored again to the same position from which is began to be moved, the figure so comprehended is a cone.\n\t\t<BR>\n\t\tAnd, if the straight line which remains fixed be equal to the remaining side about the right angle which is carried round, the cone will be right-angled; if less, obtuse-angled; and if greater, acute-angled.","references":[]}
{"name":"Def.11.19","description":"The axis of the cone is the straight line which ramains fixed and about which the triangle is turned.","references":[]}
{"name":"Def.11.2","description":"An extremity of a solid is a surface.","references":[]}
{"name":"Def.11.20","description":"And the base is the circle described by the straight line which is carried round.","references":[]}
{"name":"Def.11.21","description":"When, one side of those about the right angle in a rectangular parallelogram remaining fixed, the parallelogram is carried round and restored again to the same position from which it began to be moved, the figure so comprehended is a cylinder.","references":[]}
{"name":"Def.11.22","description":"The axis of the cylinder is the straight line which remains fixed and about which the parallelogram is turned.","references":[]}
{"name":"Def.11.23","description":"And the bases are the circles described by the two sides apposite to one another which are carried round.","references":[]}
{"name":"Def.11.24","description":"Similar cones and cylinders are those in which the axes and the diameters of the bases are proportional.","references":[]}
{"name":"Def.11.25","description":"A cube is a solid figure contained by six equal squares.","references":[]}
{"name":"Def.11.26","description":"An octahedron is a solid figure contained by eight equal and equilateral triangles.","references":[]}
{"name":"Def.11.27","description":"An icosahedron is a solid figure contained by twenty equal and equilateral triangles.","references":[]}
{"name":"Def.11.28","description":"A dodecahedron is a solid figure contained by twelve equal, equilateral, and equiangular pentagons.","references":[]}
{"name":"Def.11.3","description":"A straight line is at right angles to a plane, when it makes right angles with all the straight lines which meet it and are in the plane.","references":[]}
{"name":"Def.11.4","description":"A plane is at right angles to a plane when the straight lines drawn, in one of the planes, at right angles to the common section of the planes, are at right angles to the remaining plane.","references":[]}
{"name":"Def.11.5","description":"The inclination of a straight line to a plane is, assuming a perpendicular drawn from the extremity of the straight line which is elevated above the plane to the plane, and a straight joined from the point thus arising to the extremity of the straight line which is in the plane, the angle contained by the straight line so drawn and the straight line standing up.","references":[]}
{"name":"Def.11.6","description":"The inclination of a plane to a plane is the acute angle contained by the straight lines drawn at right angles to the common section at the same point, one in each of the planes.","references":[]}
{"name":"Def.11.7","description":"A plane is said to be similarly inclined to a plane as another is to another when the said angles of the inclinations are equal to one another.","references":[]}
{"name":"Def.11.8","description":"Parallel planes are those which do not meet.","references":[]}
{"name":"Def.11.9","description":"Similar solid figures are those contained by similar planes equal in multitude.","references":[]}
{"name":"Def.2.1","description":"Any rectangular parallelogram is said to be contained by the two straight lines containing the right angle.","references":[]}
{"name":"Def.2.2","description":"And in any parallelogrammic area let any one whatever of the parallelograms about its diameter with the two complements be called a gnomon.","references":[]}
{"name":"Def.3.1","description":"Equal circles are those the diameters of which are equal, or the radii of which are equal.","references":[]}
{"name":"Def.3.10","description":"A sector of a circle is the figure which, when an angle is constructed at the centre of the circle, is contained by the straight lines containing the angle and the circumference cut off by them.","references":[]}
{"name":"Def.3.11","description":"Similar segments of circles are those which admit equal angles, or in which the angles are equal to one another.","references":[]}
{"name":"Def.3.2","description":"A straight line is said to touch a circle which, meeting the circle and being produced, does not cut the circle.","references":[]}
{"name":"Def.3.3","description":"Circle are said to touch one another which, meeting one another, do not cut one another.","references":[]}
{"name":"Def.3.4","description":"In a circle straight lines are said to be equally distant from the centre when the perpendiculars drawn to them from the centre are equal.","references":[]}
{"name":"Def.3.5","description":"And that straight line is said to be at a greater distance on which the greater perpendicular falls.","references":[]}
{"name":"Def.3.6","description":"A segment of a circle is the figure contained by a straight line and a circumference of a circle.","references":[]}
{"name":"Def.3.7","description":"An angle of a segment is that contained by a straight line and a circumference of a circle.","references":[]}
{"name":"Def.3.8","description":"An angle in a segment is the angle which, when a point is taken on the circumference of the segment and straight lines are joined from it to the extremities of the straight line which is the base of the segment, is contained by the straight lines so joined.","references":[]}
{"name":"Def.3.9","description":"And, when the straight lines containing the angle cut off a circumference, the angle is said to stand upon that circumference.","references":[]}
{"name":"Def.4.1","description":"A rectilineal figure is said to be inscribed in a rectilineal figure when the respective angles of the inscribed figure lie on the respective sides of that in which it in inscribed.","references":[]}
{"name":"Def.4.2","description":"Similarly a figure is said to be circumscribed about a figure when the respective sides of the circumscribed figure pass through the respective angles of that about which it is circumscribed.","references":[]}
{"name":"Def.4.3","description":"A rectilineal figure is said to be inscribed in a circle when each angle of the inscribed figure lies on the circumference of the circle.","references":[]}
{"name":"Def.4.4","description":"A rectilineal figure is said to be circumscribed about a circle, when each side of the circumscribed figure touches the circumference of the circle.","references":[]}
{"name":"Def.4.5","description":"Similarly a circle is said to be inscribed in a figure when the circumference of the circle touches each side of the figure in which it is inscribed.","references":[]}
{"name":"Def.4.6","description":"A circle is said to be circumscribed about a figure when the circumference of the circle passes through each angle of the figure about which it is circumscribed.","references":[]}
{"name":"Def.4.7","description":"A straight line is said to be fitted into a circle when its extremities are on the circumference of the circle.","references":[]}
{"name":"Def.5.1","description":"A magnitude is a part of a magnitude, the less of the greater, when it measures the greater.","references":[]}
{"name":"Def.5.10","description":"When four magnitudes are continusously proportional, the first is said to have to the fourth the triplicate ratio of that which it has to the second, and so on continually, whatever be the proportion.","references":[]}
{"name":"Def.5.11","description":"The term corresponding magnitiudes is used of antecedents in relation to antecedents, and of consequenets in relation to consequents.","references":[]}
{"name":"Def.5.12","description":"Alternate ratio means taking the antecedent in relation to the antecedent and the consequent in relation to the consequent.","references":[]}
{"name":"Def.5.13","description":"Inverse ratio means taking the consequent as antecedent in relation to the actecedent as consequent.","references":[]}
{"name":"Def.5.14","description":"Composition of a ratio means taking the antecedent together with the consequent as one in relation to the consequent by itself.","references":[]}
{"name":"Def.5.15","description":"Separation of a ratio means taking the excess by which the antecedent exceeds the consequent in the relation to the consequent by itself.","references":[]}
{"name":"Def.5.16","description":"Conversion of a ratio means taking the antecedent in relation to the excess by which the antecedent exceeds the consequent.","references":[]}
{"name":"Def.5.17","description":"A ratio ex aequali arises when, there being several magnitudes and another set equal to them in multitude which taken two and two are in the same proportion, as the first is to the last among the first magnitudes, so is the first to the last among the second magnitudes; \n\t\t\t<Br>\n\t\tOr, in other words, it means taking the extreme terms by virtue of the removal of the intermediate terms.","references":[]}
{"name":"Def.5.18","description":"A perturbed proportion arises when, there being three magnitudes and another set equal to them in multitude, as antecedent is to consequent among the first magnitudes, so is antecedent to consequent among the second magnitudes, while, as the consequent is to a third among the first magnitudes, so is a third to the antecedent among the second magnitudes.","references":[]}
{"name":"Def.5.2","description":"The greater is a multiple of the less when it is measured by the less.","references":[]}
{"name":"Def.5.3","description":"A ratio is a sort of relation in respect of size between two magnitudes of the same kind.","references":[]}
{"name":"Def.5.4","description":"Magnitudes are said to have a ratio to one another which are capable, when multiplied, of exceeding one another.","references":[]}
{"name":"Def.5.5","description":"Magnitudes are said to be in the same ratio, the first to the second and the third to the fourth, when, if any equimultiples whatever be taken of the first and third, and any equimultiples whatever of the second and fourth, the former equimultiples alike exceed, are alike equal to, or alike fall short of, the latter equimultiples respectively taken in corresponding order.","references":[]}
{"name":"Def.5.6","description":"Let magnitudes which have the same ratio be called proportional.","references":[]}
{"name":"Def.5.7","description":"When, of the equimultiples, the multiple of the first magnitude exceeds the multiple of the second, but the multiple of the third does not exceed the multiple of the fourth, then the first is said to have a greater ratio to the second than the third has to the fourth.","references":[]}
{"name":"Def.5.8","description":"A proportion in three terms is the least possible.","references":[]}
{"name":"Def.5.9","description":"When three magnitudes are proportional, the first is said to have to the third the duplicate ratio of that which is has to the second.","references":[]}
{"name":"Def.6.1","description":"Similar rectilineal figures are such as have their angles severally equal and the sides about the equal angles proportional.","references":[]}
{"name":"Def.6.2","description":"Reciprocally related figures.","references":[]}
{"name":"Def.6.3","description":"A straight line is said to have been cut in extreme and mean ratio when, as the whole line is to the greater segment, so is the greater to the less.","references":[]}
{"name":"Def.6.4","description":"The height of any figure is the perendicular drawn from the vertex to the base.","references":[]}
{"name":"Def.7.1","description":"An unit is that by virtue of which each of the things that exist is called one.","references":[]}
{"name":"Def.7.10","description":"An odd-times odd number is that which is measured by an odd number according to an odd number.","references":[]}
{"name":"Def.7.11","description":"A prime number is that which is measured by an unit alone.","references":[]}
{"name":"Def.7.12","description":"Numbers prime to one another are those which are measured by an unit alone as a common measure.","references":[]}
{"name":"Def.7.13","description":"A composite number is that which is measured by some number.","references":[]}
{"name":"Def.7.14","description":"Numbers composite to one another are those which are measured by some number as a common measure.","references":[]}
{"name":"Def.7.15","description":"A number is said to multiply a number when that which is multiplied is added to itself as many times as there are units in the other, and thus some number is produced.","references":[]}
{"name":"Def.7.16","description":"And, when two numbers having multiplied one another make some number, the number so produced is called plane, and ite sides are the numbers which have multiplied one another.","references":[]}
{"name":"Def.7.17","description":"And, when three numbers having multiplied one another make some number, the number so produced is solid, and its sides are the numbers which have multiplied one another.","references":[]}
{"name":"Def.7.18","description":"A square number is equal multiplied by equal, or a number which is contained by two equal numbers.","references":[]}
{"name":"Def.7.19","description":"And a cube is equal multiplied by equal and again by equal, or a number which is contained by three equal numbers.","references":[]}
{"name":"Def.7.2","description":"A number is a multitude composed of units.","references":[]}
{"name":"Def.7.20","description":"Numbers are proportional when the first is the same multiple, or the same part, or the same parts, of the second that the third is of the fourth.","references":[]}
{"name":"Def.7.21","description":"Similar plane and soild numbers are those which have their sides proportional.","references":[]}
{"name":"Def.7.22","description":"A perfect number is that which is equal to its own parts.","references":[]}
{"name":"Def.7.3","description":"A number is a part of a number, the less of the greater, when it measures the greater;","references":[]}
{"name":"Def.7.4","description":"but parts when it does not measure it.","references":[]}
{"name":"Def.7.5","description":"The greater number is a multiple of the less when it is measured by the less.","references":[]}
{"name":"Def.7.6","description":"An even number is that which is divisible into two equal parts.","references":[]}
{"name":"Def.7.7","description":"An odd number is that which is not divisible into two equal parts, or that which differs by an unit from an even number.","references":[]}
{"name":"Def.7.8","description":"An even-times even number is that which is measured by an even number according to an even number.","references":[]}
{"name":"Def.7.9","description":"An even-times odd number is that which is measured by an even number according to an odd number.","references":[]}
{"name":"Post.1","description":"To draw a straight line from any point to any point.","references":[]}
{"name":"Post.2","description":"To produce a finite straight line continuously in a straight line.","references":[]}
{"name":"Post.3","description":"To describe a circle with any centre and distance.","references":[]}
{"name":"Post.4","description":"That all right angles are equal to one another.","references":[]}
{"name":"Post.5","description":"That, if a straight line falling on two straight lines make the interior angles on the same side less than two right angles, the two straight lines, if produced indefinitely, meet on that side on which are the angles less than the two right angles.","references":[]}
{"name":"Prop.1.1","description":"On a given finite straight line to construct an equilateral triangle.","references":["Post.3","Post.3","Post.1","C.N.1"]}
{"name":"Prop.1.10","description":"To bisect a given finite straight line.","references":["Prop.1.1","Prop.1.9","Prop.1.4"]}
{"name":"Prop.1.11","description":"To draw a straight line at right angles to a given straight line from a given point on it.","references":["Prop.1.3","Prop.1.1","Prop.1.8"]}
{"name":"Prop.1.12","description":"To a given infinite straight line, from a given point which is not on it, to draw a perpendicular straight line.","references":["Post.3","Prop.1.10","Post.1","Prop.1.8"]}
{"name":"Prop.1.13","description":"If a straight line set up on a straight line make angles, it will make either two right angles or angles equal to two right angles.","references":["Prop.1.11","C.N.2","C.N.2","C.N.1"]}
{"name":"Prop.1.14","description":"If with any straight line, and at a point on it, two straight lines not lying on the same side make the adjacent angles equal to two right angles, the two straight lines will be in a straight line with one another.","references":["Prop.1.13","C.N.3"]}
{"name":"Prop.1.15","description":"If two straight lines cut one another, they make the vertical angles equal to one another.","references":["Prop.1.13","Prop.1.13","C.N.3"]}
{"name":"Prop.1.16","description":"In any triangle, if one of the sides be produced, the exterior angle is greater than either of the interior and opposite angles.","references":["Prop.1.10","Prop.1.3","Post.1","Post.2","Prop.1.15","Prop.1.4","C.N.5","Prop.1.15"]}
{"name":"Prop.1.17","description":"In any triangle two angles taken together in any manner are less than two right angles.","references":["Post.2","Prop.1.16","Prop.1.13"]}
{"name":"Prop.1.18","description":"In any triangle the greater side subtends the greater angle.","references":["Prop.1.3","Prop.1.16"]}
{"name":"Prop.1.19","description":"In any triangle the greater angle is subtended by the greater side.","references":["Prop.1.5"]}
{"name":"Prop.1.2","description":"To place at a given point as an extremity a straight line equal to a given straight line.","references":["Post.1","Prop.1.1","Post.2","Post.3","Post.3","C.N.3","C.N.1"]}
{"name":"Prop.1.20","description":"In any triangle two sids taken together in any manner are greater than the remaining one.","references":["Prop.1.5","C.N.5","Prop.1.19"]}
{"name":"Prop.1.21","description":"If one of the sides of a triangle, from its extremities, there be constructed two straight lines meeting wihtin the triangle, the straight lines so constructed will be less than the remaining two sides of the triangle, but will contain a greater angle.","references":["Prop.1.20","Prop.1.16"]}
{"name":"Prop.1.22","description":"Out of three straight lines, which are equal to three given straight lines, to construct a triangle: thus it is necessary that two of the straight lines taken together in any manner should be greater than the remaining one.[I. 20]","references":["Prop.1.3"]}
{"name":"Prop.1.23","description":"On a given straight line and at a point on it to construct a rectilineal angle equal to a given rectilineal angle.","references":["Prop.1.22","Prop.1.8"]}
{"name":"Prop.1.24","description":"If two triangles have the two sides equal to two sides respectively, but have the one of the angles contained by the equal straight lines greater than the other, they will also have the base greater than the base.","references":["Prop.1.23","Prop.1.4","Prop.1.5","Prop.1.19"]}
{"name":"Prop.1.25","description":"If two triangles have the two sides equal to two sides respectively, but have the base greater than the base, they will also have the one of the angles contained by the equal straight lines greater than the other.","references":["Prop.1.4","Prop.1.24"]}
{"name":"Prop.1.26","description":"If two triangles have the two angles equal to two angles respectively, and one side equal to one side, namely, either the side adjoining the equal angles, or that subtending one of the equal angles, they will also have the remaining sides equal to the remaining sides and the remaining angle to the remaining angle.","references":["Prop.1.4","Prop.1.4","Prop.1.4","Prop.1.16","Prop.1.4"]}
{"name":"Prop.1.27","description":"If a straight line falling on two straight lines make the alternate angles equal to one another, the straight lines will be parallel to one another.","references":["Prop.1.16"]}
{"name":"Prop.1.28","description":"If a straight line falling on two straight lines make the exterior angle equal to the interior and opposite angle on the same side, or the interior angles on the same side equal to two right angles, the straight lines will be parallel to one another.","references":["Prop.1.15","Prop.1.27","Prop.1.13","Prop.1.27"]}
{"name":"Prop.1.29","description":"A straight line falling on parallel straight lines makes the alternate angles equal to one another, the exterior angle equal to the interior and opposite angle, and the interior angles on the same side equal to two right angles.","references":["Prop.1.13","Post.5","Prop.1.15","C.N.1","C.N.2","Prop.1.13"]}
{"name":"Prop.1.3","description":"Given two unequal straight lines, to cut off from the greater a straight line equal to the less.","references":["Prop.1.2","Post.3","C.N.1"]}
{"name":"Prop.1.30","description":"Straight lines parallel to the same straight line are also parallel to one another.","references":["Prop.1.29","Prop.1.29","C.N.1"]}
{"name":"Prop.1.31","description":"Through a given point to draw a straight line parallel to a given straight line.","references":["Prop.1.23","Prop.1.27"]}
{"name":"Prop.1.32","description":"In any triangle, if one of the sides be produced, the exterior angle is equal to the two interior and opposite angles, and the three interior angles of the triangle are equal to two right angles.","references":["Prop.1.31","Prop.1.29","Prop.1.29","Prop.1.13"]}
{"name":"Prop.1.33","description":"The straight lines joining equal and parallel straight lines at the extremities which are in the same directions respectively are themselves also equal and parallel.","references":["Prop.1.29","Prop.1.4","Prop.1.27"]}
{"name":"Prop.1.34","description":"In parallelogrammic areas the opposite sides and angles are equal to one another, and the diameter bisects the areas.","references":["Prop.1.29","Prop.1.29","Prop.1.26","C.N.2","Prop.1.4"]}
{"name":"Prop.1.35","description":"Parallelograms which are on the same base and in the same parallels are equal to one another.","references":["Prop.1.34","C.N.1","C.N.2","Prop.1.34","Prop.1.4","C.N.3","C.N.2"]}
{"name":"Prop.1.36","description":"Parallelograms which are on equal bases and in the same parallels are equal to one another.","references":["C.N.1","Prop.1.33","Prop.1.34","Prop.1.35","Prop.1.35","C.N.1"]}
{"name":"Prop.1.37","description":"Triangles which are on the same base and in the same parallels are equal to one another.","references":["Prop.1.31","Prop.1.31","Prop.1.35","Prop.1.34","Prop.1.34"]}
{"name":"Prop.1.38","description":"Triangles which are on equal bases and in the same parallels are equal to one another.","references":["Prop.1.31","Prop.1.36","Prop.1.34","Prop.1.34"]}
{"name":"Prop.1.39","description":"Equal triangles which are on the same base and on the same side are also in the same parallels.","references":["Prop.1.31","Prop.1.37","C.N.1"]}
{"name":"Prop.1.4","description":"If two triangles have the two sides equal to two sides respectively, and have the angles contained by the equal straight lines equal, they will also have the base equal to the base, the triangle will be equal to the triangle, and remaining angles will be equal to the remaining angles respectively, namely those which the equal sides subtend.","references":["C.N.4","C.N.4","C.N.4"]}
{"name":"Prop.1.40","description":"Equal triangles which are on equal bases and on the same side are also in the same parallels.","references":["Prop.1.31","Prop.1.38","C.N.1"]}
{"name":"Prop.1.41","description":"If a parallelogram have the same base with a triangle and be in the same parallels, the parallelogram is double of the triangle.","references":["Prop.1.37","Prop.1.34"]}
{"name":"Prop.1.42","description":"To construct, in a given rectilineal angle, a parallelogram equal to given triangle.","references":["Prop.1.23","Prop.1.31","Prop.1.38"]}
{"name":"Prop.1.43","description":"In any parallelogram the complements of the parallelograms about the diameter are equal to one another.","references":["Prop.1.34","C.N.2","C.N.3"]}
{"name":"Prop.1.44","description":"To a given straight line to apply, in a given rectilineal angle, a parallelogram equal to a given triangle.","references":["Prop.1.42","Prop.1.31","Prop.1.29","Post.5","Prop.1.31","Prop.1.43","C.N.1","Prop.1.15"]}
{"name":"Prop.1.45","description":"To construct, in a given rectilineal angle, a parallelogram equal to a given rectilineal figure.","references":["Prop.1.42","Prop.1.44","C.N.1","Prop.1.29","Prop.1.14","Prop.1.29","C.N.2","C.N.1","Prop.1.14","Prop.1.34","Prop.1.33"]}
{"name":"Prop.1.46","description":"On a given straight line to describe a square.","references":["Prop.1.11","Prop.1.31","Prop.1.34","Prop.1.29","Prop.1.34"]}
{"name":"Prop.1.47","description":"In right-angled triangles the square on the side subtending the right angle is equal to the squares on the sides containing the right angle.","references":["Prop.1.46","Prop.1.14","C.N.2","Prop.1.4","Prop.1.41","Prop.1.41","C.N.2"]}
{"name":"Prop.1.48","description":"If in a triangle the square on one of the sides be equal to the squares on the remaining two sides of the triangle, the angle contained by the remaining two sides of the triangle is right.","references":["Prop.1.47","Prop.1.8"]}
{"name":"Prop.1.5","description":"In isosceles triangles the angles at the base are equal to one another, and, if the equal straight lines be produced further, the angles under the base will be equal to one another.","references":["Post.2","Prop.1.3","Post.1","Prop.1.4"]}
{"name":"Prop.1.6","description":"If in a triangle two angles be equal to one another, the sides which subtend the equal angles will also be equal to one another.","references":[]}
{"name":"Prop.1.7","description":"Given two straight lines constructed on a straight line from its extremities and meeting in a point, there cannot be constructed on the same straight line from its extremities, and on the same side of it, two other straight lines meeting in another point and equal to the former two respectively, namely each to that which has the same extremity with it.","references":["Prop.1.5"]}
{"name":"Prop.1.8","description":"If two triangles have the two sides equal to two sides respectively, and have also the base equal to the base, they will also have the angles equal which are contained by the equal straight lines.","references":["Prop.1.7"]}
{"name":"Prop.1.9","description":"To bisect a given rectilineal angle.","references":["Prop.1.3","Prop.1.8"]}
{"name":"Prop.10.1","description":"Two unequal magnitudes being set out, if from the greater there be subtracted a magnitude greater than its half, and from that which is left a magnitude greater than its half, and if this process be repeated continually, there will be left some magnitude which will be less than the lesser magnitude set out.","references":[]}
{"name":"Prop.10.10","description":"To find two straight lines incommensurable, the one in length only, and the other in square also, with an assigned straight line.","references":["Prop.10.6","Prop.10.9","Def.5.9","Prop.10.11"]}
{"name":"Prop.10.100","description":"The square on a minor straight line applied to a rational straight line produces as breadth a fourth apotome.","references":["Prop.10.76","Prop.10.20","Prop.2.7","Prop.10.22","Prop.6.1","Prop.10.11","Prop.10.73","Prop.6.1","Prop.10.11","Prop.6.1","Prop.5.11","Prop.6.17","Prop.10.18","Def.10.3.4"]}
{"name":"Prop.10.101","description":"The square on the straight line which produces with a rational area a medial whole, if applied to a rational straight line, produces as breadth a fifth apotome.","references":["Prop.10.77","Prop.10.22","Prop.2.7","Prop.10.20","Prop.6.1","Prop.10.11","Prop.10.73","Prop.6.1","Prop.10.11","Prop.10.18","Def.10.3.5"]}
{"name":"Prop.10.102","description":"The square on the straight line which produces with a medial area a medial whole, if applied to a rational straight line, produces as breadth a sixth apotome.","references":["Prop.10.78","Prop.10.22","Prop.2.7","Prop.10.22","Prop.6.1","Prop.10.11","Prop.10.73","Prop.6.1","Prop.10.11","Prop.10.18","Def.10.3.6"]}
{"name":"Prop.10.103","description":"A straight line commensurable in length with an apotome is an apotome and the same in order.","references":["Prop.10.73","Prop.6.12","Prop.5.12","Prop.10.11","Prop.10.13","Prop.5.16","Prop.10.14","Prop.10.12","Prop.10.12","Prop.10.13","Prop.10.14","Prop.10.12","Prop.10.13"]}
{"name":"Prop.10.104","description":"A straight line commensurable with an apotome of a medial straight line is an apotome of a medial straight line and the same in order.","references":["Prop.10.74","Prop.10.75","Prop.6.12","Prop.5.12","Prop.10.11","Prop.10.23","Prop.10.13","Prop.10.74","Prop.10.75","Prop.5.16","Prop.10.11","Def.10.4","Prop.10.74","Prop.10.75"]}
{"name":"Prop.10.105","description":"A straight line commensurable with a minor straight line is minor.","references":["Prop.10.76","Prop.10.13","Prop.5.12","Prop.5.16","Prop.6.22","Prop.5.18","Prop.5.16","Prop.10.11","Prop.10.76","Def.10.4","Prop.10.76","Prop.10.76"]}
{"name":"Prop.10.106","description":"A straight line commensurable with that which produces with a rational area a medial whole is a straight line which produces with a rational area a medial whole.","references":["Prop.10.77","Prop.10.77"]}
{"name":"Prop.10.107","description":"A straight line commensurable with that which produces with a medial area a medial whole is itself also a straight line which produces with a medial area a medial whole.","references":["Prop.10.78","Prop.10.78"]}
{"name":"Prop.10.108","description":"If from a rational area a medial area be subtracted, the \"side\" of the remaining area becomes one of two irrational straight lines, either an apotome or a minor straight line.","references":["Prop.10.20","Prop.10.22","Prop.10.13","Prop.10.73","Def.10.3.1","Prop.10.91","Def.10.3.4","Prop.10.94"]}
{"name":"Prop.10.109","description":"If from a medial area a rational area be subtracted, there arise two other irrational straight lines, either a first apotome of a medial straight line or a straight line which produces with a rational area a medial whole.","references":["Prop.10.13","Prop.10.73","Def.10.3.2","Prop.10.92","Def.10.3.5","Prop.10.95"]}
{"name":"Prop.10.11","description":"If four magnitudes be proportional, and the first be commensurable with the second, the third will also be commensurable with the fourth; and, if the first be incommensurable with the second, the third will also be incommensurable with the fourth.","references":["Prop.10.5","Prop.10.6","Prop.10.7","Prop.10.8"]}
{"name":"Prop.10.110","description":"If from a medial area there be subtracted a medial area incommensurable with the whole, the two remaining irrational straight lines arise, either a second apotome of a medial straight line or a straight line which produces with a medial area a medial whole.","references":["Prop.10.22","Prop.6.1","Prop.10.11","Prop.10.73","Def.10.3.3","Prop.10.93","Def.10.3.6","Prop.10.96"]}
{"name":"Prop.10.111","description":"The apotome is not the same with the binomial straight line.","references":["Prop.10.97","Def.10.3.1","Prop.10.60","Def.10.2.1","Prop.10.12","Prop.10.15","Prop.10.13","Prop.10.73","Prop.10.22","Prop.10.97","Prop.10.98","Prop.10.99","Prop.10.100","Prop.10.101","Prop.10.102","Prop.10.111"]}
{"name":"Prop.10.112","description":"The square on a rational straight line applied to the binomial straight line produces as breadth an apotome the terms of which are commensurable with the terms of the binomial and moreover in the same ratio; and further, the apotome so arising will have the same order as the binomial straight line.","references":["Prop.6.16","Prop.5.16","Prop.5.14","Prop.5.17","Prop.5.12","Prop.5.11","Prop.5.11","Prop.10.36","Prop.6.22","Prop.10.11","Def.5.9","Prop.10.15","Prop.10.20","Prop.10.11","Prop.10.73","Prop.10.14","Prop.10.12","Prop.10.14"]}
{"name":"Prop.10.113","description":"The square on a rational line, if applied to an apotome, produces as breadth the binomial straight line the terms of which are commensurable with the terms of the apotome and in the same ratio; and further, the binomial so arising has the same order as the apotome.","references":["Prop.10.73","Prop.10.20","Prop.6.16","Prop.5.19","Prop.10.11","Prop.5.11","Def.5.9","Prop.10.11","Prop.10.15","Prop.10.12","Prop.5.16","Prop.10.11","Def.10.3","Prop.10.36","Prop.10.14","Prop.10.14"]}
{"name":"Prop.10.114","description":"If an area be contained by an apotome and the binomial straight line the terms of which are commensurable with the terms of the apotome and in the same ratio, the \"side\" of the area is rational.","references":["Prop.10.112","Prop.5.19","Prop.10.12","Prop.10.11","Prop.6.1","Prop.10.11"]}
{"name":"Prop.10.115","description":"From a medial straight line there arise irrational straight lines infinite in number, and none of them is the same as any of the preceding.","references":["Def.10.4","Def.10.4"]}
{"name":"Prop.10.12","description":"Magnitudes commensurable with the same magnitude are commensurable with one another also.","references":["Prop.10.5","Prop.10.5","Prop.5.11","Prop.5.11","Prop.5.22","Prop.10.6"]}
{"name":"Prop.10.13","description":"If two magnitudes be commensurable, and the one of them be incommensurable with any magnitude, the remaining one will also be incommensurable with the same.","references":["Prop.10.12","Prop.4.1","Prop.3.31","Prop.1.47","Prop.1.47"]}
{"name":"Prop.10.14","description":"If four straight lines be proportional, and the square on the first be greater than the square on the second by the square on a straight line commensurable with the first, the square on the third will also be greater than the square on the fourth by the square on a straight line commensurable with the third.\r\n\t\t\t<br>\r\n\t\t\tAnd, if the square on the first be greater than the square on the second by the square on a straight line incommensurable with the first, the square on the third will also be greater than the square on the fourth by the square on a straight line incommensurable with the third.","references":["Prop.6.22","Prop.5.17","Prop.6.22","Prop.5.22","Prop.10.11"]}
{"name":"Prop.10.15","description":"If two commensurable magnitudes be added together, the whole will also be commensurable with each of them; and, if the whole be commensurable with one of them, the original magnitudes will also be commensurable.","references":["Def.10.1","Def.10.1"]}
{"name":"Prop.10.16","description":"If two incommensurable magnitudes be added together, the whole will also be incommensurable with each of them; and, if the whole be incommensurable with one of them, the original magnitudes will also be incommensurable.","references":["Def.10.1","Def.10.1"]}
{"name":"Prop.10.17","description":"If there be two unequal straight lines, and to the greater there be applied a parallelogram equal to the fourth part of the square on the less and deficient by a square figure, and if it divide it into parts which are commensurable in length, then the square on the greater will be greater than the square on the less by the square on a straight line commensurable with the greater.\r\n\t\t<br>\r\n\t\t\tAnd, if the square on the greater be greater than the square on the less by the square on a straight line commensurable with the greater, and if there be applied to the greater a parallelogram equal to the fourth part of the square on the less and deficient by a square figure, it will divide it into parts which are commensurable in length.","references":["Prop.2.5","Prop.10.15","Prop.10.6","Prop.10.12","Prop.10.15","Prop.10.15","Prop.10.6","Prop.10.12","Prop.10.15"]}
{"name":"Prop.10.18","description":"If there be two unequal straight lines, and to the greater there be applied a parallelogram equal to the fourth part of the square on the less and deficient by a square figure, and if it divide it into parts which are incommensurable, the square on the greater will be greater than the square on the less by the square on a straight line incommensurable with the greater.\r\n\t\t<br>\r\n\t\t\tAnd, if the square on the greater be greater than the square on the less by the square on a straight line incommensurable with the greater, and if there be applied to the greater a parallelogram equal to the fourth part of the square on the less and dificient by a square figure, it divides it into parts which are incommensurable.","references":["Prop.10.16","Prop.10.6","Prop.10.13","Prop.10.16","Prop.10.16","Prop.10.6","Prop.10.13","Prop.10.16"]}
{"name":"Prop.10.19","description":"The rectangle contained by rational straight lines commensurable in length is rational.","references":["Def.10.4","Prop.6.1","Prop.10.11","Def.10.4"]}
{"name":"Prop.10.2","description":"If, when the less of two unequal magnitudes is continually subtracted in turn from the greater, that which is left never measures the one before it, the magnitudes will be incommensuralbe.","references":["Def.10.1"]}
{"name":"Prop.10.20","description":"If a rational area be applied to a rational straight line, it produces as breadth a straight line rational and commensurable in length with the straight line to which it is applied.","references":["Def.10.4","Prop.6.1","Prop.10.11"]}
{"name":"Prop.10.21","description":"The rectangle contained by rational straight lines commensurable in square only is irrational, and the side of the square equal to it is irrational. Let the latter be called medial.","references":["Def.10.4","Prop.6.1","Prop.10.11","Def.10.4","Prop.6.1"]}
{"name":"Prop.10.22","description":"The square on a medial straight line, if applied to a rational straight line, produces as breadth a straight line rational and incommensurable in length with that to which it is applied.","references":["Prop.10.21","Prop.6.14","Prop.6.22","Prop.10.11","Def.10.4","Prop.10.11","Prop.10.13","Prop.10.11"]}
{"name":"Prop.10.23","description":"A straight line commensurable with a medial straight line is medial.","references":["Prop.10.22","Prop.6.1","Prop.10.11","Def.10.3","Prop.10.13","Prop.10.21"]}
{"name":"Prop.10.24","description":"The ractangle contained by medial straight lines commensurable in length is medial.","references":["Prop.4.1","Prop.10.11"]}
{"name":"Prop.10.25","description":"The rectangle contained by medial straight lines commensurable in square only is either rational or medial.","references":["Prop.10.22","Prop.6.1","Prop.10.11","Prop.10.19","Prop.6.1","Prop.6.1","Prop.6.1","Prop.5.11","Prop.6.17","Prop.10.19","Prop.10.21"]}
{"name":"Prop.10.26","description":"A medial area does not exceed a medial area by a rational area.","references":["Prop.10.22","Prop.10.20","Prop.10.13","Prop.10.11","Prop.10.6","Prop.10.13","Prop.2.4","Prop.10.16","Def.10.4"]}
{"name":"Prop.10.27","description":"To find medial straight lines commensurable in square only which contain a rational rectangle.","references":["Prop.6.13","Prop.6.12","Prop.6.17","Prop.10.21","Prop.10.21","Prop.10.11","Prop.5.16"]}
{"name":"Prop.10.28","description":"To find medial straight lines commensurable in square only, which contain a medial rectangle.","references":["Prop.6.13","Prop.6.12","Prop.6.17","Prop.10.21","Prop.10.11","Prop.5.16","Prop.6.16","Prop.10.21","Prop.9.24","Prop.9.26","Prop.2.6","Prop.9.1","Prop.2.6","Prop.2.6"]}
{"name":"Prop.10.29","description":"To find two rational straight lines commensurable in square only and such that the square on the greater is greater than the square on the less by the square on a straight line commensurable in length with the greater.","references":["Prop.10.6","Def.10.4","Def.10.4","Prop.10.9","Prop.3.31","Prop.1.47","Prop.10.9"]}
{"name":"Prop.10.3","description":"Given two commensurable magnitudes, to find their greatest common measure.","references":[]}
{"name":"Prop.10.30","description":"To find two rational straight lines commensurable in square only and such that the square on the greater is greater than the square on the less by the square on a straight line incommensurable in length with the greater.","references":["Prop.10.9"]}
{"name":"Prop.10.31","description":"To find two medial straight lines commensurable in square only, containing a rational rectangle, and such that the square on the greater is greater than the square on the less by the square on a straight line commensurable in length with the greater.","references":["Prop.10.29","Prop.10.21","Prop.10.21","Prop.10.11","Prop.10.14","Prop.10.30"]}
{"name":"Prop.10.32","description":"To find two medial straight lines commensurable in square only, containing a medial rectangle, and such that the square on the greater is greater than the square on the less by the square on a straight line commensurable with the greater.","references":["Prop.10.29","Prop.10.21","Prop.10.11","Prop.10.14","Prop.10.21","Prop.10.30","Prop.6.8","Prop.6.4","Prop.6.17","Prop.6.17","Prop.6.4","Prop.6.16"]}
{"name":"Prop.10.33","description":"To find two straight lines incommensurable in square which make the sum of the squares on them rational but the rectangle contained by them medial.","references":["Prop.10.30","Prop.6.28","Prop.10.18","Prop.1.47","Prop.10.21"]}
{"name":"Prop.10.34","description":"To find two straight lines incommensuralbe in square which make the sum of the squares on them medial but the rectangle contained by them rational.","references":["Prop.6.28","Prop.10.18","Prop.10.11","Prop.3.31","Prop.1.47","Prop.10.6"]}
{"name":"Prop.10.35","description":"To find two straight lines incommensurable in square which make the sum of the squares on them medial and the rectangle contained by them medial and moreover incommensurable with the sum of squares on them.","references":["Prop.10.18","Prop.10.11","Prop.3.31","Prop.1.47","Prop.10.13","Prop.10.11","Prop.1.47"]}
{"name":"Prop.10.36","description":"If two rational straight lines commensurable in square only be added together, the whole is irrational; and let it be called binomial.","references":["Prop.10.11","Prop.10.6","Prop.10.15","Prop.10.13","Prop.2.4","Prop.10.16","Def.10.4"]}
{"name":"Prop.10.37","description":"If two medial straight lines commensurable in square only and containing a rational rectangle be added together, the whole is irrational; and let it be called a first bimedial straight line.","references":["Prop.2.4","Prop.10.16","Def.10.4"]}
{"name":"Prop.10.38","description":"If two medial straight lines commensurable in square only and containing a medial rectangle be added together, the whole is irrational; and let it be called a second bimedial straight line.","references":["Prop.1.44","Prop.2.4","Prop.10.22","Prop.10.11","Prop.10.15","Prop.10.6","Prop.10.13","Prop.6.1","Prop.10.11","Prop.10.36","Def.10.4"]}
{"name":"Prop.10.39","description":"If two straight lines incommensurable in square which make the sum of the squares on them rational, but the rectangle contained by them medial, be added together, the whole straight line is irrational: and let it be called major.","references":["Prop.10.33","Prop.10.6","Prop.10.16","Def.10.4"]}
{"name":"Prop.10.4","description":"Given three commensurable magnitudes, to find their greatest common measure.","references":["Prop.10.3","Prop.10.3"]}
{"name":"Prop.10.40","description":"If two straight lines incommensurable in square which make the sum of the squares on them medial, but the rectangle contained by them rational, be added together, the whole straight line is irrational; and let it be called the side of a rational plus a medial area.","references":["Prop.10.34","Prop.10.16","Def.10.4"]}
{"name":"Prop.10.41","description":"If two straight lines incommensurable in square which make the sum of the squares on them medial, and the rectangle contained by them medial and also incommensurable with the sum of the squares on them, be added together, the whole straight line is irrational; and let it be called the side of the sum of two medial areas.","references":["Prop.10.35","Prop.2.4","Prop.10.22","Prop.6.1","Prop.10.11","Prop.10.36","Def.10.4","Prop.2.5","Prop.2.5"]}
{"name":"Prop.10.42","description":"A binomial straight line is divided into its terms at one point only.\n\t<br>","references":["Prop.2.4","Prop.10.21","Prop.10.26"]}
{"name":"Prop.10.43","description":"A first bimedial straight line is divided at one point only.","references":["Prop.10.37","Prop.10.26"]}
{"name":"Prop.10.44","description":"A second bimedial straight line is divided at one point only.","references":["Prop.10.38","Prop.2.4","Prop.10.22","Prop.10.11","Prop.10.15","Prop.10.6","Prop.10.13","Prop.6.1","Prop.10.11","Prop.10.36"]}
{"name":"Prop.10.45","description":"A major straight line is divided at one and the same point only.","references":["Prop.10.26"]}
{"name":"Prop.10.46","description":"The side of a rational plus a medial area is divided at one point only.","references":["Prop.10.40","Prop.10.26"]}
{"name":"Prop.10.47","description":"The side of the sum of two medial areas is divided at one point only.","references":["Prop.2.4","Prop.10.22","Prop.6.1","Prop.10.11","Prop.10.36","Prop.10.42"]}
{"name":"Prop.10.48","description":"To find the first binomial straight line.","references":["Prop.10.6","Prop.10.9","Prop.10.36","Prop.10.9"]}
{"name":"Prop.10.49","description":"To find the second binomial straight line.","references":["Prop.10.6","Prop.10.9","Prop.10.36","Prop.10.9"]}
{"name":"Prop.10.5","description":"Commensurable magnitudes have to one another the ratio which a number has to a number.","references":["Prop.5.15","Prop.5.22"]}
{"name":"Prop.10.50","description":"To find the third binomial straight line.","references":["Prop.10.6","Prop.10.9","Prop.10.6","Prop.10.9","Prop.10.36","Prop.5.22","Prop.10.9","Prop.10.9"]}
{"name":"Prop.10.51","description":"To find the fourth binomial straight line.","references":["Prop.10.6","Prop.10.9","Prop.10.9"]}
{"name":"Prop.10.52","description":"To find the fifth binomial straight line.","references":["Prop.10.9","Prop.10.36","Prop.10.9"]}
{"name":"Prop.10.53","description":"To find the sixth binomial straight line.","references":["Prop.10.6","Prop.10.9","Prop.10.6","Prop.10.9","Prop.10.36","Prop.5.22","Prop.10.9","Prop.10.9","Prop.1.34","Prop.6.1","Prop.5.11","Prop.5.18","Prop.6.1","Prop.5.11"]}
{"name":"Prop.10.54","description":"If an area be contained by a rational straight line and the first binomial, the \"side\" of the area is the irrational straight line which is called binomial.","references":["Def.10.2.1","Prop.10.17","Prop.2.14","Prop.6.17","Prop.6.1","Prop.10.15","Prop.10.12","Prop.10.19","Prop.10.13","Prop.6.1","Prop.10.11","Prop.6.1","Prop.10.11","Prop.10.36"]}
{"name":"Prop.10.55","description":"If an area be contained by a rational straight line and the second binomial, the \"side\" of the area is the irrational straight line which is called a first bimedial.","references":["Def.10.2.2","Prop.10.17","Prop.10.13","Prop.10.15","Prop.10.13","Prop.10.21","Prop.6.1","Prop.10.11","Prop.10.13","Prop.6.1","Prop.10.11","Prop.10.12","Prop.10.19","Prop.10.37"]}
{"name":"Prop.10.56","description":"If an area be contained by a rational straight line and the third binomial, the \"side\" of the area is the irrational straight line called a second bimedial.","references":["Def.10.2.3","Prop.10.13","Prop.10.21","Prop.10.38"]}
{"name":"Prop.10.57","description":"If an area be contained by a rational straight line and the fourth binomial, the \"side\" of the area is the irrational straight line called major.","references":["Def.10.2.4","Prop.10.18","Prop.6.1","Prop.10.11","Prop.10.19","Prop.10.13","Prop.10.21","Prop.10.39"]}
{"name":"Prop.10.58","description":"If an area be contained by a rational straight line and the fifth binomial, the \"side\" of the area is the irrational straight line called the side of a rational plus a medial area.","references":["Prop.10.18","Prop.6.1","Prop.10.11","Def.10.2.5","Prop.10.13","Prop.10.21","Prop.10.12","Prop.10.19","Prop.10.40"]}
{"name":"Prop.10.59","description":"If an area be contained by a rational straight line and the sixth binomial, the \"side\" of the area is the irrational straight line called the side of the sum of two medial areas.","references":["Prop.10.21","Prop.10.13","Prop.10.21","Prop.6.1","Prop.10.11","Prop.10.41","Prop.2.5","Prop.2.9"]}
{"name":"Prop.10.6","description":"If two magnitudes have to one another the ratio which a number has to a number, the magnitudes will be commensurable.","references":["Def.7.20","Def.7.20","Prop.5.22","Prop.5.11","Prop.5.9"]}
{"name":"Prop.10.60","description":"The square on the binomial straight line applied to a rational straight line produces as breadth the first binomial.","references":["Prop.10.36","Prop.10.15","Prop.10.20","Prop.10.21","Prop.10.22","Prop.10.13","Prop.10.36","Prop.6.17","Prop.6.1","Prop.10.11","Prop.6.1","Prop.10.17","Def.10.2.1"]}
{"name":"Prop.10.61","description":"The square on the first bimedial straight line applied to a rational straight line produces as breadth the second binomial.","references":["Prop.10.37","Prop.10.21","Prop.10.15","Prop.10.22","Prop.10.20","Prop.10.13","Prop.10.36","Prop.6.1","Prop.6.1","Prop.10.11","Prop.10.17","Def.10.2.2"]}
{"name":"Prop.10.62","description":"The square on the second bimedial line applied to a rational straight line produces as breadth the third binomial.","references":["Prop.10.38","Prop.10.15","Prop.10.23","Prop.10.22","Prop.10.11","Prop.10.12","Prop.10.13","Prop.6.1","Prop.10.11","Prop.10.36","Def.10.2.3"]}
{"name":"Prop.10.63","description":"The square on the major straight line applied to a rational straight line produces as breadth the fourth binomial.","references":["Prop.10.39","Prop.10.20","Prop.10.22","Prop.10.13","Prop.10.36","Prop.6.1","Prop.10.11","Prop.10.18","Def.10.2.41"]}
{"name":"Prop.10.64","description":"The square on the side of a rational plus a medial area applied to a rational straight line produces as breadth the fifth binomial.","references":["Prop.10.40","Prop.10.22","Prop.10.20","Prop.10.13","Prop.10.36","Prop.10.18"]}
{"name":"Prop.10.65","description":"The square on the side of the sum of two medial areas applied to a rational straight line produces as breadth the sixth binomial.","references":["Prop.10.41","Prop.10.22","Prop.6.1","Prop.10.11","Prop.10.36"]}
{"name":"Prop.10.66","description":"A straight line commensurable in length with a binomial straight line is itself also binomial and the same in order.","references":["Prop.10.36","Prop.6.12","Prop.5.19","Prop.10.11","Prop.5.11","Prop.5.16","Prop.10.11","Prop.10.36","Prop.10.14","Prop.10.12","Def.10.2.1","Prop.10.12","Def.10.2.2","Prop.10.13","Def.10.2.3","Prop.10.14","Def.10.2.4","Def.10.2.5","Def.10.2.6"]}
{"name":"Prop.10.67","description":"A straight line commensurable in length with a bimedial straight line is itself also bimedial and the same in order.","references":["Prop.10.37","Prop.10.38","Prop.5.19","Prop.10.11","Prop.10.23","Prop.5.11","Prop.10.11","Prop.5.16","Prop.10.37","Prop.10.38"]}
{"name":"Prop.10.68","description":"A straight line commensurable with a major straight line is itself also major.","references":["Prop.10.39","Prop.5.11","Prop.10.11","Prop.5.16","Prop.5.18","Prop.6.20","Prop.5.16","Prop.10.39"]}
{"name":"Prop.10.69","description":"A straight line commensurable with the side of a rational plus a medial area is itself also the side of a rational plus a medial area.","references":["Prop.10.40"]}
{"name":"Prop.10.7","description":"Incommensurable magnitudes have not to one another the ratio which a number has to a number.","references":["Prop.10.6"]}
{"name":"Prop.10.70","description":"A straight line commensurable with the side of the sum of two medial areas is the side of the sum of two medial areas.","references":["Prop.10.41"]}
{"name":"Prop.10.71","description":"If a rational and a medial area be added together, four irrational straight lines arise, namely a binomial or a first bimedial or a major or a side of a rational plus a medial area.","references":["Prop.10.20","Prop.10.22","Prop.6.1","Prop.10.11","Prop.10.36","Def.10.2.1","Prop.10.54","Def.10.2.4","Prop.10.57","Def.10.2.2","Prop.10.55","Def.10.2.5","Prop.10.58"]}
{"name":"Prop.10.72","description":"If two medial areas incommensurable with one another be added together, the remaining two irrational straight lines arise, namely either a second bimedial or a side of the sum of two medial areas.","references":["Prop.10.22","Prop.6.1","Prop.10.11","Prop.10.36","Def.10.2.3","Prop.10.56","Def.10.2.6","Prop.10.59","Prop.10.22","Prop.10.60","Prop.10.61","Prop.10.62","Prop.10.63","Prop.10.64","Prop.10.65"]}
{"name":"Prop.10.73","description":"If from a rational straight line there be subtracted a rational straight line commensurable with the whole in square only, the remainder is irrational; and let it be called an apotome.","references":["Prop.10.11","Prop.10.15","Prop.10.6","Prop.2.7","Prop.10.13","Prop.10.16","Def.10.4"]}
{"name":"Prop.10.74","description":"If from a mediall straight line there be subtracted a medial straight line which is commensurable with the whole in square only, and which contains with the whole a rational rectangle, the remainder is irrational. And let it be called a first apotome of a medial straight line.","references":["Prop.10.16","Def.10.4"]}
{"name":"Prop.10.75","description":"If from a medial straight line there be subtracted a medial straight line which is commensurable with the whole in square only, and which contains with the whole a medial rectangle, the remainder is irrational; and let it be called a second apotome of a medial straight line.","references":["Prop.10.28","Prop.2.7","Prop.10.15","Prop.10.22","Prop.10.22","Prop.10.11","Prop.10.15","Prop.10.6","Prop.10.13","Prop.6.1","Prop.10.11","Prop.10.73"]}
{"name":"Prop.10.76","description":"If from a straight line there be subtracted a straight line which is incommensurable in square with the whole and which with the whole makes the squares on them added together rational, but the rectangle contained by them medial, the remainder is irrational; and let it be called minor.","references":["Prop.10.33","Prop.2.7","Prop.10.16"]}
{"name":"Prop.10.77","description":"If from a straight line there be subtracted a straight line which is incommensurable in square with the whole, and which with the whole makes the sum of the squares on them medial, but twice the rectangle contained by them rational, the remainder is irrational; and let it be called that which produces with a rational area a medial whole.","references":["Prop.10.34","Prop.2.7","Prop.10.16"]}
{"name":"Prop.10.78","description":"If from a straight line there be subtracted a straight line which is incommensurable in suqare with the whole and which with the whole makes the sum of the squares on them medial, twice the rectangle contained by them medial, and further, the squares on them incommensurable with twice the rectangle contained by them, the remainder is irrational; and let it be called that which produces with a medial area a medial whole.","references":["Prop.10.35","Prop.2.7","Prop.10.22","Prop.10.22","Prop.6.1","Prop.10.11","Prop.10.73"]}
{"name":"Prop.10.79","description":"To an apotome only one rational straight line can be annexed which is commensurable with the whole in square only.","references":["Prop.10.73","Prop.10.73","Prop.2.7","Prop.10.21","Prop.10.26"]}
{"name":"Prop.10.8","description":"If two magnitudes have not to one another the ratio which a number has to a number, the magnitudes will be incommensurable.","references":["Prop.10.5"]}
{"name":"Prop.10.80","description":"To a first apotome of a medial straight line only one medial straight line can be annexed which is commensurable with the whole in square only and which contains with the whole a rational rectangle.","references":["Prop.10.74","Prop.10.74","Prop.2.7","Prop.10.15","Prop.10.26"]}
{"name":"Prop.10.81","description":"To a second apotome of a medial straight line only one medial straight line can be annexed which is commensurable with the whole in square only and which contains with the whole a medial rectangle.","references":["Prop.10.75","Prop.10.75","Prop.2.7","Prop.2.7","Prop.10.15","Prop.10.22","Prop.10.22","Prop.10.11","Prop.10.6","Prop.10.13","Prop.6.1","Prop.10.11","Prop.10.73","Prop.10.79"]}
{"name":"Prop.10.82","description":"To a minor straight line only one straight line can be annexed which is incommensurable in square with the whole and which makes, with the whole, the sum of the squares on them rational but twice the rectangle contained by them medial.","references":["Prop.10.76","Prop.10.76","Prop.10.26"]}
{"name":"Prop.10.83","description":"To a straight line which produces with a rational area a medial whole only one straight line can be annexed which is incommensurable in square with the whole straight line and which with the whole straight line makes the sum of the squares on them medial, but twice the rectangle contained by them rational.","references":["Prop.10.77","Prop.10.77","Prop.10.26"]}
{"name":"Prop.10.84","description":"To a straight line which produces with a medial area a medial whole only one straight line can be annexed which is incommensurable in square with the whole straight line and which with the whole straight line makes the sum of the squares on them medial and twice the rectangle contained by them both medial and also incommensurable with the sum of the squares on them.","references":["Prop.10.78","Prop.10.78","Prop.2.7","Prop.2.7","Prop.10.22","Prop.10.22","Prop.10.73","Prop.10.79"]}
{"name":"Prop.10.85","description":"To find the first apotome.","references":["Prop.10.6","Prop.10.9","Prop.10.73","Prop.10.9","Def.10.3.1"]}
{"name":"Prop.10.86","description":"To find the second apotome.","references":["Prop.10.6","Prop.10.9","Prop.10.73","Prop.10.9","Def.10.3.2"]}
{"name":"Prop.10.87","description":"To find the third apotome.","references":["Prop.10.6","Prop.10.9","Prop.10.6","Prop.10.9","Prop.10.73","Prop.5.22","Prop.10.9","Prop.10.9","Def.10.3.3"]}
{"name":"Prop.10.88","description":"To find the fourth apotome.","references":["Prop.10.6","Prop.10.9","Prop.10.73","Prop.10.9","Def.10.3.4"]}
{"name":"Prop.10.89","description":"To find the fifth apotome.","references":["Prop.10.6","Prop.10.9","Prop.10.73","Prop.10.9","Def.10.3.5"]}
{"name":"Prop.10.9","description":"The squares on straight lines commensurable in length have to one another the ratio which a square number has to a square number; and squares which have to one another the ratio which a square number has to a square number will also have their sides commensurable in length. But the squares on straight lines incommensurable in length have not to one another the ratio which a square number has to a square number; \r\n\t\t\tand squares which have not to one another the ratio which a square number has to a square number will not have their sides commensurable in length either.","references":["Prop.10.5","Prop.8.11","Prop.10.6","Prop.8.26"]}
{"name":"Prop.10.90","description":"To find the sixth apotome.","references":["Prop.10.6","Prop.10.9","Prop.10.6","Prop.10.9","Prop.5.22","Prop.10.9","Prop.10.9","Def.10.3.6"]}
{"name":"Prop.10.91","description":"If an area be contained by a rational straight line and a first apotome, the \"side\" of the area is an apotome.","references":["Prop.10.73","Def.10.3.1","Prop.10.17","Prop.10.15","Prop.10.12","Prop.10.19","Prop.10.15","Prop.10.13","Prop.10.21","Prop.6.26","Prop.6.17","Prop.6.1","Prop.5.11","Prop.6.1","Prop.10.11","Prop.10.73"]}
{"name":"Prop.10.92","description":"If an area be contained by a rational straight line and a second apotome, the \"side\" of the area is a first apotome of a medial straight line.","references":["Prop.10.73","Def.10.3.2","Prop.10.17","Prop.10.15","Prop.10.13","Prop.10.21","Prop.10.15","Prop.10.19","Prop.6.26","Prop.6.17","Prop.6.1","Prop.5.11","Prop.6.1","Prop.10.11","Prop.10.74"]}
{"name":"Prop.10.93","description":"If an area be contained by a rational straight line and a third apotome, the \"side\" of the area is a second apotome of a medial straight line.","references":["Def.10.3.3","Prop.10.17","Prop.6.1","Prop.10.11","Prop.10.15","Prop.10.13","Prop.10.21","Prop.10.15","Prop.10.13","Prop.10.21","Prop.10.13","Prop.6.1","Prop.10.11","Prop.6.26","Prop.6.17","Prop.6.1","Prop.5.11","Prop.6.1","Prop.10.11","Prop.6.1","Prop.10.11","Prop.10.75"]}
{"name":"Prop.10.94","description":"If an area be contained by a rational straight line and a fourth apotome, the \"side\" of the area is minor.","references":["Def.10.3.4","Prop.10.18","Prop.10.19","Prop.10.21","Prop.6.1","Prop.10.11","Prop.6.26","Prop.6.17","Prop.6.1","Prop.5.11","Prop.10.76"]}
{"name":"Prop.10.95","description":"If an area be contianed by a rational straight line and a fifth apotome, the \"side\" of the area is a straight line which produces with a rational area a medial whole.","references":["Def.10.3.5","Prop.10.18","Prop.10.21","Prop.10.19","Prop.6.26","Prop.10.77"]}
{"name":"Prop.10.96","description":"If an area be contained by a rational straight line and a sixth apotome, the \"side\" of the area is a straight line which produces with a medial area a medial whole.","references":["Def.10.3.6","Prop.10.18","Prop.6.1","Prop.10.11","Prop.10.21","Prop.10.21","Prop.6.1","Prop.10.11","Prop.6.26","Prop.10.78"]}
{"name":"Prop.10.97","description":"The square on an apotome applied to a rational straight line produces as breadth a first apotome.","references":["Prop.10.73","Prop.2.7","Prop.10.20","Prop.10.22","Prop.6.1","Prop.10.11","Prop.10.73","Prop.6.1","Prop.5.17","Prop.6.1","Prop.10.11","Prop.10.17","Def.10.3.1"]}
{"name":"Prop.10.98","description":"The square on a first apotome of a medial straight line applied to a rational straight line produces as breadth a second apotome.","references":["Prop.10.74","Prop.10.15","Prop.10.22","Prop.2.7","Prop.10.20","Prop.6.1","Prop.10.11","Prop.10.73","Prop.6.1","Prop.5.11","Prop.5.17","Prop.10.17","Def.10.3.2"]}
{"name":"Prop.10.99","description":"The square on a second apotome of a medial straight line applied to a rational straight line produces as breadth a third apotome.","references":["Prop.10.75","Prop.10.15","Prop.10.22","Prop.2.7","Prop.10.22","Prop.6.1","Prop.10.11","Prop.10.13","Prop.6.1","Prop.10.11","Prop.10.73","Prop.6.1","Prop.10.11","Prop.6.1","Prop.5.11","Prop.10.17","Def.10.3.3"]}
{"name":"Prop.11.1","description":"A part of a straight line cannot be in the plane of reference and a part in a plane more elevated.","references":[]}
{"name":"Prop.11.10","description":"If two straight lines meeting one another be parallel to two straight lines meeting one another not in the same plane, they will contain equal angles.","references":["Prop.1.33","Prop.1.33","Prop.1.8"]}
{"name":"Prop.11.11","description":"From a given elevated point to draw a straight line perpendicular to a given plane.","references":["Prop.1.12","Prop.1.11","Prop.1.12","Prop.1.31"]}
{"name":"Prop.11.12","description":"To set up a straight line at right angles to a given plane from a given point in it.","references":["Prop.1.31"]}
{"name":"Prop.11.13","description":"From the same point two straight lines cannot be set up at right angles to the same plane on the same side.","references":[]}
{"name":"Prop.11.14","description":"Planes to which the same straight line is at right angles will be parallel.","references":["Prop.1.17"]}
{"name":"Prop.11.15","description":"If two straight lines meeting one another be parallel to two straight lines meeting one another, not being in the same plane, the planes through them are parallel.","references":["Prop.1.31","Prop.1.29"]}
{"name":"Prop.11.16","description":"If two parallel planes be cut by any plane, their common sections are parallel.","references":["Def.1.23"]}
{"name":"Prop.11.17","description":"If two straight lines be cut by parallel planes, they will be cut in the same ratios.","references":["Prop.6.2","Prop.6.2","Prop.5.11"]}
{"name":"Prop.11.18","description":"If a straight line be at right angles to any plane, all the planes through it will also be at right angles to the same plane.","references":["Prop.1.11","Prop.1.28"]}
{"name":"Prop.11.19","description":"If two planes which cut one another be at right angles to any plane, their common section will also be at right angles to the same plane.","references":[]}
{"name":"Prop.11.2","description":"If two straight lines cut one another, they are in one plane, and every triangle is in one plane.","references":[]}
{"name":"Prop.11.20","description":"If a solid angle be contained by three plane angles, any two, taken together in any manner, are greater than the remaining one.","references":["Prop.1.4","Prop.1.20","Prop.1.25"]}
{"name":"Prop.11.21","description":"Any solid angle is contained by plane angles less than four right angles.","references":["Prop.1.32"]}
{"name":"Prop.11.22","description":"If there be three plane angles of which two, taken together in any manner, are greater than the remaining one, and they are contained by equal straight lines, it is possible to construct a triangle out of the straight lines joining the extremities of the equal straight lines.","references":["Prop.1.4","Prop.1.24"]}
{"name":"Prop.11.23","description":"To construct a solid angle out of three plane angles two of which, taken together in any manner, are greater than the remaining one: thus the three angles must be less than four right angles.","references":["Prop.1.8","Prop.6.2","Prop.1.29","Prop.6.4","Prop.5.16","Prop.1.25","Prop.1.4","Prop.1.47","Prop.1.8","Prop.4.1","Prop.3.31","Prop.1.47"]}
{"name":"Prop.11.24","description":"If a solid be contained by parallel planes, the opposite planes in it are equal and parallelogrammic.","references":["Prop.1.34","Prop.1.4","Prop.1.34"]}
{"name":"Prop.11.25","description":"If a parallelepipedal solid be cut by a plane which is parallel to the opposite planes, then, as the base is to the base, so will the solid be to the solid.","references":["Def.5.5"]}
{"name":"Prop.11.26","description":"On a given straight line, and at a given point on it, to construct a solid angle equal to a given solid angle.","references":["Prop.1.23","Prop.1.4","Prop.1.4","Prop.1.4","Prop.1.8"]}
{"name":"Prop.11.27","description":"On a given straight line to describe a parallelepipedal solid similar and similarly situated to a given parallelepipedal solid.","references":["Prop.6.12","Prop.5.22"]}
{"name":"Prop.11.28","description":"If a parallelepipedal solid be cut by a plane through the diagonals of the opposite planes, the solid will be bisected by the plane.","references":["Prop.1.34"]}
{"name":"Prop.11.29","description":"Parallelepipedal solids which are on the same base and of the same height, and in which the extremities of the sides which stand up are on the same straight lines, are equal to one another.","references":["Prop.1.34","Prop.1.8","Prop.1.4","Prop.1.36"]}
{"name":"Prop.11.3","description":"If two planes cut one another, their common section is a straight line.","references":[]}
{"name":"Prop.11.30","description":"Parallelepipedal solids which are on the same base and of the same height, and in which the extremities of the sides which stand up are not on the same straight lines, are equal to one another.","references":[]}
{"name":"Prop.11.31","description":"Parallelepipedal solids which are on equal bases and of the same height are equal to one another.","references":["Prop.1.23","Prop.1.35","Prop.5.7","Prop.5.11","Prop.5.9"]}
{"name":"Prop.11.32","description":"Parallelepipedal solids which are of the same height are to one another as their bases.","references":["Prop.1.45"]}
{"name":"Prop.11.33","description":"Similar parallelepipedal solids are to one another in the triplicate ratio of their corresponding sides.","references":["Prop.6.1","Def.5.10","Prop.6.1"]}
{"name":"Prop.11.34","description":"In equal parallelepipedal solids the bases are reciprocally proportional to the heights; and those parallelepipedal solids in which the bases are reciprocally proportional to the heights are equal.","references":["Prop.5.7","Prop.6.1","Prop.6.1","Prop.5.9"]}
{"name":"Prop.11.35","description":"If there be two equal plane angles, and on their vertices there be set up elevated straight lines containing equal with the original straight lines respectively, \r\n\t\tif on the elevated straight lines points be taken at random and perpendiculars be drawn from them to the planes in which the original angles are, and if from the points so arising in the planes straight lines be joined to the vertices of the original angles, they will contain, with the elevated straight lines, equal angles.","references":["Prop.1.47","Prop.1.47","Prop.1.48","Prop.1.26","Prop.1.4","Prop.1.26","Prop.1.4","Prop.1.47","Prop.1.47","Prop.1.8"]}
{"name":"Prop.11.36","description":"If three straight lines be proportional, the parallelepipedal solid formed out of the three is equal to the parallelepipedal solid on the mean wihich is equilateral, but equiangular with the aforesaid solid.","references":["Prop.6.14"]}
{"name":"Prop.11.37","description":"If four straight lines be proportional, the parallelepipedal solids on them which are similar and similarly described will also be proportional; and, if the parallelepipedal solids on them which are similar and similarly described be proportional, the straight lines will themselves also be proportional.","references":[]}
{"name":"Prop.11.38","description":"If the sides of the opposite planes of a cube be bisected, and planes be carried through the points of section, the common section of the planes and the diameter of the cube bisect one another.","references":["Prop.1.29","Prop.1.4","Prop.1.14","Prop.1.33","Prop.1.29","Prop.1.25","Prop.1.26"]}
{"name":"Prop.11.39","description":"If there be two prisms of equal height, and one have a parallelogram as base and the other a triangle, and if the paralleogram be double of the triangle, the prisms will be equal.","references":["Prop.1.34"]}
{"name":"Prop.11.4","description":"If a straight line be set up at right angles to two straight lines which cut one another, at their common point of section, it will also be at right angles to the plane through them.","references":["Prop.1.15","Prop.1.4","Prop.1.15","Prop.1.26","Prop.1.4","Prop.1.8","Prop.1.4","Prop.1.8"]}
{"name":"Prop.11.5","description":"If a straight line be set up at right angles to three straight lines which meet one another, at their common point of section, the three straight lines are in one plane.","references":[]}
{"name":"Prop.11.6","description":"If two straight lines be at right angles to the same plane, the straight lines will be parallel.","references":["Prop.1.4","Prop.1.8","Prop.1.28"]}
{"name":"Prop.11.7","description":"If two straight lines be parallel and points be taken at random on each of them, the straight line joining the points is in the same plane with the parallel straight line.","references":[]}
{"name":"Prop.11.8","description":"If two straight lines be parallel, and one of them be at right angles to any plane, \n\t\tthe remaining one will also be at right angles to the same plane.","references":["Prop.1.29"]}
{"name":"Prop.11.9","description":"Straight lines which are parallel to the same straight line and are not in the same plane with it are also parallel to one another.","references":[]}
{"name":"Prop.12.1","description":"Similar polygons inscribed in circles are to one another as the squares on the diameters.","references":["Def.6.1","Prop.6.6","Prop.3.27","Prop.3.31","Prop.1.32","Prop.6.4","Prop.6.20"]}
{"name":"Prop.12.10","description":"Any cone is a third part of the cylinder which has the same base with it and equal height.","references":["Prop.4.6","Prop.4.7","Prop.10.1","Prop.10.1"]}
{"name":"Prop.12.11","description":"Cones and cylinders which are of the same height are to one another as their bases.","references":["Prop.10.1","Prop.5.11","Prop.5.16"]}
{"name":"Prop.12.12","description":"Similar cones and cylinders are to one another in the triplicate ratio of the diameters in their bases.","references":["Prop.4.6","Prop.10.1","Prop.5.16","Prop.6.6","Prop.6.6","Prop.6.6","Prop.5.22","Prop.5.22","Prop.5.22","Prop.6.5","Def.6.1","Prop.5.12","Prop.5.16"]}
{"name":"Prop.12.13","description":"If a cylinder be cut by a plane which is parallel to its opposite planes, then, as the cylinder is to the cylinder, so will the axis be to the axis.","references":["Def.5.5"]}
{"name":"Prop.12.14","description":"Cones and cylinders which are on equal bases are to one another as their heights.","references":[]}
{"name":"Prop.12.15","description":"In equal cones and cylinders the bases are reciprocally proportional to the heights; \n\t\tand those cones and cylinders in which the bases are reciprocally proportional to the heights are equal.","references":["Prop.5.7","Prop.5.11","Prop.5.11","Prop.5.9"]}
{"name":"Prop.12.16","description":"Given two circles about the same centre, to inscribe in the greater circle an equilateral polygon with an even number of sides which does not touch the lesser circle.","references":["Prop.10.1","Prop.3.3","Prop.1.4"]}
{"name":"Prop.12.17","description":"Given two spheres about the same centre, to inscribe in the greater sphere a polyhedral solid which dose not touch the lesser sphere at its surface.","references":["Prop.3.27","Prop.1.26","Prop.6.2","Prop.1.33","Prop.1.47","Prop.1.47","Prop.3.31","Prop.1.47","Prop.5.12"]}
{"name":"Prop.12.18","description":"Spheres are to one another in the triplicate ratio of their respective diameters.","references":["Prop.5.16"]}
{"name":"Prop.12.2","description":"Circles are to one another as the squares on the diameters.","references":["Prop.5.11","Prop.5.16","Prop.5.11","Prop.5.16"]}
{"name":"Prop.12.3","description":"Any pyramid which has a triangular base is divided into two pyramids equal and similar to one another, similar to the whole and having triangular bases, and into two equal prisms; and the two prisms are greater than the half of the whole pyramid.","references":["Prop.6.2","Prop.1.34","Prop.1.4","Prop.1.4","Prop.1.29","Def.6.1"]}
{"name":"Prop.12.4","description":"If there be two pyramids of the same height which have triangular bases, and each of them be divided into two pyramids equal to one another and similar to the whole, and into two equal prisms, then, as the base of the one pyramid is to the base of the other pyramid, so will all the prisms in the one pyramid be to all the prisms, being equal in multitude, in the other pyramid.","references":["Prop.6.22","Prop.5.16","Prop.5.12"]}
{"name":"Prop.12.5","description":"Pyramids which are of the same height and have triangular bases are to one another as the bases.","references":["Prop.10.1","Prop.5.11","Prop.5.16","Prop.5.11"]}
{"name":"Prop.12.6","description":"Pyramids which are of the same height and have polygonal bases are to one another as the bases.","references":["Prop.5.18","Prop.5.22","Prop.5.18","Prop.5.22","Prop.5.22"]}
{"name":"Prop.12.7","description":"Any prism which has a triangular base is divided into three pyramids equal to one another which have triangular bases.","references":["Prop.1.34","Prop.1.34"]}
{"name":"Prop.12.8","description":"Similar pyramids which hasve triangular bases are in the triplicate ratio of their corresponding sides.","references":["Prop.6.20","Prop.5.12"]}
{"name":"Prop.12.9","description":"In equal pyramids which have triangular bases the bases are reciprocally proportional to the heights; and those pyramids in which the bases are reciprocally proportional to the heights are equal.","references":["Prop.1.34","Prop.5.11","Prop.5.11"]}
{"name":"Prop.13.1","description":"If a straight line be cut in extreme and mean ratio, the square on the greater segment added to the half of the whole is five times the square on the half.","references":["Def.6.3","Prop.6.17","Prop.6.1"]}
{"name":"Prop.13.10","description":"If an equilateral pentagon be inscribed in a circle, the square on the side of the pentagon is equal to the squares on the side of the hexagon and on that of the decagon inscribed in the same circle.","references":["Prop.1.5","Prop.1.26","Prop.3.26","Prop.6.33","Prop.1.32","Prop.6.4","Prop.6.17","Prop.1.4","Prop.1.32","Prop.6.4","Prop.6.17","Prop.2.2"]}
{"name":"Prop.13.11","description":"If in a circle which has its diameter rational an equilateral pentagon be inscribed, the side of the pentagon is the irrational straight line called minor.","references":["Prop.1.32","Prop.5.18","Prop.10.9","Prop.10.73","Prop.10.15","Prop.10.12","Prop.10.9","Def.10.3.4","Prop.10.94"]}
{"name":"Prop.13.12","description":"If an equislateral triangle be inscribed in a circle, the square on the side of the triangle is triple of the square on the radius of the circle.","references":["Prop.3.31","Prop.1.47"]}
{"name":"Prop.13.13","description":"To construct a pyramid, to comprehend it in a given sphere, and to prove that the square on the diameter of the sphere is one and a half times the square on the side of the pyramid.","references":["Prop.4.2","Prop.3.1","Prop.1.4","Prop.6.17","Prop.3.31","Prop.6.8","Prop.6.4","Prop.6.17","Prop.6.1"]}
{"name":"Prop.13.14","description":"To construct an ontahedron and comprehend it in a sphere, as in the preceding case; and to prove that the square on the diameter of the sphere is double of the square on the side of the octahedron.","references":["Prop.1.47","Prop.1.47","Prop.1.4","Prop.3.31","Prop.1.47"]}
{"name":"Prop.13.15","description":"To construct a cube and comprehend it in a sphere, like the pyramid; and to prove that the square on the diameter of the sphere is triple of the square on the side of the cube.","references":["Prop.1.47"]}
{"name":"Prop.13.16","description":"To construct an icosahedron and comprehend it in a sphere, like the aforesaid figures; and to prove that the side of the icosahedron is the irrational straight line called minor.","references":["Prop.1.33","Prop.1.33","Prop.6.8","Prop.3.31","Prop.6.8","Def.5.9"]}
{"name":"Prop.13.17","description":"To construct a dodecahedron and comprehend it in a sphere, like the aforesaid figures, and to prove that the side of the dodecahedron is the irrational straight line called apotome.","references":["Prop.1.47","Prop.6.32","Prop.3.8","Prop.5.15"]}
{"name":"Prop.13.18","description":"To set out the sides of the five figures and to compare them with one and another.","references":["Def.5.9","Prop.6.8","Prop.6.8","Prop.6.4","Def.5.9"]}
{"name":"Prop.13.2","description":"If the square on a straight line be five times the square on a segment of it, then, when the double of the said segment is cut in extreme and mean ratio, the greater segment is the remaining part of the original straight line.","references":["Prop.6.1","Prop.2.4"]}
{"name":"Prop.13.3","description":"If a straight line be cut in extreme and mean ratio, the square on the lesser segment added to the half of the greater segment is five times the square on the half of the greater segment.","references":[]}
{"name":"Prop.13.4","description":"If a straight line be cut in extreme and mean ratio, the square on the whole and the square on the lesser segment together are triple of the square on the greater segment.","references":["Def.6.3","Prop.6.17"]}
{"name":"Prop.13.5","description":"If a straight line be cut in extreme and mean ratio, and there be added to it a straight line equal to the greater segment, the whole straight line has been cut in extreme and mean ratio, and the original straight line is the greater segment.","references":["Def.6.3","Prop.6.17","Prop.6.17","Prop.5.14"]}
{"name":"Prop.13.6","description":"If a rational straight line be cut in extreme and mean ratio, each of the segments is the irrational straight line called apotome.","references":["Prop.10.6","Def.10.4","Prop.10.9","Prop.10.73","Def.6.3","Prop.6.17","Prop.10.97"]}
{"name":"Prop.13.7","description":"If three angles of an equilateral pentagon, taken either in order or not in order, be equal, the pentagon will be equiangular.","references":["Prop.1.4","Prop.1.6","Prop.1.8","Prop.1.4","Prop.1.5"]}
{"name":"Prop.13.8","description":"If in an equilateral and equiangular pentagon straight lines subtend two angles taken in order, they cut one another in extreme and mean ratio, and their greater segments are equal to the side of the pentagon.","references":["Prop.4.14","Prop.1.4","Prop.1.32","Prop.3.28","Prop.6.33","Prop.1.6","Prop.1.5","Prop.1.32","Prop.6.4","Prop.5.14"]}
{"name":"Prop.13.9","description":"If the side of the hexagon and that of the decagon inscribed in the same circle be added together, the whole straight line has been cut in extreme and mean ratio, and its greater segment is the side of the hexagon.","references":["Prop.6.33","Prop.1.5","Prop.1.32","Prop.1.5","Prop.1.32","Prop.1.32","Prop.6.4"]}
{"name":"Prop.2.1","description":"If there be two straight lines, and one of them be cut into any number of segments whatever, the rectangle contained by the two straight lines is equal to the rectangles contained by the uncut straight line and each of the segments.","references":["Prop.1.11","Prop.1.3","Prop.1.31","Prop.1.34"]}
{"name":"Prop.2.10","description":"If a straight line be bisected, and a straight line be added to it in a straight line, the square on the whole with the added straight line and the square on the added straight line both together are double of the square on the half and of the square described on the straight line made up of the half and the added straight line as on one straight line.","references":["Prop.1.11","Prop.1.3","Prop.1.31","Prop.1.29","Prop.1.5","Prop.1.32","Prop.1.29","Prop.1.32","Prop.1.6","Prop.1.34","Prop.1.32","Prop.1.6","Prop.1.47","C.N.1","Prop.1.47","Prop.1.34","Prop.1.47","Prop.1.47"]}
{"name":"Prop.2.11","description":"To cut a given straight line so that the rectangle contained by the whole and one of segments is equal to the square on the remaining segment.","references":["Prop.1.46","Prop.2.6","Prop.1.47"]}
{"name":"Prop.2.12","description":"In obtuse-angled triangles the square on the side subtending the obtuse angle is greater than the squares on the sides containing the obtuse angle by twice the rectangle contained by one of the sides about the obtuse angle, namely that on which the perpendicular falls, and the straight line cut off outside by the perpendicular towards the obtuse angle.","references":["Prop.2.4","Prop.1.47","Prop.1.47"]}
{"name":"Prop.2.13","description":"In acute-angled triangles the square on the side subtending the acute angle is less than the squares on the sides containing the acute angle by twice the rectangle contained by one of the sides about the acute angle, namely that on which the perpendicular falls, and the straight line cut off within by the perpendicular towards the acute angle.","references":["Prop.2.7","Prop.1.47"]}
{"name":"Prop.2.14","description":"To construct a square equal to a given rectilineal figure.","references":["Prop.1.45","Prop.2.5","Prop.1.47"]}
{"name":"Prop.2.2","description":"If a straight line be cut at random, the rectangles contained by the whole and both of the segments are equal to the square on the whole.","references":["Prop.1.46","Prop.1.31"]}
{"name":"Prop.2.3","description":"If a straight line be cut at random, the rectangle contained by the whole and one of the segments is equal to the rectangle contained by the segments and the square on the aforesaid segment.","references":["Prop.1.46","Prop.1.31"]}
{"name":"Prop.2.4","description":"If a straight line be cut at random, the square on the whole is equal to the squares on the segments and twice the rectangle contained by the segments.","references":["Prop.1.46","Prop.1.31","Prop.1.29","Prop.1.5","Prop.1.6","Prop.1.29","Prop.1.34","Prop.1.34"]}
{"name":"Prop.2.5","description":"If a straight line be cut into equal and unequal segments, the rectangle contained by the unequal segments of the whole together with the square on the straight line between the points of section is equal to the square on the half.","references":["Prop.1.46","Prop.1.31","Prop.1.43","Prop.1.36"]}
{"name":"Prop.2.6","description":"If a straight line be bisected and a straight line be added to it in a straight line, the rectangle contained by the whole with the added straight line and the added straight line together with the square on the half is equal to the square on the straight line made up of the half and the added straight line.","references":["Prop.1.46","Prop.1.31","Prop.1.36","Prop.1.43"]}
{"name":"Prop.2.7","description":"If a straight line be cut at random, the square on the whole and that on one of the segments both together are equal to twice the rectangle contained by the whole and the said segment and the square on the remaining segment.","references":["Prop.1.6","Prop.1.43"]}
{"name":"Prop.2.8","description":"If a straight line be cut at random, four times the rectangle contained by the whole and one of the segments together with the square on the remaining segment is equal to to square described on the whole and the aforesaid segment as on one straight line.","references":["Prop.1.36","Prop.1.43","Prop.1.36","Prop.1.43"]}
{"name":"Prop.2.9","description":"If a straight line be cut into equal and unequal segments, the squares on the unequal segments of the whole are double of the square on the half and of the square on the straight line between the points of section.","references":["Prop.1.32","Prop.1.29","Prop.1.32","Prop.1.6","Prop.1.29","Prop.1.32","Prop.1.6","Prop.1.47","Prop.1.34","Prop.1.47","Prop.1.47"]}
{"name":"Prop.3.1","description":"To find the centre of a given circle.","references":["Prop.1.8","Def.1.10"]}
{"name":"Prop.3.10","description":"A circle does not cut a circle at more points than two.","references":["Prop.3.5"]}
{"name":"Prop.3.11","description":"If two circles touch one another internally, and their centres be taken, the straight line joining their centres, if it be also produced, will fall on the point of contact of the circles.","references":[]}
{"name":"Prop.3.12","description":"If two circles touch one another externally, the straight line joining their centres will pass through the point of contact.","references":["Prop.1.20"]}
{"name":"Prop.3.13","description":"A circle does not touch a circle at more points than one, whether it touch it internally or externally.","references":["Prop.3.11","Prop.3.2","Def.3.3"]}
{"name":"Prop.3.14","description":"In a circle equal straight lines are equally distant from the centre, and those which are equally distant from the centre are equal to one another.","references":["Prop.3.1","Prop.3.3","Prop.1.47","Def.3.4","Prop.1.47"]}
{"name":"Prop.3.15","description":"Of straight lines in a circle the diameter is greatest, and of the rest the nearer to the centre is always greater than the more remote.","references":["Def.3.5","Prop.3.14","Prop.1.20","Prop.1.24"]}
{"name":"Prop.3.16","description":"The straight line drawn at right angles to the diameter of a circle from its extremity will fall outside the circle, and into the space between the straight line and the circumference another straight line cannot be interposed; further the angle of the semicircle is greater, and the remaining angle less, than any acute rectilineal angle.","references":["Prop.1.5","Prop.1.17","Prop.1.19"]}
{"name":"Prop.3.17","description":"From a given point to draw a straight line touching a given circle.","references":["Prop.3.1","Prop.1.4"]}
{"name":"Prop.3.18","description":"If a straight line touch a circle, and a straight line be joined from the centre to the point of contact, the straight line so joined will be perpendicular to the tangent.","references":["Prop.1.17","Prop.1.19"]}
{"name":"Prop.3.19","description":"If a straight line touch a circle, and from the point of contact a straight line be drawn at right angles to the tangent, the centre of the circle will be on the straight line so drawn.","references":["Prop.3.18"]}
{"name":"Prop.3.2","description":"If on the circumference of a circle two points be taken at random, the straight line joining the points will fall within the circle.","references":["Prop.3.1","Prop.1.5","Prop.1.16","Prop.1.19"]}
{"name":"Prop.3.20","description":"In a circle the angle at the centre is double of the angle at the circumference, when the angles have the same circumference as base.","references":["Prop.1.5","Prop.1.32"]}
{"name":"Prop.3.21","description":"In a circle the angles in the same segment are equal to one another.","references":["Prop.3.20"]}
{"name":"Prop.3.22","description":"The opposite angles of quadrilaterals in circles are euqal to two right angles.","references":["Prop.1.32","Prop.3.21"]}
{"name":"Prop.3.23","description":"On the same straight line there cannot be constructed two similar and unequal segments of circles on the same side.","references":["Def.3.1","Prop.1.16"]}
{"name":"Prop.3.24","description":"Similar segments of circles on equal straight lines are equal to one another.","references":["Prop.3.10"]}
{"name":"Prop.3.25","description":"Given a segment of a circle, to describe the complete circle of which it is a segment.","references":["Prop.1.6","Prop.3.9"]}
{"name":"Prop.3.26","description":"In equal circles equal angles stand on equal circumferences, whether they stand at the centres or at the circumferences.","references":["Prop.1.4","Def.3.11","Prop.3.24"]}
{"name":"Prop.3.27","description":"In equal circles angles standing on equal circumferences are equal to one another, whether they stand at the centres or at the circumferences.","references":["Prop.1.23","Prop.3.26","Prop.3.20"]}
{"name":"Prop.3.28","description":"In equal circles equal straight lines cut off equal circumferences, the greater equal to the greater and the less to the less.","references":["Prop.1.8","Prop.3.26"]}
{"name":"Prop.3.29","description":"In equal circles equal circumferences are subtended by equal straight lines.","references":["Prop.3.27","Prop.1.4"]}
{"name":"Prop.3.3","description":"If in a circle a straight line through the centre bisect a straight line not through the centre, it also cuts it at right angles; and if it cut it at right angles, it also besects it.","references":["Prop.1.8","Prop.1.5","Prop.1.26"]}
{"name":"Prop.3.30","description":"To bisect a given circumference.","references":["Prop.1.4","Prop.3.28"]}
{"name":"Prop.3.31","description":"In a circle the angle in the semicircle is right, \n\t\tthat in a greater segment less than a right angle, and that in a less segment greater than a right angle; and further the angle of the greater segment is greater than a right angle, and the angle of the less segment less than a right angle.","references":["Prop.1.5","Prop.1.5","Prop.1.32","Def.1.10","Prop.1.17","Prop.3.22"]}
{"name":"Prop.3.32","description":"If a straight line touch a circle, and from the point of contact there be drawn across, in the circle, a straight line cutting the circle, the angles which it makes with the tangent will be equal to the angles in the alternate segments of the circle.","references":["Prop.3.19","Prop.3.31","Prop.1.32","Prop.3.22"]}
{"name":"Prop.3.33","description":"On a given straight line to describe a segment of a circle admitting an angle equal to a given rectilineal angle.","references":["Prop.1.4","Prop.3.32","Prop.3.31","Prop.3.32"]}
{"name":"Prop.3.34","description":"From a given circle to cut off a segment admitting an angle equal to a given rectilineal angle.","references":["Prop.1.23","Prop.3.32"]}
{"name":"Prop.3.35","description":"If in a circle two straight lines cut one another, the rectangle contained by the segments of the one is equal to the rectangle contained by the segments of the other.","references":["Prop.3.3","Prop.2.5","Prop.1.47"]}
{"name":"Prop.3.36","description":"If a point be taken outside a circle and from it there fall on the circle two straight lines, and if one of them cut the circle and the other touch it, the rectangle contained by the whole of the straight line which cuts the circle and the straight line intercepted on it outside between the point and the convex circumference will equal to the square on the tangent.","references":["Prop.3.18","Prop.2.6","Prop.1.47","Prop.3.18","Prop.3.3","Prop.2.6","Prop.1.47","Prop.1.47"]}
{"name":"Prop.3.37","description":"If a point be taken outside a circle and from the point there fall on the circle two straight lines, if one of them cut the circle, and the other fall on it, and if further the rectangle contained by the whole of the straight line which cuts the circle and the straight line intercepted on it outside between the point and the convex circumference be equal to the square on the straight line which falls on the circle, the straight line which falls on it will touch the circle.","references":["Prop.3.18","Prop.3.36","Prop.1.8"]}
{"name":"Prop.3.4","description":"If in a circle two straight lines cut one another which are not through the centre, they do not bisect one another.","references":["Prop.3.1","Prop.3.3","Prop.3.3"]}
{"name":"Prop.3.5","description":"If two circles cut one another, they will not have the same centre.","references":["Def.1.15"]}
{"name":"Prop.3.6","description":"If two circle touch ont another, they will not have the same centre.","references":[]}
{"name":"Prop.3.7","description":"If on the diameter of a circle a point be taken which is not the centre of the circle, and from the point straight lines fall upon the circle, that will be greatest on which the centre is, the remainder of the same diameter will be least, and of the rest the nearer to the straight line through the centre is always greater than the more remote, and only two equal straight lines will fall from the point on the circle, one on each side of the least straight line.","references":["Prop.1.20","Prop.1.24","Prop.1.23","Prop.1.4"]}
{"name":"Prop.3.8","description":"If a point be taken outside a circle and from the point straight lines be drawn through to the circle, one of which is through the centre and the others are drawn at random, then, of the straight lines which fall on the concave circumference, that through the centre is greatest, while of the rest the nearer to that through the centre is always greater than the more remote, but, of the straight lines falling on the convex circumference, that between the point and the diameter is least, while of the rest the nearer to the least is always less than the more remote, and only two equal straight lines will fall on the circle from the point, one on each side of the least.","references":["Prop.3.1","Prop.1.24","Prop.1.20","Prop.1.21","Prop.1.4"]}
{"name":"Prop.3.9","description":"If a point be taken within a circle, and more than two equal straight lines fall from the point on the circle, the point taken is the centre of the circle.","references":["Prop.1.8","Def.1.10"]}
{"name":"Prop.4.1","description":"Into a given circle to fit a straight line equal to a given straight line which is not greater than the diameter of the circle.","references":[]}
{"name":"Prop.4.10","description":"To construct an isosceles triangle having each of the angles at the base double of the remaining one.","references":["Prop.2.11","Prop.4.1","Prop.4.5","Prop.3.37","Prop.3.32","Prop.1.32","Prop.1.5","Prop.1.6","Prop.1.5"]}
{"name":"Prop.4.11","description":"In a given circle to inscribe an equilateral and equiangular pentagon.","references":["Prop.4.10","Prop.4.2","Prop.1.9","Prop.3.26","Prop.3.29","Prop.3.27"]}
{"name":"Prop.4.12","description":"About a given circle to circumsrcibe an equilateral and equiangular pentagon.","references":["Prop.4.11","Prop.3.1","Prop.3.18","Prop.1.47","Prop.1.8","Prop.3.27","Prop.1.26"]}
{"name":"Prop.4.13","description":"In a given pentagon, which is equilateral and equiangular, to inscribe a circle.","references":["Prop.1.4","Prop.1.26","Prop.3.16"]}
{"name":"Prop.4.14","description":"About a given pentagton, which is equilateral and equiangular, to circumscribe a circle.","references":["Prop.1.6"]}
{"name":"Prop.4.15","description":"In a given circle to inscribe an equilateral and equiangular hexagon.","references":["Prop.1.5","Prop.1.32","Prop.1.15","Prop.3.26","Prop.3.29","Prop.3.27"]}
{"name":"Prop.4.16","description":"In a given circle to inscribe a fifteen-angled figure which shall be both equilateral and equiangular.","references":["Prop.3.30"]}
{"name":"Prop.4.2","description":"In a given circle to inscribe a triangle equiangular with a given triangle.","references":["Prop.1.23","Prop.3.32","Prop.1.32"]}
{"name":"Prop.4.3","description":"About a given circle to circumscribe a triangle equiangular with a given triangle.","references":["Prop.3.1","Prop.1.23","Prop.3.18","Prop.1.13","Prop.1.32"]}
{"name":"Prop.4.4","description":"In a given triangle to inscribe a circle.","references":["Prop.1.26","Prop.3.16","Def.4.5"]}
{"name":"Prop.4.5","description":"About a given triangle to circumscribe a circle.","references":["Prop.1.10","Prop.1.4","Prop.1.4","Prop.3.31"]}
{"name":"Prop.4.6","description":"In a given circle to inscribe a square.","references":["Prop.1.4","Prop.3.31","Def.1.22"]}
{"name":"Prop.4.7","description":"About a given circle to circumscribe a square\u3002","references":["Prop.3.18","Prop.1.28","Prop.1.30","Prop.1.34","Prop.1.34","Prop.1.34"]}
{"name":"Prop.4.8","description":"In a given square to inscribe a circle.","references":["Prop.1.10","Prop.1.31","Prop.1.34","Prop.3.16"]}
{"name":"Prop.4.9","description":"About a given square to circumscribe a circle.","references":["Prop.1.8","Prop.1.6"]}
{"name":"Prop.5.1","description":"If there be any number of magnitudes whatever which are, respectively, equimultiples of any magnitudes equal in multitude, then, whatever multiple one of the magnitudes is of one, that multiple also will all be of all.","references":[]}
{"name":"Prop.5.10","description":"Of magnitudes which have a ratio to the same, that which has a greater ratio is greater; and that to which the same has a greater ratio is less.","references":["Prop.5.7","Prop.5.8","Prop.5.7","Prop.5.8"]}
{"name":"Prop.5.11","description":"Ratios which are the same with the same ratio are also the same with one another.","references":[]}
{"name":"Prop.5.12","description":"If any number of magnitudes be proportional, as one of tha antecedents is to one of the consequents, so will all the antecedents be to all the consequents.","references":["Prop.5.1","Def.5.5"]}
{"name":"Prop.5.13","description":"If a first magnitude have to a second the same ratio as a third to a fourth, and the third have to the fourth a greater ratio than a fifth has to a sixth, the first will also have to the second a greater ratio than the fifth to the sixth.","references":["Def.5.7","Def.5.5","Def.5.7"]}
{"name":"Prop.5.14","description":"If a first magnitude have to a second the same ratio as a third has to a fourth, and the first be greater than the third, the second will also be greater than the fourth; \n\t\tif equal, equal; and if less, less.","references":["Prop.5.8","Prop.5.13","Prop.5.10"]}
{"name":"Prop.5.15","description":"Parts have the same ratio as the same multiples of them taken in correspondng order.","references":["Prop.5.7","Prop.5.12"]}
{"name":"Prop.5.16","description":"If four magnitudes be proportional, they will also be proportional alternately.","references":["Def.5.12","Prop.5.15","Prop.5.11","Prop.5.15","Prop.5.11","Def.5.5"]}
{"name":"Prop.5.17","description":"If magnitudes be proportional componendo, they will also be proportional separando.","references":["Def.5.14","Def.5.15","Prop.5.1","Prop.5.1","Prop.5.2"]}
{"name":"Prop.5.18","description":"If magnitudes be proportional separando, they will also be proportitonal componendo.","references":["Def.5.15","Def.5.14","Prop.5.17","Prop.5.11","Prop.5.14"]}
{"name":"Prop.5.19","description":"If, as a whole is to a whole, so is a part subtracted to a part subtracted, the remainder will also be to the remainder as whole to whole.","references":["Prop.5.16","Prop.5.17","Prop.5.16","Prop.5.11","Def.5.14","Def.5.16"]}
{"name":"Prop.5.2","description":"If a first magnitude be the same multiple of a second that a third is of a fourth, and a fifth also be the same multiple of the second that a sixth is of the fourth, \n\t\t\tthe sum of the first and fifth will also be the same multiple of the second that the sum of the third and sixth is of the fourth.","references":[]}
{"name":"Prop.5.20","description":"If there ba three magnitudes, and others equal to them in multitude, which taken two and two are in the same ratio, \r\n\t\tand if ex aequali the first be greater than the third, \r\n\t\tthe fourth will also be greater than the sixth, \r\n\t\tif equal, equal; and, if less, less.","references":["Def.5.17","Prop.5.8","Prop.5.13","Prop.5.10"]}
{"name":"Prop.5.21","description":"If there be three magnitudes, and others equal to them in multitude, which taken two and two together are in the same ratio, and the proportion of them be perturbed, then, if ex aequali the first magnitude is greater than the third, the fourth will also be greater than the sixth; if equal, equal; and if less, less.","references":["Def.5.18","Def.5.17","Prop.5.8","Prop.5.13","Prop.5.10"]}
{"name":"Prop.5.22","description":"If there be any number of magnitudes whatever, and others equal to them in multitude, which taken two and two together are in the same ratio, they will also be in the same ratio ex aequali.","references":["Def.5.17","Prop.5.4","Prop.5.20","Def.5.5"]}
{"name":"Prop.5.23","description":"If there be three magnitudes, and others equal to them in multitude, which taken two and two together are in the same ratio, and the proportion of them be perturbed, they will also be in the same ratio ex aequali.","references":["Def.5.18","Prop.5.15","Prop.5.11","Prop.5.16","Prop.5.15","Prop.5.11","Prop.5.15","Prop.5.11","Prop.5.16","Prop.5.21"]}
{"name":"Prop.5.24","description":"If a first magnitude have to a second the same ratio as a third has to a fourth, \r\n\t\tand also a fifth have to the second the same ratio as a sixth to the fourth, the first and fifth added together will have to the second the same ratio as the third and sixth have to the fourth.","references":["Prop.5.22","Prop.5.18"]}
{"name":"Prop.5.25","description":"If four magnitudes be proportional, the greatest and the least are greater than remaining two.","references":["Prop.5.19"]}
{"name":"Prop.5.3","description":"If a first magnitude be the same multiple of a second that a third is of a fourth, \n\t\t\tand if equimultiples be taken of the first and third, then also ex aequali the magnitudes taken will be equimultiples respectively, \n\t\t\tthe one of the second, \n\t\t\tand the other of the fourth.","references":["Prop.5.2"]}
{"name":"Prop.5.4","description":"If a first magnitude have to a second the same ratio as a third to a fourth, \n\t\tany equimultiples whatever of the first and third will also have the same ratio to any equimultiples whatever of the second and fourth respectively, taken in corresponding order.","references":["Prop.5.3","Def.5.5","Def.5.5"]}
{"name":"Prop.5.5","description":"If a magnitude be the same multiple of a magnitude that a part subtracted is of a part subtracted, the remainder will also be the same multiple of the remainder that the whole is of the whole.","references":["Prop.5.1"]}
{"name":"Prop.5.6","description":"If two magnitudes be equimultiples of two magnitudes, and any magnitudes subtracted from them be equimultiples of the same, the remainders also are either equal to the same or equimultiples of them.","references":["Prop.5.2"]}
{"name":"Prop.5.7","description":"Equal magnitudes have to the same the same ratio, as also has the same to equal magnitudes.","references":["Def.5.5","Def.5.5","Def.5.13"]}
{"name":"Prop.5.8","description":"Of unequal magnitudes, the greater has to the same a greater ratio than the less has; and the same has to the less a greater ratio than it has to the greater.","references":["Def.5.4","Prop.5.1","Def.5.7","Def.5.7","Def.5.4"]}
{"name":"Prop.5.9","description":"Magnitudes which have the same ratio to the same are equal to one another; and magnitudes to which the same has the same ratio are equal.","references":["Prop.5.8","Prop.5.8"]}
{"name":"Prop.6.1","description":"Triangles and parallelograms which are under the same height are to one another as their bases.","references":["Prop.1.38","Prop.1.38","Def.5.5","Prop.1.41","Prop.5.15","Prop.5.11"]}
{"name":"Prop.6.10","description":"To cut a given uncut straight line similarly to a given cut straight line.","references":["Prop.1.31","Prop.1.34","Prop.6.2","Prop.6.2"]}
{"name":"Prop.6.11","description":"To two given straight lines to find a third proportional.","references":["Prop.1.3","Prop.1.31","Prop.6.2"]}
{"name":"Prop.6.12","description":"To three given straight lines to find a fourth proportional.","references":["Prop.1.31","Prop.6.2"]}
{"name":"Prop.6.13","description":"To two given straight lines to find a mean proportional.","references":["Prop.3.31"]}
{"name":"Prop.6.14","description":"In equal and equiangular parallelograms the sides about the equal angles are reciprocally proportional; \r\n\t\t\tand equiangular parallelograms in which the sides about the equal angles are reciprocally proportional are equal.","references":["Prop.1.14","Prop.5.7","Prop.6.1","Prop.6.1","Prop.5.11","Prop.6.1","Prop.6.1","Prop.5.11","Prop.5.9"]}
{"name":"Prop.6.15","description":"In equal triangle which have one angle equal to one angle the sides about the equal angles are reciprocally proportional; \r\n\t\t\tand those triangles which have one angle equal to one angle, \r\n\t\t\tand in which the sides about the equal angles are reciprocally proportional, are equal.","references":["Prop.1.14","Prop.5.7","Prop.6.1","Prop.6.1","Prop.5.11","Prop.6.1","Prop.5.11","Prop.5.9"]}
{"name":"Prop.6.16","description":"If four straight lines be proportional, the rectangle contained by the extremes is equal to the rectangle contained by the means; \r\n\t\tand, if the rectangle contained by the extremes be equal to the rectangle contained by the means, the four straight lines will be proportional.","references":["Prop.6.14","Prop.6.14"]}
{"name":"Prop.6.17","description":"If three straight lines be proportional, the rectangle contained by the extremes is equal to the square on then mean; \r\n\t\tand, if the rectangle contained by the extremes be equal to the square on the mean, the three straight lines will be proportional.","references":["Prop.6.16","Prop.6.16"]}
{"name":"Prop.6.18","description":"On a given straight line to describe a rectilineal figure similar and similarly situated to a given rectilineal figure.","references":["Prop.1.23","Prop.1.32","Prop.1.23","Prop.1.32","Prop.6.4","Def.6.1"]}
{"name":"Prop.6.19","description":"Similar triangles are to one another in the duplicate ratio of the corresponding sides.","references":["Def.5.11","Prop.6.11","Prop.5.16","Prop.5.11","Prop.6.15","Def.5.9","Prop.6.1"]}
{"name":"Prop.6.2","description":"If a straight line be drawn parallel to one of the sides of a triangle, it will cut the sides of the triangle proportionally; and, if the sides of the triangle be cut proportionally, the line joining the points of section will be parallel to the remaining side of the triangle.","references":["Prop.1.38","Prop.5.7","Prop.6.1","Prop.5.11","Prop.6.1","Prop.5.11","Prop.5.9","Prop.1.39"]}
{"name":"Prop.6.20","description":"Similar polygons are divided into similar triangles, and into triangles equal in multitude and in the same ratio as the wholes, and the polygon has to the polygon a ratio duplicate of that which the corresponding side has to the corresponding side.","references":["Def.6.1","Prop.6.6","Prop.5.22","Prop.6.6","Prop.6.6","Prop.1.32","Prop.6.1","Prop.5.12","Prop.5.22","Prop.6.19"]}
{"name":"Prop.6.21","description":"Figures which are similar to the same rectilineal figure are also similar to one another.","references":["Def.6.1"]}
{"name":"Prop.6.22","description":"If four straight lines be proportional, the rectilineal figure similar and similarly described upon them will also be proportional; and if the rectilineal figures similar and similarly described upon them be proportional, the straight lines will themselves also be proportional.","references":["Prop.6.11","Prop.5.22","Prop.5.11","Prop.6.12","Prop.6.18","Prop.5.11","Prop.5.9"]}
{"name":"Prop.6.23","description":"Equiangular parallelograms have to one another the ratio compounded of the ratios of their sides.","references":["Prop.6.12","Prop.6.1","Prop.5.11","Prop.6.1","Prop.5.11"]}
{"name":"Prop.6.24","description":"In any parallelogram the parallelograms about the diameter are similar both to the whole and to one another.","references":["Prop.6.2","Prop.6.2","Prop.5.18","Prop.5.16","Prop.5.22","Def.6.1","Prop.6.21"]}
{"name":"Prop.6.25","description":"To construct one and the same figure similar to a given rectilineal figure and equal to another given rectilineal figure.","references":["Prop.1.44","Prop.1.45","Prop.6.13","Prop.6.18","Prop.6.1","Prop.5.16"]}
{"name":"Prop.6.26","description":"If from a parallelogram there be taken away a parallelogram similar and similarly situated to the whole and having a common angle with it, it is about the same diameter with the whole.","references":["Prop.1.31","Prop.6.24","Prop.5.11","Prop.5.9"]}
{"name":"Prop.6.27","description":"Of all the parallelograms applied to the same straight line and deficient by parallelogrammic figures similar and similarly situated to that described on the half of the straight line, that parallelogram is greatest which is applied to the half of the straight line and is similar to the defect.","references":["Prop.6.26","Prop.1.43","Prop.1.36"]}
{"name":"Prop.6.28","description":"To a given straight line to apply a parallelogram equal to a given rectilineal figure and deficient by a parallelogrammic figure similar to a given one: thus the given rectilineal figure must not be greater than the parallelogram described on the half of the straight line and similar to the defect.","references":["Prop.6.18","Prop.6.25","Prop.6.21","Prop.6.21","Prop.6.26","Prop.1.36"]}
{"name":"Prop.6.29","description":"To a given straight line to apply a parallelogram equal to a given rectilineal figure and exceeding by a parallelogrammic figure similar to a given one.","references":["Prop.6.25","Prop.6.21","Prop.6.26","Prop.1.36","Prop.1.43","Prop.6.24"]}
{"name":"Prop.6.3","description":"If an angle of a triangle be bisected and the straight line cutting the angle cut the base also, \n\t\tthe segments of the base will have the same ratio as the remaining sides of the triangle; \n\t\tand, if the segments of the base have the same ratio as the remaining sides of the triangle, \n\t\tthe straight line joined from the vertex to the point of section will bisect tha angle of the triangle.","references":["Prop.1.29","Prop.1.29","Prop.1.6","Prop.6.2","Prop.6.2","Prop.5.11","Prop.5.9","Prop.1.5","Prop.1.29","Prop.1.29"]}
{"name":"Prop.6.30","description":"To cut a given finite straight line in extreme and mean ratio.","references":["Prop.6.29","Prop.6.14"]}
{"name":"Prop.6.31","description":"In right-angled triangles the figure on the side subtending the right angle is equal to the similar and similarly described figures on the sides containing the right angle.","references":["Prop.6.8","Def.6.1","Prop.5.24"]}
{"name":"Prop.6.32","description":"If two triangles having two sides proportional to two sides be placed together at one angle so that their corresponding sides are also parallel, the remaining sides of the triangles will be in a straight line.","references":["Prop.1.29","Prop.6.6","Prop.1.32","Prop.1.14"]}
{"name":"Prop.6.33","description":"In equal circles angles have the same ratio as the circumferences on which they stand, whether they stand at the centres or at the circumferences.","references":["Prop.3.27","Prop.3.27","Def.5.5"]}
{"name":"Prop.6.4","description":"In equiangular triangles the sides about the equal angles are proportional, \n\t\tand those are corresponding sides which subtend the equal angles.","references":["Prop.1.17","Prop.1.28","Prop.1.28","Prop.1.34","Prop.6.2","Prop.5.16","Prop.6.2","Prop.5.16","Prop.5.16"]}
{"name":"Prop.6.5","description":"If two triangles have their sides proportional, the triangles will be equiangular and will have those angles equal which the corresponding sides subtend.","references":["Prop.1.23","Prop.1.32","Prop.6.4","Prop.5.11","Prop.5.9","Prop.1.8","Prop.1.4"]}
{"name":"Prop.6.6","description":"If two triangles have one angle equal to one angle and the sides about the equal angles proportional, the triangles will be equiangular and will have those angles equal which the corresponding sides subtend.","references":["Prop.1.23","Prop.1.32","Prop.6.4","Prop.5.11","Prop.5.9","Prop.1.4","Prop.1.32"]}
{"name":"Prop.6.7","description":"If two triangles have one angle equal to one angle, the sides about other angles proportional, and the ramaining angles either both less or both not less than a right angle, the triangles will be equiangular and will have those angles equal, the sides about which are proportional.","references":["Prop.1.23","Prop.1.32","Prop.6.4","Prop.5.11","Prop.5.9","Prop.1.5","Prop.1.13","Prop.1.32","Prop.1.5","Prop.1.17","Prop.1.32"]}
{"name":"Prop.6.8","description":"If in a right-angled triangle a perpendicular be drawn from the right angle to the base, the triangles adjoining the perpendicular are similar both to the whole and to one another.","references":["Prop.1.32","Prop.6.4","Def.6.1","Prop.1.32","Prop.6.4","Def.6.1"]}
{"name":"Prop.6.9","description":"From a given straight line to cut off a prescribed part.","references":["Prop.1.3","Prop.1.31","Prop.6.2"]}
{"name":"Prop.7.1","description":"Two unequal numbers being set out, and the less being continually subtracted in turn from the greater, if the number which is left never measures the one before it until an unit is left, \n\t\tthe original numbers will be prime to one another.","references":["Def.7.12"]}
{"name":"Prop.7.10","description":"If a number be parts of a number, and another be the same parts of another, alternately also, whatever parts or part the first is of the third, the same parts or the same part will the second also be of the fourth.","references":["Prop.7.9","Prop.7.5","Prop.7.6"]}
{"name":"Prop.7.11","description":"If, as whole is to whole, so is a number subtracted to a number subtracted, the remainder will also be to the remainder as whole to whole.","references":["Def.7.20","Prop.7.7","Prop.7.8","Def.7.20"]}
{"name":"Prop.7.12","description":"If there be as many numbers as we please in proportion, then, as one of the antecedents is to one of the consequents, so are all antecedents to all the consequents.","references":["Def.7.20","Prop.7.5","Prop.7.6","Def.7.20"]}
{"name":"Prop.7.13","description":"If four numbers be proportional, they will also be proportional alternately.","references":["Def.7.20","Prop.7.10","Def.7.20"]}
{"name":"Prop.7.14","description":"If there be as many numbers as we please, and others equal to them in multitude, which taken two and two are in the same ratio, they will also be in the same ratio ex aequali.","references":["Prop.7.13","Prop.7.13","Prop.7.13"]}
{"name":"Prop.7.15","description":"If an unit measure any number, and another number measure any other number the same number of times, alternately also, the unit will measure the third number the same number of times that the second measures the fourth.","references":["Prop.7.12"]}
{"name":"Prop.7.16","description":"If two numbers by multiplying one another make certain numbers, the numbers so produced will be equal to one another.","references":["Prop.7.15"]}
{"name":"Prop.7.17","description":"If a number by multiplying two numbers make certain numbers, the numbers so produced will have the same ratio as the numbers multiplied.","references":["Def.7.20","Prop.7.13"]}
{"name":"Prop.7.18","description":"If two numbers by multiplying any number make certain numbers, the numbers so produced will have the same ratio as the multipliers.","references":["Prop.7.16","Prop.7.17"]}
{"name":"Prop.7.19","description":"If four numbers be proportional, the number produced from the first and fourth will be equal to the number produced from the second and third; and, if the number produced from the first and fourth be equal to that produced from the second and third, the four numbers will be proportional.","references":["Prop.7.17","Prop.7.18","Prop.7.17","Prop.7.18"]}
{"name":"Prop.7.2","description":"Given two numbers not prime to one another, to find their greatest common measure.","references":["Prop.7.1"]}
{"name":"Prop.7.20","description":"The least numbers of those which have the same ratio with them measure those which have the same ratio the same number of times, the greater the greater and the less the less.","references":["Prop.7.12","Prop.7.4"]}
{"name":"Prop.7.21","description":"Numbers prime to one another are the least of those which have the same ratio with them.","references":["Prop.7.20","Prop.7.16","Prop.7.16","Def.7.12"]}
{"name":"Prop.7.22","description":"The least numbers of those which have the same ratio with them are prime to one another.","references":["Def.7.15","Prop.7.17"]}
{"name":"Prop.7.23","description":"If two numbers be prime to one another, the number which measures the one of them will be prime to the remaining number.","references":["Def.7.12"]}
{"name":"Prop.7.24","description":"If two numbers be prime to any number, their product also will be prime to the same.","references":["Prop.7.23","Prop.7.16","Def.7.15","Prop.7.21","Prop.7.20","Def.7.12"]}
{"name":"Prop.7.25","description":"If two numbers be prime to one another, the product of one of them into itself will be prime to the remaining one.","references":["Prop.7.24"]}
{"name":"Prop.7.26","description":"If two numbers be prime to two numbers, both to each, their products also will be prime to one another.","references":["Prop.7.24","Prop.7.24"]}
{"name":"Prop.7.27","description":"If two numbers be prime to one another, and each by multiplying itself make a certain number, the products will be prime to one another; and, if the original numbers by multiplying the products make certain numbers, the latter will also be prime to one another and this is always the case with the extremes.","references":["Prop.7.25","Prop.7.25","Prop.7.25","Prop.7.26"]}
{"name":"Prop.7.28","description":"If two numbers be prime to one another, the sum will also be prime to each of them; and, if the sum of two numbers be prime to any one of them, the original numbers will also be prime to one another.","references":["Def.7.12","Def.7.12"]}
{"name":"Prop.7.29","description":"Any prime number is prime to any number which is does not measure.","references":[]}
{"name":"Prop.7.3","description":"Given three numbers not prime to one another, to find their greatest common measure.","references":["Prop.7.2","Prop.7.2"]}
{"name":"Prop.7.30","description":"If two numbers by multiplying one another make some number, and any prime number measure the product, it will also measure one of the original numbers.","references":["Prop.7.29","Def.7.15","Prop.7.19","Prop.7.21","Prop.7.20"]}
{"name":"Prop.7.31","description":"Any composite number is measured by some prime number.","references":[]}
{"name":"Prop.7.32","description":"Any number either is prime or is measured by some prime number.","references":["Prop.7.31"]}
{"name":"Prop.7.33","description":"Given as many numbers as we please, to find the least of those which have the same ratio with them.","references":["Prop.7.21","Prop.7.3","Prop.7.16","Def.7.20","Prop.7.16","Def.7.15","Prop.7.19"]}
{"name":"Prop.7.34","description":"Given two numbers, to find the least number which they measure.","references":["Def.7.15","Prop.7.19","Prop.7.21","Prop.7.20","Prop.7.17","Prop.7.33","Prop.7.19","Prop.7.19","Prop.7.20","Prop.7.17"]}
{"name":"Prop.7.35","description":"If two numbers measure any number, the least number measured by them will also measure the same.","references":[]}
{"name":"Prop.7.36","description":"Given three numbers, to find the least number which they measure.","references":["Prop.7.34","Prop.7.35","Prop.7.34","Prop.7.35"]}
{"name":"Prop.7.37","description":"If a number be measured by any number, the number which is measured will have a part called by the same as the measuring number.","references":["Prop.7.15"]}
{"name":"Prop.7.38","description":"If a number have any part whatever, it will be measured by a number called by the same name as the part.","references":["Prop.7.15"]}
{"name":"Prop.7.39","description":"To find the number which is the least that will have given parts.","references":["Prop.7.36","Prop.7.37","Prop.7.38"]}
{"name":"Prop.7.4","description":"Any number is either a part or parts of any number, the less of the greater.","references":["Prop.7.2"]}
{"name":"Prop.7.5","description":"If a number be a part of a number, and another be the same part of another, the sum will also be the same part of the sum that the one is of the one.","references":[]}
{"name":"Prop.7.6","description":"If a number be parts of a number, and another be the same parts of another, the sum will also be the same parts of the sum that the one is of the one.","references":["Prop.7.5"]}
{"name":"Prop.7.7","description":"If a number be that part of a number, which a nubmer subtracted is of a number subtracted, the remainder will also be the same part of the remainder that the whole is of the whole.","references":["Prop.7.5"]}
{"name":"Prop.7.8","description":"If a number be the same parts of a number that a number subtracted is of a number subtracted, the remainder will also be the same parts of the remainder that the whole is of the whole.","references":["Prop.7.7","Prop.7.7"]}
{"name":"Prop.7.9","description":"If a number be a part of a number, and another be the same part of another, alternately also, whatever part or parts the first is of the third, the same part, or the same parts, will the second also be of the fourth.","references":["Prop.7.5","Prop.7.6"]}
{"name":"Prop.8.1","description":"If there be as many numbers as we please in continued proportion, and the extremes of them be prime to one another, the numbers are the least of those which have the same ratio with them.","references":["Prop.7.14","Prop.7.21","Prop.7.20"]}
{"name":"Prop.8.10","description":"If numbers fall between each of two numbers and an unit in continued proportion, however many numbers fall between each of them and an unit in continued proportion, so many also will fall between the numbers themselves in continued proportion.","references":["Def.7.20","Prop.7.17","Prop.7.18","Prop.7.17","Prop.7.18","Prop.7.17"]}
{"name":"Prop.8.11","description":"Between two square numbers there is one mean proportional number, and the square has to the square the ratio duplicate of that which the side has to the side.","references":["Prop.7.17","Prop.7.18","Def.5.9"]}
{"name":"Prop.8.12","description":"Between two cube numbers there are two mean proportional numbers, and the cube has to the cube the ratio triplicate of that which the side has to the side.","references":["Prop.7.17","Prop.7.18","Prop.7.17","Prop.7.18","Prop.7.17","Def.5.10"]}
{"name":"Prop.8.13","description":"If there be as many numbers as we please in continued proportion, and each by multiplying itself make some number, the products will be proportional; and, if the original numbers by multiplying the products make certain numbers, the latter will also be proportional.","references":["Prop.7.14"]}
{"name":"Prop.8.14","description":"If a square measure a square, the side will also measure the side; and, if the side measure the side, the square will also measure the square.","references":["Prop.8.11","Prop.8.7","Def.7.20","Def.7.20"]}
{"name":"Prop.8.15","description":"If a cube number measure a cube number, the side will also measure the side; and, if the side measure the side, the cube will also measure the cube.","references":["Prop.8.11","Prop.8.12","Prop.8.7","Def.7.20","Def.7.20"]}
{"name":"Prop.8.16","description":"If a square number do not measure a square number, neither will the side measure the side; and, if the side do not measure the side, neither will the square measure the square.","references":["Prop.8.14","Prop.8.14"]}
{"name":"Prop.8.17","description":"If a cube number do not measure a cube nubmer, neither wil the side measure the side; and, if the side do not measure the side, neither will the cude measure the cube.","references":["Prop.8.15","Prop.8.15"]}
{"name":"Prop.8.18","description":"Between two similar plane numbers there is one mean proportional number; and the plane number has to the plane number the ratio duplicate of that which the corresponding side has to the corresponding side.","references":["Def.7.21","Prop.7.13","Prop.7.17","Prop.7.17","Def.5.9"]}
{"name":"Prop.8.19","description":"Between two similar solid numbers there fall two mean proportional numbers; and the soild number has to the similar solid number the ratio triplicate of that which the corresponding side has to the corrsponding side.","references":["Def.7.21","Def.7.21","Prop.8.18","Prop.8.18","Prop.7.17","Prop.7.13","Prop.7.17","Prop.7.18","Prop.7.17","Def.5.10"]}
{"name":"Prop.8.2","description":"To find numbers in continued proportion, as many as may be prescribed, and the least that are in a given ratio.","references":["Prop.7.17","Prop.7.18","Prop.7.17","Prop.7.17","Prop.7.18","Prop.7.22","Prop.7.27","Prop.7.1"]}
{"name":"Prop.8.20","description":"If one mean proportional number fall between two numbers, the numbers will be similar plane numbers.","references":["Prop.7.33","Prop.7.20","Prop.7.20","Prop.7.17","Prop.7.17","Prop.7.13"]}
{"name":"Prop.8.21","description":"If two mean proportional numbers fall between two numbers, the numbers are similar solid numbers.","references":["Prop.8.3","Prop.8.20","Prop.7.14","Prop.7.21","Prop.7.20","Prop.7.18"]}
{"name":"Prop.8.22","description":"If three numbers be in continued proportion, and the first be square, the third will also be square.","references":["Prop.8.20"]}
{"name":"Prop.8.23","description":"If four numbers be in continued proportion, and the first be cube, the fourth will also be cube.","references":["Prop.8.21"]}
{"name":"Prop.8.24","description":"If two numbers have to one another the ratio which a square number has to a square number, and the first be square, the second will also be square.","references":["Prop.8.18","Prop.8.8","Prop.8.22"]}
{"name":"Prop.8.25","description":"If two numbers have to one another the ratio which a cube nubmer has to a cube number, and the first be cube, the second will also be cube.","references":["Prop.8.19","Prop.8.8","Prop.8.23"]}
{"name":"Prop.8.26","description":"Similar plane numbers have to one another the ratio which a square number has to a suqare number.","references":["Prop.8.18"]}
{"name":"Prop.8.27","description":"Similar solid numbers have to one another the ratio which a cube number has to a cube number.","references":["Prop.8.19"]}
{"name":"Prop.8.3","description":"If as many numbers as we please in continued proportion be the least of those which have the same ratio with them, the extrems of them are prime to one another.","references":["Prop.7.33","Prop.8.2","Prop.7.22","Prop.7.27"]}
{"name":"Prop.8.4","description":"Given as many ratios as we please in least numbers, to find numbers in continued proportion which are the least in the given ratios.","references":["Prop.7.34","Def.7.20","Prop.7.13","Prop.7.20","Prop.7.35","Prop.7.20","Prop.7.35","Prop.7.13","Prop.7.35"]}
{"name":"Prop.8.5","description":"Plane numbers have to one another the ratio compounded of the ratios of their sides.","references":["Prop.8.4","Prop.7.17","Prop.7.17","Prop.7.14"]}
{"name":"Prop.8.6","description":"If there be as many numbers as we please in continued proportion, and the first do not measure the second, neither will any other measure any other.","references":["Prop.7.33","Prop.7.14","Def.7.20","Prop.8.3"]}
{"name":"Prop.8.7","description":"If there be as many numbers as we please in continued proportion, and the first measure the last, it will measure the second also.","references":["Prop.8.6"]}
{"name":"Prop.8.8","description":"If between two numbers there fall numbers in continued proportion with them, then, however many numbers fall between them in continued proportion, so many will also fall in continued proportion between the numbers which have the same ratio with the original numbers.","references":["Prop.7.33","Prop.8.33","Prop.7.14","Prop.7.21","Prop.7.20","Def.7.20"]}
{"name":"Prop.8.9","description":"If two numbers be prime to one another, and numbers fall between them in continued proportion, then, however many numbers fall between them in continued proportion, so many will also fall between each of them and an unit in continued proportion.","references":["Prop.8.2","Prop.8.1","Def.7.20"]}
{"name":"Prop.9.1","description":"If two similar plane numbers by multiplying one another make some number, the product will be square.","references":["Prop.7.17","Prop.8.18","Prop.8.8","Prop.8.22"]}
{"name":"Prop.9.10","description":"If as many numbers as we please beginning from an unit be in continued proportion, and the number after the unit be not square, neither will any other be square except the third from the unit and all those which leave out one. And, if the number after the unit be not cube, neither will any other be cube except the fourth from the unit and all those which leave out two.","references":["Prop.9.8","Prop.9.8","Prop.8.25","Prop.9.6"]}
{"name":"Prop.9.11","description":"If as many numbers as we please beginning from an unit be in continued proportion, the less measures the greater according to some one of the numbers which have place among the proportional numbers.","references":["Prop.7.15"]}
{"name":"Prop.9.12","description":"If as many numbers as we please beginning from an unit be in continued proportion, by however many prime numbers the last is measured, the next to the unit will also be measured by the same.","references":["Prop.7.29","Prop.7.19","Prop.7.21","Prop.7.20","Prop.7.19","Prop.7.21","Prop.7.20","Prop.9.8","Prop.7.19","Prop.7.21","Prop.7.20","Def.7.14"]}
{"name":"Prop.9.13","description":"If as many numbers as we please beginning from an unit be in continued proportion, and the number after the unit be prime, the greatest will not be measured by any except those which have a place among the proportional numbers.","references":["Prop.9.12","Prop.7.31","Prop.9.12","Prop.9.11","Prop.9.12","Prop.7.31","Prop.9.12","Prop.9.11","Prop.7.19","Prop.9.11","Prop.7.19","Prop.9.8","Prop.7.19"]}
{"name":"Prop.9.14","description":"If a number be the least that is measured by prime numbers, it will not be measured by any other prime number except those originally measuring it.","references":["Prop.7.30"]}
{"name":"Prop.9.15","description":"If three numbers in continued proportion be the least of those which have the same ratio with them, any two whatever added together will be prime to the remaining number.","references":["Prop.8.2","Prop.8.2","Prop.7.22","Prop.7.28","Prop.7.24","Prop.7.25","Prop.2.3","Prop.7.24","Prop.7.25","Prop.2.4"]}
{"name":"Prop.9.16","description":"If two numbers be prime to one another, the second will not be to any other number as the first is to the second.","references":["Prop.7.21","Prop.7.20"]}
{"name":"Prop.9.17","description":"If there be as many numbers as we please in continued proportion, and the extremes of them be prime to one another, the last will not be to any other number as the first to the second.","references":["Prop.7.13","Prop.7.21","Prop.7.20"]}
{"name":"Prop.9.18","description":"Given two numbers, to investigate whether it is possible to find a third proportional to them.","references":["Prop.9.16","Prop.7.19"]}
{"name":"Prop.9.19","description":"Given three numbers, to investigate when it is possible to find a fourth proportional to them","references":[]}
{"name":"Prop.9.2","description":"If two numbers by multiplying one another make a square number, they are similar plane numbers.","references":["Prop.7.17","Prop.8.18","Prop.8.8","Prop.8.20"]}
{"name":"Prop.9.20","description":"Prime numbers are more than any assigned multitude of prime numbers.","references":["Prop.7.36","Prop.7.31"]}
{"name":"Prop.9.21","description":"If as many even numbers as we please be added together, the whole is even.","references":["Def.7.6","Def.7.6"]}
{"name":"Prop.9.22","description":"If as many odd numbers as we please be added together, and their multitude be even, the whole will be even.","references":["Def.7.7","Prop.9.21","Prop.9.21"]}
{"name":"Prop.9.23","description":"If as many odd numbers as we please be added together, and their multitude be odd, the whole will also be odd.","references":["Def.7.7","Prop.9.22","Prop.9.21","Def.7.7"]}
{"name":"Prop.9.24","description":"If from an even number an even number be subtracted, the remainder will be even.","references":["Def.7.6"]}
{"name":"Prop.9.25","description":"If from an even number an odd number be subtracted, the remainder will be odd.","references":["Def.7.7","Prop.9.24","Def.7.7"]}
{"name":"Prop.9.26","description":"If from an odd number an odd number be subtracted, the remainder will be even.","references":["Def.7.7","Def.7.7","Prop.9.24"]}
{"name":"Prop.9.27","description":"If from an odd number an even number be subtracted, the remainder will be odd.","references":["Def.7.7","Prop.9.24","Def.7.7"]}
{"name":"Prop.9.28","description":"If an odd number by multiplying an even number make some number, the product will be even.","references":["Def.7.15","Prop.9.21"]}
{"name":"Prop.9.29","description":"If an odd number by multiplying an odd number make some number, the product will be odd.","references":["Def.7.15","Prop.9.23"]}
{"name":"Prop.9.3","description":"If a cube number by multiplying itself make some number, the product will be cube.","references":["Def.7.20","Def.7.20","Prop.8.8","Prop.8.23"]}
{"name":"Prop.9.30","description":"If an odd number measure an even number, it will also measure the half of it.","references":["Prop.9.23"]}
{"name":"Prop.9.31","description":"If an odd number be prime to any number, it will also be prime to the double of it.","references":["Prop.9.30"]}
{"name":"Prop.9.32","description":"Each of the numbers which are continually doubled beginning from a dyad is even-times even only.","references":["Prop.9.13","Def.7.8"]}
{"name":"Prop.9.33","description":"If a number have its half odd, it is even-times odd only.","references":["Def.7.9","Def.7.8"]}
{"name":"Prop.9.34","description":"If a number neither be one of those which are continually doubled from a dyad, nor have its half odd, it is both even-times even and even-times odd.","references":["Def.7.8"]}
{"name":"Prop.9.35","description":"If as many numbers as we please be in continued proportion, and there be subtracted, from the second and the last, numbers equal to the first, then, as the excess of the second is to the first, so will be excess of the last be to all those before it.","references":["Prop.7.11","Prop.7.13","Prop.7.12"]}
{"name":"Prop.9.36","description":"If as many numbers as we please beginning from an unit be set out continuously in double proportion, until the sum of all becomes prime, and if the sum multiplied into the last make some number, the product will be perfect.","references":["Prop.7.14","Prop.7.19","Prop.9.35","Prop.7.19","Prop.9.13","Def.7.20","Prop.7.29","Prop.7.21","Prop.7.20","Prop.7.14","Prop.7.19","Prop.7.19","Def.7.22"]}
{"name":"Prop.9.4","description":"If a cube number by multiplying a cube number make some number, the product will be cube.","references":["Prop.9.3","Prop.7.17","Prop.8.19","Prop.8.8","Prop.8.23"]}
{"name":"Prop.9.5","description":"If a cube number by multiplying any number make a cube number, the multiplied number will also be cube.","references":["Prop.9.3","Prop.7.17","Prop.8.19","Prop.8.8","Prop.8.23"]}
{"name":"Prop.9.6","description":"If a number by multiplying itself make a cube number, it will itself also be cube.","references":["Def.7.20","Def.7.20","Prop.8.19","Prop.8.8"]}
{"name":"Prop.9.7","description":"If a composite number by multiplying any number make some number, the product will be solid.","references":["Def.7.13","Def.7.15"]}
{"name":"Prop.9.8","description":"If as many numbers as we please beginning from an unit be in continued proportion, the third from the unit will be square, as will also those which successively leave out one; the fourth will be cube, as will also all those which leave out two; and the seventh will be at once cube and suqare, as will also those which leave out five.","references":["Def.7.20","Prop.8.22","Prop.8.23"]}
{"name":"Prop.9.9","description":"If as many numbers as we please beginning from an unit be in continued proportion, and the number after the unit be square, all the rest will also be square. And, if the number after the unit be cube, all the rest will also be cube.","references":["Prop.9.8","Prop.8.22","Prop.8.22","Prop.9.8","Prop.9.3","Prop.7.23"]}
```

最后更新于 3 年前

```
# video playback
vo=opengl-hq:icc-profile-auto
autofit-larger=95%x90%
autofit-smaller=30%x30%
# osd message, you can press o to display the osd message
osd-bar-align-y=0.9
osd-bar-h=1.2
osd-border-size=1
osd-duration=2000
osd-font='PingFangSC-Regular'
# player window
ontop=yes
no-border
# cache size
cache=8192
use-filedir-conf=yes
# subtitle
sub-auto=fuzzy
sub-text-font='PingFangSC-Regular'
# language
alang=en,eng,zh,cmn,chi,zho
slang=cmn,chi,zho,zh,eng,en
# convert non-utf8 chinese subtitle file to utf8
# brew install enca
subcp=enca:zh:cp936
# program behaviors
save-position-on-quit
ytdl
```

最后更新于 3 年前

```
//组件挂载的时候调用
componentDidMount(){
BackAndroid.addEventListener('hardwareBackPress',function(){
if(this.refs.route!='defaultPage'){
this.refs.navigator.push({name:'defaultPage'})
return true;
}else{
if(count>2){
ToastAndroid.show('再点击 '+count+' 次,小媛和你拜拜了。'+,ToastAndroid.SHORT);
count--;
return true;
}
return false;
}
});
}
```

最后更新于 3 年前

```
//父组件
export default class Search extends React.Component {
constructor(props){
super(props);
this.state = {
keyword:'没搜索内容',
};
}
updateViewFn(){
this.refs.updateView.showComponent();
}
toNewView(str){
this.props.showPageFn(str)
}
render() {
return (
<ScrollView style={[styles.container]}>
<View style={[styles.titleView]}>
<TouchableOpacity style={{marginRight:10,marginTop:5}} onPress={()=>this.toNewView(0)}>
<Image style={styles.titleImg} source={require('./image/back.png')}/>
</TouchableOpacity>
<View style={{flex:1,height:35,padding:5,borderWidth:1,borderRadius:5,borderColor:'white',flexDirection:'row'}}>
<TextInput onChangeText={(keyword) => this.setState({keyword})} style={{fontSize:12,flex:1,padding:0,color:'white'}} placeholder='请输入关键字' placeholderTextColor='#e0f3e8' underlineColorAndroid ='transparent'/>
<TouchableOpacity style={{flex:0}} onPress={()=>this.updateViewFn()}>
<Image style={[styles.titleImg]} source={require('./image/search.png')}/>
</TouchableOpacity>
</View>
</View>
<Data ref='updateView' keyword={this.state.keyword}/>
</ScrollView>
)
}
}
//子组件
export default class Data extends React.Component {
constructor(props){
super(props);
this.state = {
items:this.props.keyword,
};
}
showComponent(){
console.log(this.props.keyword)
if(this.state.items == '' || this.state.items == null)
{
console.log('没内容')
return <NoData />
}else if(this.state.items == '没搜索内容'){
console.log('没搜索内容')
return;
}else{
console.log('有内容')
return <DataView items={this.state.items}/>
}
}
render(){
return(
<View style={styles.body}>
{this.showComponent()}
</View>
)
}
}
```

最后更新于 3 年前

```
import org.hibernate.dialect.Dialect;
import org.hibernate.dialect.function.SQLFunctionTemplate;
import org.hibernate.dialect.function.StandardSQLFunction;
import org.hibernate.dialect.function.VarArgsSQLFunction;
import org.hibernate.type.StringType;
import java.sql.Types;
public class SQLiteDialect extends Dialect {
public SQLiteDialect() {
registerColumnType(Types.BIT, "integer");
registerColumnType(Types.TINYINT, "tinyint");
registerColumnType(Types.SMALLINT, "smallint");
registerColumnType(Types.INTEGER, "integer");
registerColumnType(Types.BIGINT, "bigint");
registerColumnType(Types.FLOAT, "float");
registerColumnType(Types.REAL, "real");
registerColumnType(Types.DOUBLE, "double");
registerColumnType(Types.NUMERIC, "numeric");
registerColumnType(Types.DECIMAL, "decimal");
registerColumnType(Types.CHAR, "char");
registerColumnType(Types.VARCHAR, "varchar");
registerColumnType(Types.LONGVARCHAR, "longvarchar");
registerColumnType(Types.DATE, "date");
registerColumnType(Types.TIME, "time");
registerColumnType(Types.TIMESTAMP, "timestamp");
registerColumnType(Types.BINARY, "blob");
registerColumnType(Types.VARBINARY, "blob");
registerColumnType(Types.LONGVARBINARY, "blob");
// registerColumnType(Types.NULL, "null");
registerColumnType(Types.BLOB, "blob");
registerColumnType(Types.CLOB, "clob");
registerColumnType(Types.BOOLEAN, "integer");
registerFunction( "concat", new VarArgsSQLFunction(StringType.INSTANCE, "", "||", "") );
registerFunction( "mod", new SQLFunctionTemplate( StringType.INSTANCE, "?1 % ?2" ) );
registerFunction( "substr", new StandardSQLFunction("substr", StringType.INSTANCE) );
registerFunction( "substring", new StandardSQLFunction( "substr", StringType.INSTANCE) );
}
public boolean supportsIdentityColumns() {
return true;
}
/*
public boolean supportsInsertSelectIdentity() {
return true; // As specify in NHibernate dialect
}
*/
public boolean hasDataTypeInIdentityColumn() {
return false; // As specify in NHibernate dialect
}
/*
public String appendIdentitySelectToInsert(String insertString) {
return new StringBuffer(insertString.length()+30). // As specify in NHibernate dialect
append(insertString).
append("; ").append(getIdentitySelectString()).
toString();
}
*/
public String getIdentityColumnString() {
// return "integer primary key autoincrement";
return "integer";
}
public String getIdentitySelectString() {
return "select last_insert_rowid()";
}
public boolean supportsLimit() {
return true;
}
protected String getLimitString(String query, boolean hasOffset) {
return new StringBuffer(query.length()+20).
append(query).
append(hasOffset ? " limit ? offset ?" : " limit ?").
toString();
}
public boolean supportsTemporaryTables() {
return true;
}
public String getCreateTemporaryTableString() {
return "create temporary table if not exists";
}
public boolean dropTemporaryTableAfterUse() {
return false;
}
public boolean supportsCurrentTimestampSelection() {
return true;
}
public boolean isCurrentTimestampSelectStringCallable() {
return false;
}
public String getCurrentTimestampSelectString() {
return "select current_timestamp";
}
public boolean supportsUnionAll() {
return true;
}
public boolean hasAlterTable() {
return false; // As specify in NHibernate dialect
}
public boolean dropConstraints() {
return false;
}
public String getAddColumnString() {
return "add column";
}
public String getForUpdateString() {
return "";
}
public boolean supportsOuterJoinForUpdate() {
return false;
}
public String getDropForeignKeyString() {
throw new UnsupportedOperationException("No drop foreign key syntax supported by SQLiteDialect");
}
public String getAddForeignKeyConstraintString(String constraintName,
String[] foreignKey, String referencedTable, String[] primaryKey,
boolean referencesPrimaryKey) {
throw new UnsupportedOperationException("No add foreign key syntax supported by SQLiteDialect");
}
public String getAddPrimaryKeyConstraintString(String constraintName) {
throw new UnsupportedOperationException("No add primary key syntax supported by SQLiteDialect");
}
public boolean supportsIfExistsBeforeTableName() {
return true;
}
public boolean supportsCascadeDelete() {
return false;
}
}
```

最后更新于 3 年前

```
import boto3
from boto3.dynamodb.conditions import Key, Attr
from botocore.exceptions import ClientError
db = boto3.resource('dynamodb')
table = db.Table('myfun-stg-listings')
response = None
total_count = 0
total_delete_count = 0
try:
response = table.scan(
FilterExpression=Key('source').eq('realtor'),
ProjectionExpression='listing_id'
)
total_count = response['Count']
listing_ids = [item['listing_id'] for item in response['Items']]
for listing_id in listing_ids:
table.delete_item(Key={'listing_id': listing_id, 'source': 'realtor'})
total_delete_count += 1
print "delete count is %d." % total_delete_count
listing_ids = []
while 'LastEvaluatedKey'in response and len(response['Items']) > 0:
response = table.scan(
FilterExpression=Key('source').eq('realtor'),
ProjectionExpression='listing_id',
ExclusiveStartKey=response['LastEvaluatedKey']
)
total_count += response['Count']
listing_ids = [item['listing_id'] for item in response['Items']]
for listing_id in listing_ids:
table.delete_item(Key={'listing_id': listing_id, 'source': 'realtor'})
total_delete_count += 1
print "delete count is %d." % total_delete_count
print "processing count is %d." % total_count
except ClientError as e:
print e
else:
print "found %d items." % total_count
```

热门代码

网站实时数据

247 会员 0

140 代码集合 0

16 评论 0

251 收藏夹 0