function plot in range

function plot in range - 消息

#1 已发布: 2021/6/28 18:50:59
Mateusz

Mateusz

0个赞,共8个帖子。

组: User

Hi All,

Could you direct me how to plot the function for some range?

plot in range.sm (5.55 KiB)已下载 1242 次。

plot in range png.png


Best regards,
Astroneus
#2 已发布: 2021/6/28 20:27:01
Fridel Selitsky

Fridel Selitsky

520个赞,共451个帖子。

组: User

Speed graph

Phisic.sm (6.01 KiB)已下载 1287 次。
#3 已发布: 2021/6/28 20:27:21
Jean Giraud

Jean Giraud

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

组: User

X_Y plots f(x,y)

Plot UNK.PNG
#4 已发布: 2021/6/29 06:21:43
Mateusz

Mateusz

0个赞,共8个帖子。

组: User

Hi,
It looks like that both solution are not what I want to get - especially the first one...
Is there any possibility simply to plot the chart where on Y-axis I simply put the a(t) and on x-axis time??? Because this what you proposed it looks tricky and there is necessity to control units. Therefore it is not intuitive ( at least for me ;P )

Please check the photo below made by ptc mathcad. This what I want to do, is to write the same as the function and plot it using the SMath.

mathcad.png


Regards,
Mateusz
#5 已发布: 2021/6/29 08:53:31
Fridel Selitsky

Fridel Selitsky

520个赞,共451个帖子。

组: User

In your conditions, only the speed and deceleration time are set.
Therefore a =const.Perhaps there are additional conditions
which you are not reporting.
#6 已发布: 2021/6/29 09:27:41
Jean Giraud

Jean Giraud

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

组: User

PlotOtherwise.PNG
#7 已发布: 2021/6/29 09:46:14
overlord

overlord

600个赞,共1,381个帖子。

组: Moderator

Wrote

Please check the photo below made by ptc mathcad. This what I want to do, is to write the same as the function and plot it using the SMath.


If that plot is what you need, here is your answer.
With function, dots for values and new axes grid {0.05, -2}.

Regards

plotting_range.sm (10.98 KiB)已下载 1196 次。

2021-06-29_15-44.png
#8 已发布: 2021/6/29 10:03:41
Mateusz

Mateusz

0个赞,共8个帖子。

组: User

Hi Ber7,
This the acceleration during the breaking from 30km/h to zero in linear movement. Therefore in fact there is a(t)= v(t)/t. So: a_i= v_i / t_i and this is function where t is in some range, and i is the iterative change of time ie. the position of specific time. This what you wrote, is not the function of acceleration versus time.

Regards,
Mateusz
#9 已发布: 2021/6/29 10:05:47
Mateusz

Mateusz

0个赞,共8个帖子。

组: User

@ Jean Giraud and @overload Thank you !

This is what I wanted to write in SMath!

Mateusz
#10 已发布: 2021/6/29 10:44:11
Jean Giraud

Jean Giraud

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

组: User

Wrote

this is function where t is in some range


Make your deceleration as you wish from a pre-selected vector 'a'.
#11 已发布: 2021/6/29 11:17:05
Jean Giraud

Jean Giraud

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

组: User

Wrote

This is what I wanted to write in SMath !


Differently convenient plot ...

plotting_range [1].sm (11.48 KiB)已下载 1041 次。
#12 已发布: 2021/6/29 14:18:24
Alvaro

Alvaro

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

组: User

Hi. I agree with Ber7 that in absence of any other information the deceleration is constant. Physically that's means that the force of the breaks is constant too, which seems to be a good approximation, neglecting friction forces and some torque considerations about the wheels.

Wrote

Hi Ber7,
This the acceleration during the breaking from 30km/h to zero in linear movement. Therefore in fact there is a(t)= v(t)/t. So: a_i= v_i / t_i and this is function where t is in some range, and i is the iterative change of time ie. the position of specific time. This what you wrote, is not the function of acceleration versus time.

Regards,
Mateusz



Yes it is: a(t) = constant for t in the interval 0 .. 10 s.

Best regards.
Alvaro.
#13 已发布: 2021/6/30 08:24:19
Jean Giraud

Jean Giraud

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

组: User

Wrote

@ Jean Giraud and @ overlord Thank you !
This is what I wanted to write in SMath!


At this point, we can populate conveniently
then, pass Thiele continued fraction
and inspect for the first/2nd derivative.
I doubt you can do that in Mathcad/PTC
Cheers ... Jean
  • 有新帖
  • 无新帖