plot a function

plot a function - Messaggi

#1 Pubblicato: 04/12/2019 15:08:53
Ale16595

Ale16595

0 apprezzamenti in 35 post.

Gruppo: 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) scaricato 1639 volta(e).
Thank you so much
sggs.png
#2 Pubblicato: 04/12/2019 17:37:09
Oscar Campo

Oscar Campo

135 apprezzamenti in 309 post.

Gruppo: 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) scaricato 1686 volta(e).

#3 Pubblicato: 04/12/2019 18:19:46
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

Could anyone help me ?


To plot both systems ... Jean

curvatura.sm (11,63 KiB) scaricato 1798 volta(e).
Maths Tangent.sm (91,95 KiB) scaricato 1691 volta(e).

#4 Pubblicato: 05/12/2019 08:37:36
Ale16595

Ale16595

0 apprezzamenti in 35 post.

Gruppo: User

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

Oscar Campo

135 apprezzamenti in 309 post.

Gruppo: 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 Pubblicato: 06/12/2019 09:21:28
Ale16595

Ale16595

0 apprezzamenti in 35 post.

Gruppo: 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) scaricato 1727 volta(e).
#7 Pubblicato: 06/12/2019 12:48:15
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: User

Hi Ale. Here, some ways.

curvatura3.sm (25,1 KiB) scaricato 1686 volta(e).
curvatura4.sm (20,83 KiB) scaricato 1675 volta(e).

Best regards.
Alvaro
1 utenti hanno apprezzato questo post
sergio 06/12/2019 17:23:00
#8 Pubblicato: 06/12/2019 13:08:58
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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) scaricato 1667 volta(e).

#9 Pubblicato: 06/12/2019 13:16:01
Ale16595

Ale16595

0 apprezzamenti in 35 post.

Gruppo: 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 Pubblicato: 06/12/2019 14:05:01
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: 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) scaricato 1554 volta(e).

Clipboard01.gif

Best regars.
Alvaro.
1 utenti hanno apprezzato questo post
sergio 06/12/2019 17:19:00
#11 Pubblicato: 06/12/2019 14:55:53
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

Hi Ale. Here, some ways.


Thanks Alvaro ... superb/saved ... Jean
#12 Pubblicato: 06/12/2019 15:02:35
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Ellipse otherwise from complex.

Circle Complex [Ellipse ROT].sm (13,86 KiB) scaricato 1484 volta(e).
#13 Pubblicato: 06/12/2019 22:48:04
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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) scaricato 1646 volta(e).

1 utenti hanno apprezzato questo post
sergio 07/12/2019 07:36:00
#14 Pubblicato: 06/12/2019 23:22:41
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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 Pubblicato: 07/12/2019 06:12:23
Ale16595

Ale16595

0 apprezzamenti in 35 post.

Gruppo: User

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

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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) scaricato 1627 volta(e).
1 utenti hanno apprezzato questo post
sergio 07/12/2019 11:50:00
#17 Pubblicato: 19/09/2024 22:40:49
Norm Schutzkus

Norm Schutzkus

9 apprezzamenti in 90 post.

Gruppo: 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 Pubblicato: 20/09/2024 07:35:36
Alvaro

Alvaro

1.139 apprezzamenti in 1.805 post.

Gruppo: 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) scaricato 1686 volta(e).

Best regards.
Alvaro.
1 utenti hanno apprezzato questo post
sergio 21/09/2024 18:01:00
#19 Pubblicato: 20/09/2024 23:00:58
Norm Schutzkus

Norm Schutzkus

9 apprezzamenti in 90 post.

Gruppo: User

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

Sincerely,

Norm
  • Nuovi post
  • Nessun nuovo post