Skip to main content
1-Visitor
Solved

PLOTTING A GRAPH CONTAINING "Gamma" FUNCTION in PRIME

Hello,

I can plot graph involving "Gamma" function in MathCad 15, but in Prime, either nothing happens or it gives error message saying that "This must be a real number".

Help will be very much appreciated.

Thanks,

Anousheh

PS: Plot of N1(alpha) against alpha    (I have defined alpha as a variable)

 

Anousheh_0-1586793063234.png

 

LucMeekesAnswer
23-Emerald V

See Fred's example, where he defined a range for alpha.

For an x going from 0.4 to 0.5 in steps of 0.01, you'd define:

x:=0.4, 0.41 .. 0.5

(The first value, 0.4, is the starting value. After the comma follows the second value, and after the .. is the last value of your range.  So the 'step'  is equal to the second minus the first value. If you don't provide a 'step' it defaults to 1. That's not handy in your case.)

 

Success!
Luc

11 replies

23-Emerald V

Please attach the Prime worksheet that contains your attempt.

Luc

Translate
Anousheh1-VisitorAuthor
1-Visitor

Hello LucMeekes,

Thanks. OK. sending it soon.

Regards

Translate
-MFra-
21-Topaz II

M15,

answer to Anousheh.jpg

Translate
Anousheh1-VisitorAuthor
1-Visitor

Hello -MFra-,

Thanks a lot.

I have no problem with MathCad 15.

Prime is the problem. Please see the attached Prime file.

Really appreciate this.

Translate
23-Emerald I

FredKohlhepp_0-1586807724604.png

I have only Express, so the  G function is not available to me, but this is how to plot inside mathcad.  N2 function plots just fine.

Translate