summaryrefslogtreecommitdiff
path: root/FSF-2020/calculus-of-several-variables/geometry-of-planes-and-curves/general-parametric-curves
diff options
context:
space:
mode:
authorVaishnavi2020-07-01 18:19:29 +0530
committerGitHub2020-07-01 18:19:29 +0530
commitbe9ceb9f247f775b36791c9f6eb2737b7a9423b0 (patch)
treec4f52ed4c942e1db8ffe6632e4c039d101b4135e /FSF-2020/calculus-of-several-variables/geometry-of-planes-and-curves/general-parametric-curves
parent353cb1a6c69ac1b0af363be51f76db46e3dd6598 (diff)
parent434acc8c07ab8132aa4e6f226a9d631ef78889ac (diff)
downloadFSF-mathematics-python-code-archive-be9ceb9f247f775b36791c9f6eb2737b7a9423b0.tar.gz
FSF-mathematics-python-code-archive-be9ceb9f247f775b36791c9f6eb2737b7a9423b0.tar.bz2
FSF-mathematics-python-code-archive-be9ceb9f247f775b36791c9f6eb2737b7a9423b0.zip
Merge pull request #4 from FOSSEE/master
Update fork. DONE
Diffstat (limited to 'FSF-2020/calculus-of-several-variables/geometry-of-planes-and-curves/general-parametric-curves')
-rw-r--r--FSF-2020/calculus-of-several-variables/geometry-of-planes-and-curves/general-parametric-curves/file1_parametric_circle.py13
-rw-r--r--FSF-2020/calculus-of-several-variables/geometry-of-planes-and-curves/general-parametric-curves/file2_cycloid.gifbin13674 -> 0 bytes
2 files changed, 8 insertions, 5 deletions
diff --git a/FSF-2020/calculus-of-several-variables/geometry-of-planes-and-curves/general-parametric-curves/file1_parametric_circle.py b/FSF-2020/calculus-of-several-variables/geometry-of-planes-and-curves/general-parametric-curves/file1_parametric_circle.py
index 40b5150..37d079e 100644
--- a/FSF-2020/calculus-of-several-variables/geometry-of-planes-and-curves/general-parametric-curves/file1_parametric_circle.py
+++ b/FSF-2020/calculus-of-several-variables/geometry-of-planes-and-curves/general-parametric-curves/file1_parametric_circle.py
@@ -11,12 +11,15 @@ class parametricCircle(ThreeDScene, GraphScene):
self.y_axis_label = ""
self.x_axis_width = 10
self.y_axis_height = 10
+ self.y_tick_frequency = 1.9
+ self.x_tick_frequency = 1.4
axes = []
- self.setup_axes()
- self.axes.scale(0.5).shift(3*LEFT)
- axes.append(self.axes)
+ # self.setup_axes()
+ ax = Axes(y_tick_frequency = 1, x_axis_width = 10, y_axis_height = 10, y_min = -5, x_max = 5, y_max = 5, x_tick_frequency = 1, x_axis_label = "", y_axis_label = "", x_min = -5, )
+ ax.scale(0.5).shift(3*LEFT)
+ axes.append(ax)
self.setup_axes()
self.axes.scale(0.3).shift(3*RIGHT + 2*UP)
axes.append(self.axes)
@@ -38,7 +41,7 @@ class parametricCircle(ThreeDScene, GraphScene):
asint = ParametricFunction(
lambda t: np.array([
t,
- np.sin(t),
+ 2*np.sin(t),
0
]), t_min = -np.pi, t_max = np.pi, color = GREEN_E
).shift(3*RIGHT + 2*UP).scale(0.4)
@@ -50,7 +53,7 @@ class parametricCircle(ThreeDScene, GraphScene):
acost = ParametricFunction(
lambda t: np.array([
t,
- np.cos(t),
+ 2*np.cos(t),
0
]), t_min = -np.pi, t_max = np.pi, color = BLUE
).shift(3*RIGHT + 2*DOWN).scale(0.4)
diff --git a/FSF-2020/calculus-of-several-variables/geometry-of-planes-and-curves/general-parametric-curves/file2_cycloid.gif b/FSF-2020/calculus-of-several-variables/geometry-of-planes-and-curves/general-parametric-curves/file2_cycloid.gif
deleted file mode 100644
index 39656de..0000000
--- a/FSF-2020/calculus-of-several-variables/geometry-of-planes-and-curves/general-parametric-curves/file2_cycloid.gif
+++ /dev/null
Binary files differ