Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Jan 15, 2016
05:37 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jan 15, 2016
05:37 PM

need help with piecewise function

hey could someone help me with this ? i need to putt this function into mathcad prime 3.1 and i have no idea how to do it. help

7 REPLIES 7

Jan 16, 2016
05:48 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jan 16, 2016
08:20 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jan 16, 2016
08:20 AM

Use if...else in programming, as Valery shows. You can simplify the expression you show. In the first line t must be less than 123, in which case it can not be greater than 124. So you have three cases:

t < 123

123 < t < 124

t >= 124

Note that you are missing the case for t=123.

Jan 17, 2016
04:00 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jan 17, 2016
04:00 PM

hey, i need to write a function like this, i dont know how to write 3 variables of t. can someone help me.

Jan 17, 2016
06:04 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jan 17, 2016
06:04 PM

You need a return statement to make the program return a value and then exit:

Or you could assign the values to a variable, and put the variable on the last line:

Jan 17, 2016
06:15 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jan 17, 2016
06:15 PM

thank you very much.

i have another question. what if i would like to do plot with FTOT(t) and t (from 1 to 1000) ?

Jan 18, 2016
07:36 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jan 18, 2016
07:36 AM

Create a range variable from 1 to 1000, put the range variable on the x-axis, and FTOT(range variable) on the y-axis.

I suggest you go through the tutorials. It wouldn't take long, and it would answer most of these basic questions for you.

Jan 18, 2016
12:49 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jan 18, 2016
12:49 PM

i figured it out but thanks. but i need help with differential equation. so far i have something like this(mathcad file) a have to do something like this(screenshoot). i wolud appreciate any help. i also made a post i physics section.