Graphing Problem

Graphing Problem - Can't graph piece wise function -SOLVED - Сообщения

#1 Опубликовано: 03.10.2017 23:38:03
dlyon

dlyon

0 сообщений из 5 понравились пользователям.

Группа: User

I've tried many ways from examples I have found on the internet, but I just can't get the graph to plot. What am I doing wrong?

Any help would be greatly appreciated.

Graph.png

[b]Foot note:
The problems are solved. The main problem was units; units must be correct through out. When using constants be sure the value also has units attached (1.5 m, not 1.5, for example). The second was that for the extended graph plugin there seems to be a limit on the levels of conditional functions you can call. I ended writing the function as a one line which worked:

Цитата

m(x)={((x≥0m)&(x

#2 Опубликовано: 04.10.2017 06:08:56
csb531

csb531

0 сообщений из 24 понравились пользователям.

Группа: User

Hello Dave,

maybe a simple scaling problem? Your results are of magnitude 8 N, your plot is in [kN].
Try scaling the plot area with [Ctrl]+scroll wheel or [Shift]+ scroll wheel.
Hope this helps...

Regards, csb.
#3 Опубликовано: 04.10.2017 07:51:33
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

I just can't get the graph to plot



Dave, please attach the work sheet.
#4 Опубликовано: 04.10.2017 11:19:15
dlyon

dlyon

0 сообщений из 5 понравились пользователям.

Группа: User

Here Jean, thanks for looking

DaveMAST.sm (1 МиБ) скачан 42 раз(а).
#5 Опубликовано: 04.10.2017 12:07:09
Davide Carpi

Davide Carpi

1416 сообщений из 2873 понравились пользователям.

Группа: Moderator

Input units are needed... in the standard 2D plot, just use p(x*'m) / V(x*'m)

2017-10-04 17_03_13-SMath Studio - [MAST.sm_].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#6 Опубликовано: 04.10.2017 12:18:53
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

1. The X_Y plot does not take conditional
2. Quick plot does not take units [there is way to trick]
3. units removed from the two conditional ... plots !!!

Cheers... Jean

MAST.sm (1 МиБ) скачан 49 раз(а).
#7 Опубликовано: 04.10.2017 13:31:53
dlyon

dlyon

0 сообщений из 5 понравились пользователям.

Группа: User

Yahoo! Thanks Jean! I understand the problem!

Dave
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений