<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Programming a Z-score Table in Mathcad</title>
    <link>https://community.ptc.com/t5/Mathcad/Programming-a-Z-score-Table/m-p/53626#M21364</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; I used the integral instead of the function pnorm because this is the only way that I can funnel the sum of the vectors X &amp;amp; Y into the limit of integration Z.&lt;/P&gt;&lt;P&gt;I see no problem in using that sum as argument of the pnorm function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Your suggestions of modifying T did not work for me&lt;/P&gt;&lt;P&gt;Additionally you have to use Z instead of T in the last line. After all you want a Z-table, not a T-table &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" height="417" src="https://community.ptc.com/legacyfs/online/112792_pastedImage_0.png" style="width: 693.137px; height: 417px;" width="693" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;We&lt;STRONG style=": ; color: #800000; font-size: 10pt;"&gt;r&lt;/STRONG&gt;ner&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Mar 2017 21:45:14 GMT</pubDate>
    <dc:creator>Werner_E</dc:creator>
    <dc:date>2017-03-06T21:45:14Z</dc:date>
    <item>
      <title>Programming a Z-score Table</title>
      <link>https://community.ptc.com/t5/Mathcad/Programming-a-Z-score-Table/m-p/53621#M21359</link>
      <description>Hi, I need assistance debugging a program to build&amp;nbsp; a Z-score table with the intention to reproduce in Mathcad a z-score table very similar to the one that we could create with an excel spreadsheet. This just for fun!See attached files.Thank youjuan</description>
      <pubDate>Thu, 03 May 2018 13:48:55 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Programming-a-Z-score-Table/m-p/53621#M21359</guid>
      <dc:creator>jsuarez</dc:creator>
      <dc:date>2018-05-03T13:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Programming a Z-score Table</title>
      <link>https://community.ptc.com/t5/Mathcad/Programming-a-Z-score-Table/m-p/53622#M21360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do you post a pdf and not the worksheet itself??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guess you should use T[r,c as upper limit of your integral in makeTable and not simply T.&lt;/P&gt;&lt;P&gt;Better way is to write T &amp;lt;--&amp;nbsp; a[r + b[c and then use T as upper limit as you have. No need to create a vector T.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why do you program the integral yourself? Mathcad provides the "pnorm" function!&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.ptc.com/legacyfs/online/112758_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 22:41:33 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Programming-a-Z-score-Table/m-p/53622#M21360</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2017-03-03T22:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Programming a Z-score Table</title>
      <link>https://community.ptc.com/t5/Mathcad/Programming-a-Z-score-Table/m-p/53623#M21361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wegner,&lt;/P&gt;&lt;P&gt;Finally I could upload the Mathcad file now. I tried many times at the time of sending my post without success. Here is the file to be look at.&lt;/P&gt;&lt;P&gt;I used the integral instead of the function pnorm because this is the only way that I can funnel the sum of the vectors X &amp;amp; Y into the limit of integration Z.&lt;/P&gt;&lt;P&gt;If you can do it using&amp;nbsp; both methods is excellent, then I could compare both of them&lt;/P&gt;&lt;P&gt;Your suggestions of modifying T did not work for me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you!&lt;/P&gt;&lt;P&gt;juan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 23:48:01 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Programming-a-Z-score-Table/m-p/53623#M21361</guid>
      <dc:creator>jsuarez</dc:creator>
      <dc:date>2017-03-03T23:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Programming a Z-score Table</title>
      <link>https://community.ptc.com/t5/Mathcad/Programming-a-Z-score-Table/m-p/53624#M21362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please attach your Mathcad worksheet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Mar 2017 17:06:24 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Programming-a-Z-score-Table/m-p/53624#M21362</guid>
      <dc:creator>VladimirN</dc:creator>
      <dc:date>2017-03-04T17:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Programming a Z-score Table</title>
      <link>https://community.ptc.com/t5/Mathcad/Programming-a-Z-score-Table/m-p/53625#M21363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I attached in a previous post last night , but it is waiting for the moderator for approval (more than 16 hrs). I resubmit it again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Mar 2017 18:09:08 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Programming-a-Z-score-Table/m-p/53625#M21363</guid>
      <dc:creator>jsuarez</dc:creator>
      <dc:date>2017-03-04T18:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Programming a Z-score Table</title>
      <link>https://community.ptc.com/t5/Mathcad/Programming-a-Z-score-Table/m-p/53626#M21364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; I used the integral instead of the function pnorm because this is the only way that I can funnel the sum of the vectors X &amp;amp; Y into the limit of integration Z.&lt;/P&gt;&lt;P&gt;I see no problem in using that sum as argument of the pnorm function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Your suggestions of modifying T did not work for me&lt;/P&gt;&lt;P&gt;Additionally you have to use Z instead of T in the last line. After all you want a Z-table, not a T-table &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" height="417" src="https://community.ptc.com/legacyfs/online/112792_pastedImage_0.png" style="width: 693.137px; height: 417px;" width="693" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;We&lt;STRONG style=": ; color: #800000; font-size: 10pt;"&gt;r&lt;/STRONG&gt;ner&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2017 21:45:14 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Programming-a-Z-score-Table/m-p/53626#M21364</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2017-03-06T21:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Programming a Z-score Table</title>
      <link>https://community.ptc.com/t5/Mathcad/Programming-a-Z-score-Table/m-p/53627#M21365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wegner!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wow!!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are simply&amp;nbsp; the BEST, like Tina Turner's song &lt;IMG src="https://community.ptc.com/legacyfs/online/emoticons/happy.png" /&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I posted a previous problem some weeks ago concerning debugging a long expression for calculating the alcohol density given some temperature and some alcoholic strength. Luckily, one of the user identified my error and I got the expected results. Back then, my idea was to build a table similar to the one that you have just elegantly programmed. I was working on that too, modifying your procedure to suit such a long expression. I tried many different ways without luck. Here I attach the Mathcad worksheet and the density table&amp;nbsp; as guide for a fix. I worked with a small subset of a whole table, with temperature ranging from 10 to 20 and the alcohol strength from 0.50 to 0.59. Have a look please, and tell me if there is a solution. Thank you!&lt;/P&gt;&lt;P&gt;juan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2017 00:35:01 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Programming-a-Z-score-Table/m-p/53627#M21365</guid>
      <dc:creator>jsuarez</dc:creator>
      <dc:date>2017-03-07T00:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Programming a Z-score Table</title>
      <link>https://community.ptc.com/t5/Mathcad/Programming-a-Z-score-Table/m-p/53628#M21366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;did you get the spreadsheet? I's is already published. Any suggestion concerning the last post?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Mar 2017 22:40:31 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Programming-a-Z-score-Table/m-p/53628#M21366</guid>
      <dc:creator>jsuarez</dc:creator>
      <dc:date>2017-03-08T22:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Programming a Z-score Table</title>
      <link>https://community.ptc.com/t5/Mathcad/Programming-a-Z-score-Table/m-p/53629#M21367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;juan suarez wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Hi Wegner!&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The "g" should still be an "r" &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;I tried many different ways without luck. Here I attach the Mathcad worksheet and the density table&amp;nbsp; as guide for a fix.&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Two errors:&lt;/P&gt;&lt;P&gt;1) t is a range but it has to be a vector to be able to be processed by the program&lt;/P&gt;&lt;P&gt;2) Your table make program uses t an p but should use the appropriate elements of the input arguments a and b instead!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.ptc.com/legacyfs/online/112912_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 06:47:06 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Programming-a-Z-score-Table/m-p/53629#M21367</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2017-03-09T06:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Programming a Z-score Table</title>
      <link>https://community.ptc.com/t5/Mathcad/Programming-a-Z-score-Table/m-p/53630#M21368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Werner, I am so sorry for massacring your name. It was unintentionally. Why did you let my errors run for such a long time without warning me? You made me realize that I was mistyping your name since the beginning of this thread. I apology &lt;IMG src="https://community.ptc.com/legacyfs/online/emoticons/sad.png" /&gt; for that. On the opposite side, I celebrate your expertise and know how. You are really a very&amp;nbsp; smart guy, a genius!&amp;nbsp; People @ PTC need to hire persons like you!!&lt;/P&gt;&lt;P&gt;Your fix and your trick, worked awesome. After your brilliant fix, I modified your code to turn the first row into a column vector and the first column into a row vector to simulate the arrangement like in the alcohol density table attached earlier.&lt;/P&gt;&lt;P&gt;Thank, thank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;juan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 14:54:55 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Programming-a-Z-score-Table/m-p/53630#M21368</guid>
      <dc:creator>jsuarez</dc:creator>
      <dc:date>2017-03-09T14:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: Programming a Z-score Table</title>
      <link>https://community.ptc.com/t5/Mathcad/Programming-a-Z-score-Table/m-p/53631#M21369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; Werner, I am so sorry for massacring your name.&lt;/P&gt;&lt;P&gt;No real problem &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glad you got what you were looking for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 15:36:54 GMT</pubDate>
      <guid>https://community.ptc.com/t5/Mathcad/Programming-a-Z-score-Table/m-p/53631#M21369</guid>
      <dc:creator>Werner_E</dc:creator>
      <dc:date>2017-03-09T15:36:54Z</dc:date>
    </item>
  </channel>
</rss>

