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)
Solved! Go to Solution.
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
Please attach the Prime worksheet that contains your attempt.
Luc
Hello LucMeekes,
Thanks. OK. sending it soon.
Regards
Hello LucMeekes,
Thanks again,
Here they are:
MathCad 15 and MathCad Prime
M15,
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.
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.
Hello FredKohlhepp,
Thanks a lot for your reply.
N2, as you have mentioned in your message works fine.
Problem is with Gamma function. For some reason Prime doesn't like it!!
I just tried with the simple plot tab in Prime and I could manage to plot N1 too. But, using "Chart Component" won't work.
Thanks again for your time and help.
Be safe,
Anousheh
That's what I wanted to say: Don't use the chart component, which is a badly incorporated third-party add-on to Prime. Just use the built-in plotting facility.
Success!
Luc
Hi Luc,
Thank you so much for your input.
Now, how do I change the x-axis values to start, let's say with 0.5 and ends with 0.4.
This is the range I need to plot N1 and N2.
Thanks,
Anousheh
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
Thank you guys.
Be safe