Programming in MathCAD Prime 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Programming in MathCAD Prime 3
Good Afternoon Community,
If anybody can tell me why I'm not getting an output to the attached file. My goal is to calculate the lateral stiffness of a pile group called alpha_sub_uF, but when I substitute the pile spacing S_p and xi in the procedure, I did not get any output. I have cut and paste the equation I'm trying to program at the bottom of the worksheet. Please help.
Regards,
Boyer
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Prime numbers by default matrix elements beginning from 0, not from 1. This is determined by the system variable ORIGIN.
So either you rewrite your routine so that the loops run fron 0 to np-1 (as opposed to 1 to np) or you set ORIGIN to 1. Personally I prefer to use the default ORIGIN=1.
As you have created alpha_uF as a function you have to provide arguments when you call it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Prime numbers by default matrix elements beginning from 0, not from 1. This is determined by the system variable ORIGIN.
So either you rewrite your routine so that the loops run fron 0 to np-1 (as opposed to 1 to np) or you set ORIGIN to 1. Personally I prefer to use the default ORIGIN=1.
As you have created alpha_uF as a function you have to provide arguments when you call it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Personally I prefer to use the default ORIGIN=1.
You mean "Personally I prefer to use the default ORIGIN=0".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Richard Jackson wrote:
Personally I prefer to use the default ORIGIN=1.
You mean "Personally I prefer to use the default ORIGIN=0".
Sure yes - a typo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Special thanks to all of you in the community.
Regards,
Boyer
