topic Re: Mathcad Error in PTC Mathcad
https://community.ptc.com/t5/PTC-Mathcad/Mathcad-Error/m-p/133617#M52591
<HTML><HEAD></HEAD><BODY><P>You define all of your values (beta, q, etc.) as single valued variable (AKA scalars) and it works to find z for one value. Then you define i as an index variable from 1 to 14. (Mathcad starts at 0 by default unless you change ORIGIN.)</P><P></P><P>Then you define I, HR, and SR as vectors (indexed by i) but when you try to index beta (or q) Mathcad finds scalars, so you get red in yiour equation and the calculation fails. </P><P></P><P>Note that z will equal 1 (the value you defined as the guess for your solve block, not the 0.769 you found. It will stay that way until you redefine it.</P><P></P><P>Need to spend more time reading "help," or "getting started."</P></BODY></HTML>Mon, 03 Jun 2013 14:33:08 GMTFred_Kohlhepp2013-06-03T14:33:08ZMathcad Error
https://community.ptc.com/t5/PTC-Mathcad/Mathcad-Error/m-p/133616#M52590
Greetings.I wonder if there is anybody that can help me with my project . I did the first part of the question and I get the answer but the last part suddenly an error appears saying this value must be scalar or vector. I really don't get where I did wrong.Thu, 03 May 2018 17:13:59 GMThttps://community.ptc.com/t5/PTC-Mathcad/Mathcad-Error/m-p/133616#M52590misssalvatore2018-05-03T17:13:59ZRe: Mathcad Error
https://community.ptc.com/t5/PTC-Mathcad/Mathcad-Error/m-p/133617#M52591
<HTML><HEAD></HEAD><BODY><P>You define all of your values (beta, q, etc.) as single valued variable (AKA scalars) and it works to find z for one value. Then you define i as an index variable from 1 to 14. (Mathcad starts at 0 by default unless you change ORIGIN.)</P><P></P><P>Then you define I, HR, and SR as vectors (indexed by i) but when you try to index beta (or q) Mathcad finds scalars, so you get red in yiour equation and the calculation fails. </P><P></P><P>Note that z will equal 1 (the value you defined as the guess for your solve block, not the 0.769 you found. It will stay that way until you redefine it.</P><P></P><P>Need to spend more time reading "help," or "getting started."</P></BODY></HTML>Mon, 03 Jun 2013 14:33:08 GMThttps://community.ptc.com/t5/PTC-Mathcad/Mathcad-Error/m-p/133617#M52591Fred_Kohlhepp2013-06-03T14:33:08ZRe: Mathcad Error
https://community.ptc.com/t5/PTC-Mathcad/Mathcad-Error/m-p/133618#M52592
<HTML><HEAD></HEAD><BODY><P>In addition to what Fred point out, in one expression you have z(beta_i,q_i), so you are calling z as a function. You do not have it defined as a function though. Also, in another equation you have z multiplied by (beta_i,q_i). That does not mean anything to Mathcad. Is z supposed to be a function?</P></BODY></HTML>Mon, 03 Jun 2013 14:36:55 GMThttps://community.ptc.com/t5/PTC-Mathcad/Mathcad-Error/m-p/133618#M52592RichardJ2013-06-03T14:36:55Z