File:Lemniscate Bernoulli parametric with focal points.svg
Summary
Description |
Русский: Лемниската Бернулли с фокальными точками, построенная через параметрическое представление в GNU Octave English: Lemniscate Bernulli with focal points, plotted via parametric equation in GNU Octave |
Date | |
Source |
Own work Source code in Octave: a=1;
c=a/sqrt(2);
t=linspace(0,2*pi,200);
x=cos(t)./(1+sin(t).^2);
y=cos(t).*sin(t)./(1+sin(t).^2);
hold on
plot(x,y,"b",'LineWidth', 2)
% plot X and Y axis
x=[-1.2*a, 1.2*a]; y=[0, 0]; line(x,y)
x=[0, 0]; y=[-a*3/5, a*3/5]; line(x,y)
% plot focal points
x=[-c, c]; y=[0, 0];
plot(x,y,"ko","linestyle","none","markerfacecolor", "k")
hold off
axis([-1.2*a,1.2*a,-a*3/5,a*3/5],"equal","on")
% turn on grid
grid on
|
Author | MarsJson |
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
Category:Algebraic curves
Category:CC-BY-SA-4.0
Category:Cassini oval
Category:Closed curves
Category:Created with GNU Octave
Category:GNU Octave
Category:Images with Octave source code
Category:Lemniscate
Category:Lemniscate of Bernoulli
Category:Pages using deprecated source tags
Category:Plane algebraic curves
Category:Quartic curves
Category:Self-published work