plot a function

plot a function - 消息

#1 已发布: 2019/12/4 15:08:53
Ale16595

Ale16595

0个赞,共35个帖子。

组: User

Hello everyone!
I have difficulty plotting the function c which depends on the derivatives of two functions which in turn depend on the parameter t.
Could anyone help me? This in the smath file.. curvatura.sm (11.36 KiB)已下载 1656 次。
Thank you so much
sggs.png
#2 已发布: 2019/12/4 17:37:09
Oscar Campo

Oscar Campo

135个赞,共309个帖子。

组: Moderator

Wrote

Hello everyone!
I have difficulty plotting the function c which depends on the derivatives of two functions which in turn depend on the parameter t...



Maybe this is what you want...

Captura.PNG

... and the .sm file: curvatura1.sm (9.4 KiB)已下载 1696 次。

#3 已发布: 2019/12/4 18:19:46
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

Could anyone help me ?


To plot both systems ... Jean

curvatura.sm (11.63 KiB)已下载 1807 次。
Maths Tangent.sm (91.95 KiB)已下载 1701 次。

#4 已发布: 2019/12/5 08:37:36
Ale16595

Ale16595

0个赞,共35个帖子。

组: User

thank you very much for your help, I hope I have no more problems
#5 已发布: 2019/12/5 11:20:31
Oscar Campo

Oscar Campo

135个赞,共309个帖子。

组: Moderator

Wrote

thank you very much for your help, I hope I have no more problems



You´re welcome.
It's okay to ask, because you express the need to know. It is better to ask than keep silence


#6 已发布: 2019/12/6 09:21:28
Ale16595

Ale16595

0个赞,共35个帖子。

组: User

Thank you very much for the availability.
But I need more help.
How can I draw the tangent line to the equation in parametric form?
this is the file … curvatura2.sm (12.5 KiB)已下载 1739 次。
#7 已发布: 2019/12/6 12:48:15
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: User

Hi Ale. Here, some ways.

curvatura3.sm (25.1 KiB)已下载 1696 次。
curvatura4.sm (20.83 KiB)已下载 1690 次。

Best regards.
Alvaro
1位用户喜欢此帖子
sergio 2019/12/6 17:23:00
#8 已发布: 2019/12/6 13:08:58
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

Thank you very much for the availability.
But I need more help.
How can I draw the tangent line to the equation in parametric form?


For the Tangent over C(t), it will follow the scalar rules
of the document Tangent.sm posted before.
The Tangent over the parabola is another business.
Smath does not derive linterp(x) as it is NOT a function
only an interpolation. This project and lot more are
rescued via Infinitesimal Analysis [dates back before CAS].
For that particular typical user point of tangency, OK.
You may want to experiment more .
Don't mind to see noisy curvature [disabled in collapsed].
Chers ... Jean.

TangentInfinitesimal.PNG

curvatura2 Copy.sm (30.56 KiB)已下载 1676 次。

#9 已发布: 2019/12/6 13:16:01
Ale16595

Ale16595

0个赞,共35个帖子。

组: User

Thanks for the answers.
But if I wanted to find the tangent to the curve when the parameter t changes, how should I do?
#10 已发布: 2019/12/6 14:05:01
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: User

Wrote

Thanks for the answers.
But if I wanted to find the tangent to the curve when the parameter t changes, how should I do?



Do you mean the envelope, all the tangents for the range en T?

curvatura5 - envelope.sm (23.64 KiB)已下载 1573 次。

Clipboard01.gif

Best regars.
Alvaro.
1位用户喜欢此帖子
sergio 2019/12/6 17:19:00
#11 已发布: 2019/12/6 14:55:53
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

Hi Ale. Here, some ways.


Thanks Alvaro ... superb/saved ... Jean
#12 已发布: 2019/12/6 15:02:35
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Ellipse otherwise from complex.

Circle Complex [Ellipse ROT].sm (13.86 KiB)已下载 1494 次。
#13 已发布: 2019/12/6 22:48:04
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Your project has been refactored strictly on discrete.
OK, you have functions but life is from collected data.
Collected data are always noisy from the quantization,
a small amount of Gaussian Ksmooth is often sufficient.
Ksmooth being applied before cinterp
As exemplified, cinterp is the best interpolator for
a clean curvature plot from infinitesimal maths.
I don't understand what your were attempting c(t) last module.
Please, don't hesitate for more.
Cheers ... Jean

Maths Tangent Data Set Copy.sm (36.61 KiB)已下载 1656 次。

1位用户喜欢此帖子
sergio 2019/12/7 07:36:00
#14 已发布: 2019/12/6 23:22:41
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

Your project has been refactored strictly on discrete.
O


.... more maths are coming:
cumulative integration, arc length
derivative you already have it from last attachment.
#15 已发布: 2019/12/7 06:12:23
Ale16595

Ale16595

0个赞,共35个帖子。

组: User

Thank you very much for the help, I appreciate it very much.
I hope to be able to continue alone.
kind regards
#16 已发布: 2019/12/7 10:48:24
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

Thank you very much for the help, I appreciate it very much.
I hope to be able to continue alone.
kind regards


Your project now all done, based on discrete collected data,
collected data that you will have to smooth [not offered].
Smoothing is a large Engineering tool box !
I hope to be able to continue alone.
Let's see the continued adventure.
Cheers ... Jean

Maths Tangent Data Set.sm (60.84 KiB)已下载 1648 次。
1位用户喜欢此帖子
sergio 2019/12/7 11:50:00
#17 已发布: 2024/9/19 22:40:49
Norm Schutzkus

Norm Schutzkus

9个赞,共90个帖子。

组: User

Hello Alvaro, Is graphing a tangent line as exhibited in "curature3.sm" only available for a plot/function in parametric form, i.e. is this available for a cartesian plot/function?

I welcome your review and look forward to your reply.

Sincerely,

Norm
#18 已发布: 2024/9/20 07:35:36
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: User

Hi Norm. You can parametrize f(x) as {x(t)=t, y(t)=f(t)} and substitute in the formulas x'(t)=1, x''(t)=0, x(t) -> x and y(t) -> y(x).

curvatura3 - Cartesian.sm (40.25 KiB)已下载 1706 次。

Best regards.
Alvaro.
1位用户喜欢此帖子
sergio 2024/9/21 18:01:00
#19 已发布: 2024/9/20 23:00:58
Norm Schutzkus

Norm Schutzkus

9个赞,共90个帖子。

组: User

Thanks Alvaro! As always, great examples to work with!

Sincerely,

Norm
  • 有新帖
  • 无新帖