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

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

How to write a Cumulative distribution function

ptc-5820280
1-Newbie

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.

1 ACCEPTED SOLUTION

Accepted Solutions
MikeArmstrong
5-Regular Member
(To:ptc-5820280)

Converted file attached.

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

View solution in original post

10 REPLIES 10
MikeArmstrong
5-Regular Member
(To:ptc-5820280)

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.

MikeArmstrong
5-Regular Member
(To:ptc-5820280)

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.

MikeArmstrong
5-Regular Member
(To:ptc-5820280)

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

MikeArmstrong
5-Regular Member
(To:Werner_E)

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

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.

Top Tags