|
|
Zeile 18: |
Zeile 18: |
| | | |
| var t = brd.createElement('tangent',[p2],{visible:true}); | | var t = brd.createElement('tangent',[p2],{visible:true}); |
- | var p5 = brd.createElement('point',[brd.intersectionFunc(t,ax,0)],{visible:true,name:'',withLabel:true});
| |
- | var p6 = brd.createElement('point',[brd.intersectionFunc(t,ay,0)],{visible:true,name:'',withLabel:false});
| |
- | brd.createElement('line',[p5,p6],{straightFirst:false,straightLast:false}); // tan + cot
| |
- | brd.createElement('line',[p0,p6],{straightFirst:false,straightLast:falbe,strokeColor:'blue'}); // csc
| |
- | brd.createElement('line',[p0,p5],{straightFirst:false,straightLast:false,strokeColor:'blue'}); // sec
| |
- |
| |
- | brd.createElement('text',[function(){return (p0.X()+p2.X())*0.5;},function(){return (p0.Y()+p2.Y())*0.5;},'1'],{});
| |
- |
| |
- | brd.createElement('text',[
| |
- | function(){return (p2.X()+p4.X())*0.3;},
| |
- | function(){return (p2.Y()+p4.Y())*0.5;},
| |
- | 'cos'],{});
| |
- |
| |
- | brd.createElement('text',[
| |
- | function(){return (p2.X()+p3.X())*0.5;},
| |
- | function(){return (p2.Y()+p3.Y())*0.5;},
| |
- | 'sin'],{});
| |
- |
| |
- | brd.createElement('text',[
| |
- | function(){return 0.1+(p2.X()+p5.X())*0.5;},
| |
- | function(){return 0.1+(p2.Y()+p5.Y())*0.5;},
| |
- | 'tan'],{});
| |
- |
| |
- | brd.createElement('text',[
| |
- | function(){return 0.1+(p2.X()+p6.X())*0.5;},
| |
- | function(){return 0.1+(p2.Y()+p6.Y())*0.5;},
| |
- | 'cot'],{});
| |
- |
| |
- | brd.createElement('text',[
| |
- | function(){return -0.2+(p0.X()+p6.X())*0.5;},
| |
- | function(){return (p0.Y()+p6.Y())*0.5;},
| |
- | 'csc'],{});
| |
- |
| |
- | brd.createElement('text',[
| |
- | function(){return (p0.X()+p5.X())*0.5;},
| |
- | function(){return (p0.Y()+p5.Y())*0.5;},
| |
- | 'sec'],{});
| |
| | | |
| </jsxgraph> | | </jsxgraph> |