I would like to plot this function

I would like to plot this function - Computing the length of a reflected path. - Mensajes

#1 Publicado: 13/10/2019 17:18:05
Harry Mangurian

Harry Mangurian

0 me gusta en 3 mensajes.

Grupo: User

I have attached aReflection.sm (50,87 KiB) descargado 1138 vez(es). .sm file containing a computation I would very much like to plot.
The geometry is shown in the picture below.
Can someone help ?
Thanks,

problem geometry

Reflection.sm (50,87 KiB) descargado 1138 vez(es).
#2 Publicado: 13/10/2019 18:23:01
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Oh ! ... your proposal is not much productive, is it ?
The picture is strictly discontinuous.

Reflection.sm (54,37 KiB) descargado 1166 vez(es).
#3 Publicado: 13/10/2019 18:28:17
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

...

Reflection.PNG
#4 Publicado: 13/10/2019 18:33:49
Harry Mangurian

Harry Mangurian

0 me gusta en 3 mensajes.

Grupo: User

I don't think L is discontinuous for ddegrees in the range 0 to 60.

What am I missing here ?

L(ddegrees) should vary smoothly from L(0) to L(60)
#5 Publicado: 13/10/2019 23:00:11
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

What am I missing here ?


You are missing to plot the literal demo diagram,
here is as per your inputs [a,b,s,t].
More is missing from incomplete project description.

Reflection [abst].PNG

Reflection [abst].sm (62,14 KiB) descargado 914 vez(es).
#6 Publicado: 14/10/2019 11:27:00
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

You are missing to plot the literal demo diagram,
here is as per your inputs [a,b,s,t].
More is missing from incomplete project description.


Refreshed from your literal inputs.
You may have to revisit your College Physics book.
Cheers ... Don't hesitate.

Reflection [abst].sm (128,95 KiB) descargado 897 vez(es).

#7 Publicado: 14/10/2019 11:46:04
Arie

Arie

94 me gusta en 285 mensajes.

Grupo: User

Wrote

I don't think L is discontinuous for ddegrees in the range 0 to 60.

What am I missing here ?

L(ddegrees) should vary smoothly from L(0) to L(60)



Yes the length L is continuous with respect to ddegrees. I think Jean misunderstands the question. See attached. (A little sloppy but it works)

Edit: Updated graph to add labels
Edit2: Had an error in definition of L. Fixed.

Untitled.png
Reflection_alyles.sm (177,77 KiB) descargado 1180 vez(es).
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#8 Publicado: 14/10/2019 13:45:09
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

I think Jean misunderstands the question.


Quite right: misunderstood the travelling distance vs °incidence.
Thanks, interesting project. We need more real projects.

Reflection [abst, alyles].sm (186,64 KiB) descargado 961 vez(es).
#9 Publicado: 14/10/2019 15:31:04
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

... You can have it to a good degree of accuracy
as a continuous function, though a bit strange.

Strange.PNG

Reflection [abst, alyles].sm (252,97 KiB) descargado 942 vez(es).
#10 Publicado: 14/10/2019 16:00:54
Arie

Arie

94 me gusta en 285 mensajes.

Grupo: User

Wrote

... You can have it to a good degree of accuracy
as a continuous function, though a bit strange.



FYI Jean you're using one of my earlier files where I had a copy paste error in the derivation of L(d), the second root term should only have s*tan(d*pi/180). You can get rid of the "c-"

Untitled.png
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#11 Publicado: 14/10/2019 17:47:14
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

FYI Jean you're using one of my earlier files where I had a copy paste error in the derivation of L(d), the second root term should only have s*tan(d*pi/180). You can get rid of the "c-"


Thanks ... updated.
The model fit is brute force, limited.
From my 100's models, not one immediate.
If interested: let me know, not sure if possible.

Reflection [abst, alyles].sm (209,76 KiB) descargado 948 vez(es).
#12 Publicado: 14/10/2019 20:55:19
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

I understand the idea to tabulate as demanded,
in fact useless as you have the continuous function.
Purely Edu. LinfitCheby added.
No problem to export as a function.
Thanks alyles for completing the project.

Reflection [abst, alyles].sm (232,29 KiB) descargado 947 vez(es).
  • Nuevos mensajes
  • Sin mensajes nuevos