cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

How to write a Cumulative distribution function

ptc-5820280
1-Visitor

How to write a Cumulative distribution function

Hi, I'm beginner. How can I write a function like this http://upload.wikimedia.org/math/a/1/0/a106cd0b29209b7d38cd6aa9a7e5b577.png, and then make a plot? Thank you.

ACCEPTED SOLUTION

Accepted Solutions

Converted file attached.

Did you not recieve a Mathcad 15 free with your purchase of Prime?

View solution in original post

10 REPLIES 10

Have a look at the attached. I suggest you go through the help and tutorials.

I looked everywhere but found nothing. Can you convert this file to Prime 3.0 version? I can't convert 'cause it asks Mathcad 15 version which I don't have. Thanks again.

Converted file attached.

Did you not recieve a Mathcad 15 free with your purchase of Prime?

Yes I did, but I'm not at home at the moment so I can't use it.

That almost did it, but one more question: is Mathcad capable of drawing a plot something like this http://grab.by/vBEM? It's similar distribution function just with other values. I see that Mathcad doesn't have many options to edit your plot.

There are various plot types in Prime which might be of use. I'm sure there will be a way to achieve what you want.

Mike Armstrong wrote:

There are various plot types in Prime which might be of use. I'm sure there will be a way to achieve what you want.

That would surprise me if it woul be possible out of the box! What kind of plot type would show arrows?

@AiSm: What exactly would the plot type you are searching show and in as much would it be related to the real valued function f()? I guess you would have to draw the arrows yourself. Maybe this link helps: http://communities.ptc.com/docs/DOC-3503

That would surprise me! What kind of plot type would show arrows?

None. My comment was confirming there are various plot types which could be used.

He would have to use addition methods to create the arrows.

Ai Sm wrote:

...I can't convert 'cause it asks Mathcad 15 version which I don't have. Thanks again...

Please find "PTC Mathcad 15.0 free trial" here: http://www.ptc.com/products/mathcad/mathcad-15-0/free-trial.htm

Werner_E
25-Diamond I
(To:ptc-5820280)

Ai Sm wrote:

Hi, I'm beginner. How can I write a function like this http://upload.wikimedia.org/math/a/1/0/a106cd0b29209b7d38cd6aa9a7e5b577.png, and then make a plot? Thank you.

Are you sure this is a valid CDF, as your subject suggests? The appropriate density function would be zero over the whole range with two Dirac's at 0 and 1!?? Is x really a continous random variable or is a rather a coín flip? So it seems to be a discrete CDF where X can only take the values 0 and 1, right?

Concerning the arrows take a look if the attached helps any.

31.03.png

Wow, that's almost exactly was I was looking for. Seems like Mathcad has a lot hidden goods! An example I gave was actually random from wikipedia, mine function is more decent.

Announcements

Top Tags