plot a function

plot a function - Mensajes

#1 Publicado: 4/12/2019 15:08:53
Ale16595

Ale16595

0 me gusta en 35 mensajes.

Grupo: 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) descargado 1628 vez(es).
Thank you so much
sggs.png
#2 Publicado: 4/12/2019 17:37:09
Oscar Campo

Oscar Campo

135 me gusta en 309 mensajes.

Grupo: 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) descargado 1680 vez(es).

#3 Publicado: 4/12/2019 18:19:46
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

Could anyone help me ?


To plot both systems ... Jean

curvatura.sm (11,63 KiB) descargado 1795 vez(es).
Maths Tangent.sm (91,95 KiB) descargado 1688 vez(es).

#4 Publicado: 5/12/2019 8:37:36
Ale16595

Ale16595

0 me gusta en 35 mensajes.

Grupo: User

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

Oscar Campo

135 me gusta en 309 mensajes.

Grupo: 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 Publicado: 6/12/2019 9:21:28
Ale16595

Ale16595

0 me gusta en 35 mensajes.

Grupo: 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) descargado 1723 vez(es).
#7 Publicado: 6/12/2019 12:48:15
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: User

Hi Ale. Here, some ways.

curvatura3.sm (25,1 KiB) descargado 1683 vez(es).
curvatura4.sm (20,83 KiB) descargado 1672 vez(es).

Best regards.
Alvaro
A 1 usuarios les gustó este mensaje
sergio 6/12/2019 17:23:00
#8 Publicado: 6/12/2019 13:08:58
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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) descargado 1664 vez(es).

#9 Publicado: 6/12/2019 13:16:01
Ale16595

Ale16595

0 me gusta en 35 mensajes.

Grupo: 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 Publicado: 6/12/2019 14:05:01
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: 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) descargado 1548 vez(es).

Clipboard01.gif

Best regars.
Alvaro.
A 1 usuarios les gustó este mensaje
sergio 6/12/2019 17:19:00
#11 Publicado: 6/12/2019 14:55:53
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

Hi Ale. Here, some ways.


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

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Ellipse otherwise from complex.

Circle Complex [Ellipse ROT].sm (13,86 KiB) descargado 1478 vez(es).
#13 Publicado: 6/12/2019 22:48:04
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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) descargado 1642 vez(es).

A 1 usuarios les gustó este mensaje
sergio 7/12/2019 7:36:00
#14 Publicado: 6/12/2019 23:22:41
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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 Publicado: 7/12/2019 6:12:23
Ale16595

Ale16595

0 me gusta en 35 mensajes.

Grupo: User

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

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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) descargado 1623 vez(es).
A 1 usuarios les gustó este mensaje
sergio 7/12/2019 11:50:00
#17 Publicado: 19/9/2024 22:40:49
Norm Schutzkus

Norm Schutzkus

9 me gusta en 90 mensajes.

Grupo: 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 Publicado: 20/9/2024 7:35:36
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: 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) descargado 1682 vez(es).

Best regards.
Alvaro.
A 1 usuarios les gustó este mensaje
sergio 21/9/2024 18:01:00
#19 Publicado: 20/9/2024 23:00:58
Norm Schutzkus

Norm Schutzkus

9 me gusta en 90 mensajes.

Grupo: User

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

Sincerely,

Norm
  • Nuevos mensajes
  • Sin mensajes nuevos