<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - Unanswered Questions</title>
    <link>http://www.mapleprimes.com/questions</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Sun, 02 Aug 2026 02:52:48 GMT</lastBuildDate>
    <pubDate>Sun, 02 Aug 2026 02:52:48 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>Questions asked on MaplePrimes that have not yet received an answer</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - Unanswered Questions</title>
      <link>http://www.mapleprimes.com/questions</link>
    </image>
    <item>
      <title>How to check if a parameter set is in SI base units</title>
      <link>http://www.mapleprimes.com/questions/243711-How-To-Check-If-A-Parameter-Set-Is-In?ref=Feed:MaplePrimes:Unanswered Questions</link>
      <itunes:summary>&lt;p&gt;For a numericial integration I want to check if all physical parameters are given in SI base units (before stripping of the units for the integration). Right now I am doing this&lt;/p&gt;

&lt;form name="worksheet_form"&gt;&lt;input name="md.ref" type="hidden" value="42D81B621C579F602495C68614440906"&gt;
&lt;table align="center" width="768"&gt;
	&lt;tbody&gt;
		&lt;tr&gt;
			&lt;td&gt;
			&lt;p align="left" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="restart" height="23" src="/view.aspx?sf=243711_question/3b3ae17bd7967cf9b78271bd53a71a19.gif" style="vertical-align:-6px" width="54"&gt;&lt;/p&gt;

			&lt;table width="760"&gt;
				&lt;tbody&gt;
					&lt;tr&gt;
						&lt;td align="left" cellspacing="0"&gt;
						&lt;table cellspacing="0" style="empty-cells:show;border-collapse:collapse;border:none;border-color:black;border-width:1;margin:1 1 1 1;"&gt;
							&lt;colgroup span="1" width="372"&gt;
							&lt;/colgroup&gt;
							&lt;colgroup span="1" width="372"&gt;
							&lt;/colgroup&gt;
							&lt;tbody&gt;
								&lt;tr&gt;
									&lt;td colspan="2" rowspan="1" style="background-color:rgb(255,255,255);border-left:solid;border-right:solid;border-top:solid;border-bottom:none;border-color:black;border-width:1;padding-top:3;padding-bottom:3;padding-left:3;padding-right:3;" valign="top"&gt;
									&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Trebuchet MS, sans-serif; font-weight: normal; font-style: normal;"&gt;Parameters&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
									&lt;/td&gt;
								&lt;/tr&gt;
								&lt;tr&gt;
									&lt;td colspan="1" rowspan="1" style="background-color:rgb(255,255,255);border-left:solid;border-right:solid;border-top:solid;border-bottom:none;border-color:black;border-width:1;padding-top:3;padding-bottom:3;padding-left:3;padding-right:3;" valign="top"&gt;
									&lt;p align="left" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;span style="font-size:16px;"&gt;&lt;img align="middle" alt="H = 0.1e-1*Unit('m'), R = 0.6e-2*Unit('m'), r_sub = 0.3e-2*Unit('m'), k = .540*Unit('W'/('m'*'K')), rho = 1060.0*Unit('kg'/'m'^3), Cp = 3745*Unit('J'/('kg'*'K')), Q_flux = 5000*Unit('W'/'m'^2), T_amb = 0*Unit('K'), Nz = 20, Nr = 20, t_final = 30*Unit('s'), t_step = Unit('s'), test_1 = Unit('kW'), test_2 = 2*Unit('N')" height="328" src="/view.aspx?sf=243711_question/9505006d0dd9c8b2e247125febd55b5e.gif" style="vertical-align:-311px" width="372"&gt;&lt;/span&gt;&lt;/p&gt;

									&lt;table&gt;
										&lt;tbody&gt;
											&lt;tr valign="baseline"&gt;
												&lt;td&gt;
												&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img align="middle" alt="H = 0.1e-1*Units:-Unit(m), R = 0.6e-2*Units:-Unit(m), r_sub = 0.3e-2*Units:-Unit(m), k = .540*Units:-Unit(W/(m*K)), rho = 1060.0*Units:-Unit(kg/m^3), Cp = 3745*Units:-Unit(J/(kg*K)), Q_flux = 5000*Units:-Unit(W/m^2), T_amb = 0, Nz = 20, Nr = 20, t_final = 30*Units:-Unit(s), t_step = Units:-Unit(s), test_1 = Units:-Unit(kW), test_2 = 2*Units:-Unit(N)" height="137" src="/view.aspx?sf=243711_question/4265b4de6e590b3c47d72167f1bf545d.gif" style="vertical-align:-120px" width="342"&gt;&lt;/p&gt;
												&lt;/td&gt;
												&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;(1)&lt;/td&gt;
											&lt;/tr&gt;
										&lt;/tbody&gt;
									&lt;/table&gt;
									&lt;/td&gt;
									&lt;td colspan="1" rowspan="1" style="background-color:rgb(255,255,255);border-left:solid;border-right:solid;border-top:solid;border-bottom:none;border-color:black;border-width:1;padding-top:3;padding-bottom:3;padding-left:3;padding-right:3;" valign="top"&gt;
									&lt;p&gt;H: length of rod&lt;br&gt;
									R: outer radius&lt;br&gt;
									r_sub: outer radius of heat flux&lt;br&gt;
									k: conductance&lt;br&gt;
									&amp;rho;: density&lt;br&gt;
									Cp: heat capacity&lt;br&gt;
									Q_flux: heat flux&lt;br&gt;
									T_amb: initial Tempearture&lt;br&gt;
									Nz: number of axial grid points&lt;br&gt;
									Nr: number of radial grid points&lt;br&gt;
									t_final: integration time&lt;br&gt;
									t_step: sampling interval for temperature fields&lt;br&gt;
									test_1: unit given in kilos&lt;br&gt;
									test_2: unit given in derived base units&lt;/p&gt;
									&lt;/td&gt;
								&lt;/tr&gt;
								&lt;tr&gt;
									&lt;td colspan="1" rowspan="1" style="background-color:rgb(255,255,255);border:solid;border-color:black;border-width:1;padding-top:3;padding-bottom:3;padding-left:3;padding-right:3;" valign="top"&gt;
									&lt;p align="left" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="alpha = k/(rho*Cp); simplify(subs(H = 0.1e-1*Units:-Unit(m), R = 0.6e-2*Units:-Unit(m), r_sub = 0.3e-2*Units:-Unit(m), k = .540*Units:-Unit(W/(m*K)), rho = 1060.0*Units:-Unit(kg/m^3), Cp = 3745*Units:-Unit(J/(kg*K)), Q_flux = 5000*Units:-Unit(W/m^2), T_amb = 0, Nz = 20, Nr = 20, t_final = 30*Units:-Unit(s), t_step = Units:-Unit(s), test_1 = Units:-Unit(kW), test_2 = 2*Units:-Unit(N), %))" height="45" src="/view.aspx?sf=243711_question/bc98d94b2531fb179d2313ae73cf6198.gif" style="vertical-align:-19px" width="225"&gt;&lt;/p&gt;

									&lt;table&gt;
										&lt;tbody&gt;
											&lt;tr valign="baseline"&gt;
												&lt;td&gt;
												&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="alpha = 0.1360304305e-6*Units:-Unit(m^2/s)" height="46" src="/view.aspx?sf=243711_question/95600918a8765f33c9c28514e7dcd99f.gif" style="vertical-align:-16px" width="205"&gt;&lt;/p&gt;
												&lt;/td&gt;
												&lt;td&gt;(2)&lt;/td&gt;
											&lt;/tr&gt;
										&lt;/tbody&gt;
									&lt;/table&gt;
									&lt;/td&gt;
									&lt;td colspan="1" rowspan="1" style="background-color:rgb(255,255,255);border:solid;border-color:black;border-width:1;padding-top:3;padding-bottom:3;padding-left:3;padding-right:3;" valign="top"&gt;
									&lt;p&gt;&amp;alpha;: thermal diffusivity&lt;/p&gt;
									&lt;/td&gt;
								&lt;/tr&gt;
							&lt;/tbody&gt;
						&lt;/table&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
					&lt;tr&gt;
						&lt;td align="left" style="font-weight:bold"&gt;&amp;nbsp;&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;p&gt;One way is to check whether the value of a physical parameter has not changed after simplification&lt;/p&gt;

			&lt;p&gt;&lt;img alt="`minus`(map(convert, simplify(`~`[rhs]({Cp = 3745*Units:-Unit(J/(kg*K)), H = 0.1e-1*Units:-Unit(m), Nr = 20, Nz = 20, Q_flux = 5000*Units:-Unit(W/m^2), R = 0.6e-2*Units:-Unit(m), T_amb = 0, k = .540*Units:-Unit(W/(m*K)), r_sub = 0.3e-2*Units:-Unit(m), rho = 1060.0*Units:-Unit(kg/m^3), t_final = 30*Units:-Unit(s), t_step = Units:-Unit(s), test_1 = Units:-Unit(kW), test_2 = 2*Units:-Unit(N)})), unit_free), map(convert, `~`[rhs]({Cp = 3745*Units:-Unit(J/(kg*K)), H = 0.1e-1*Units:-Unit(m), Nr = 20, Nz = 20, Q_flux = 5000*Units:-Unit(W/m^2), R = 0.6e-2*Units:-Unit(m), T_amb = 0, k = .540*Units:-Unit(W/(m*K)), r_sub = 0.3e-2*Units:-Unit(m), rho = 1060.0*Units:-Unit(kg/m^3), t_final = 30*Units:-Unit(s), t_step = Units:-Unit(s), test_1 = Units:-Unit(kW), test_2 = 2*Units:-Unit(N)}), unit_free))" height="23" src="/view.aspx?sf=243711_question/21bd93ad2777245081e960755b76c4de.gif" style="vertical-align:-6px" width="570"&gt;&lt;/p&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p&gt;&lt;img alt="{1000}" height="23" src="/view.aspx?sf=243711_question/dd984c9af9ac072e42d55edde3b90a7b.gif" style="vertical-align:-6px" width="51"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td&gt;(3)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;p&gt;&lt;img align="middle" alt="if is(`minus`(map(convert, simplify(`~`[rhs]({Cp = 3745*Units:-Unit(J/(kg*K)), H = 0.1e-1*Units:-Unit(m), Nr = 20, Nz = 20, Q_flux = 5000*Units:-Unit(W/m^2), R = 0.6e-2*Units:-Unit(m), T_amb = 0, k = .540*Units:-Unit(W/(m*K)), r_sub = 0.3e-2*Units:-Unit(m), rho = 1060.0*Units:-Unit(kg/m^3), t_final = 30*Units:-Unit(s), t_step = Units:-Unit(s), test_1 = Units:-Unit(kW), test_2 = 2*Units:-Unit(N)})), unit_free), map(convert, `~`[rhs]({Cp = 3745*Units:-Unit(J/(kg*K)), H = 0.1e-1*Units:-Unit(m), Nr = 20, Nz = 20, Q_flux = 5000*Units:-Unit(W/m^2), R = 0.6e-2*Units:-Unit(m), T_amb = 0, k = .540*Units:-Unit(W/(m*K)), r_sub = 0.3e-2*Units:-Unit(m), rho = 1060.0*Units:-Unit(kg/m^3), t_final = 30*Units:-Unit(s), t_step = Units:-Unit(s), test_1 = Units:-Unit(kW), test_2 = 2*Units:-Unit(N)}), unit_free)) &amp;lt;&amp;gt; {}) then print(&amp;quot;Not all units are in SI base units&amp;quot;) end if" height="40" src="/view.aspx?sf=243711_question/671e5d56c50a3a43c42295ec63304134.gif" style="vertical-align:-23px" width="768"&gt;&lt;/p&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="&amp;quot;Not all units are in SI base units&amp;quot;" height="23" src="/view.aspx?sf=243711_question/18160d74cb4c71b3261e6c36b557e347.gif" style="vertical-align:-6px" width="210"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td&gt;(4)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;input name="sequence" type="hidden" value="1"&gt; &lt;input name="cmd" type="hidden" value="none"&gt;&lt;/form&gt;

&lt;p&gt;&lt;a href="/view.aspx?sf=243711_question/check_for_SI_base_units.mw"&gt;Download check_for_SI_base_units.mw&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I am interested in simpler ways to perform the test. The statement is quite long and not easy to understand.&lt;/p&gt;

&lt;p&gt;Given the size of the unit package, there might be a command that I have overlooked to check whether units are in SI base units.&lt;/p&gt;

&lt;p&gt;Have I missed test cases to make the check fool proof?&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: A variant with split was added and attempts with functional programming&lt;/p&gt;

&lt;p&gt;&lt;a href="/view.aspx?sf=243711_question/check_for_SI_base_units_02.mw"&gt;check_for_SI_base_units_02.mw&lt;/a&gt;&lt;/p&gt;
</itunes:summary>
      <description>&lt;p&gt;For a numericial integration I want to check if all physical parameters are given in SI base units (before stripping of the units for the integration). Right now I am doing this&lt;/p&gt;

&lt;form name="worksheet_form"&gt;&lt;input name="md.ref" type="hidden" value="42D81B621C579F602495C68614440906"&gt;
&lt;table align="center" width="768"&gt;
	&lt;tbody&gt;
		&lt;tr&gt;
			&lt;td&gt;
			&lt;p align="left" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="restart" height="23" src="/view.aspx?sf=243711_question/3b3ae17bd7967cf9b78271bd53a71a19.gif" style="vertical-align:-6px" width="54"&gt;&lt;/p&gt;

			&lt;table width="760"&gt;
				&lt;tbody&gt;
					&lt;tr&gt;
						&lt;td align="left" cellspacing="0"&gt;
						&lt;table cellspacing="0" style="empty-cells:show;border-collapse:collapse;border:none;border-color:black;border-width:1;margin:1 1 1 1;"&gt;
							&lt;colgroup span="1" width="372"&gt;
							&lt;/colgroup&gt;
							&lt;colgroup span="1" width="372"&gt;
							&lt;/colgroup&gt;
							&lt;tbody&gt;
								&lt;tr&gt;
									&lt;td colspan="2" rowspan="1" style="background-color:rgb(255,255,255);border-left:solid;border-right:solid;border-top:solid;border-bottom:none;border-color:black;border-width:1;padding-top:3;padding-bottom:3;padding-left:3;padding-right:3;" valign="top"&gt;
									&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;span style="font-size:16px;"&gt;&lt;span style="color: rgb(0, 0, 0); font-family: Trebuchet MS, sans-serif; font-weight: normal; font-style: normal;"&gt;Parameters&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
									&lt;/td&gt;
								&lt;/tr&gt;
								&lt;tr&gt;
									&lt;td colspan="1" rowspan="1" style="background-color:rgb(255,255,255);border-left:solid;border-right:solid;border-top:solid;border-bottom:none;border-color:black;border-width:1;padding-top:3;padding-bottom:3;padding-left:3;padding-right:3;" valign="top"&gt;
									&lt;p align="left" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;span style="font-size:16px;"&gt;&lt;img align="middle" alt="H = 0.1e-1*Unit('m'), R = 0.6e-2*Unit('m'), r_sub = 0.3e-2*Unit('m'), k = .540*Unit('W'/('m'*'K')), rho = 1060.0*Unit('kg'/'m'^3), Cp = 3745*Unit('J'/('kg'*'K')), Q_flux = 5000*Unit('W'/'m'^2), T_amb = 0*Unit('K'), Nz = 20, Nr = 20, t_final = 30*Unit('s'), t_step = Unit('s'), test_1 = Unit('kW'), test_2 = 2*Unit('N')" height="328" src="/view.aspx?sf=243711_question/9505006d0dd9c8b2e247125febd55b5e.gif" style="vertical-align:-311px" width="372"&gt;&lt;/span&gt;&lt;/p&gt;

									&lt;table&gt;
										&lt;tbody&gt;
											&lt;tr valign="baseline"&gt;
												&lt;td&gt;
												&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img align="middle" alt="H = 0.1e-1*Units:-Unit(m), R = 0.6e-2*Units:-Unit(m), r_sub = 0.3e-2*Units:-Unit(m), k = .540*Units:-Unit(W/(m*K)), rho = 1060.0*Units:-Unit(kg/m^3), Cp = 3745*Units:-Unit(J/(kg*K)), Q_flux = 5000*Units:-Unit(W/m^2), T_amb = 0, Nz = 20, Nr = 20, t_final = 30*Units:-Unit(s), t_step = Units:-Unit(s), test_1 = Units:-Unit(kW), test_2 = 2*Units:-Unit(N)" height="137" src="/view.aspx?sf=243711_question/4265b4de6e590b3c47d72167f1bf545d.gif" style="vertical-align:-120px" width="342"&gt;&lt;/p&gt;
												&lt;/td&gt;
												&lt;td align="right" style="color:#000000; font-family:Times, serif; font-weight:bold; font-style:normal;"&gt;(1)&lt;/td&gt;
											&lt;/tr&gt;
										&lt;/tbody&gt;
									&lt;/table&gt;
									&lt;/td&gt;
									&lt;td colspan="1" rowspan="1" style="background-color:rgb(255,255,255);border-left:solid;border-right:solid;border-top:solid;border-bottom:none;border-color:black;border-width:1;padding-top:3;padding-bottom:3;padding-left:3;padding-right:3;" valign="top"&gt;
									&lt;p&gt;H: length of rod&lt;br&gt;
									R: outer radius&lt;br&gt;
									r_sub: outer radius of heat flux&lt;br&gt;
									k: conductance&lt;br&gt;
									&amp;rho;: density&lt;br&gt;
									Cp: heat capacity&lt;br&gt;
									Q_flux: heat flux&lt;br&gt;
									T_amb: initial Tempearture&lt;br&gt;
									Nz: number of axial grid points&lt;br&gt;
									Nr: number of radial grid points&lt;br&gt;
									t_final: integration time&lt;br&gt;
									t_step: sampling interval for temperature fields&lt;br&gt;
									test_1: unit given in kilos&lt;br&gt;
									test_2: unit given in derived base units&lt;/p&gt;
									&lt;/td&gt;
								&lt;/tr&gt;
								&lt;tr&gt;
									&lt;td colspan="1" rowspan="1" style="background-color:rgb(255,255,255);border:solid;border-color:black;border-width:1;padding-top:3;padding-bottom:3;padding-left:3;padding-right:3;" valign="top"&gt;
									&lt;p align="left" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="alpha = k/(rho*Cp); simplify(subs(H = 0.1e-1*Units:-Unit(m), R = 0.6e-2*Units:-Unit(m), r_sub = 0.3e-2*Units:-Unit(m), k = .540*Units:-Unit(W/(m*K)), rho = 1060.0*Units:-Unit(kg/m^3), Cp = 3745*Units:-Unit(J/(kg*K)), Q_flux = 5000*Units:-Unit(W/m^2), T_amb = 0, Nz = 20, Nr = 20, t_final = 30*Units:-Unit(s), t_step = Units:-Unit(s), test_1 = Units:-Unit(kW), test_2 = 2*Units:-Unit(N), %))" height="45" src="/view.aspx?sf=243711_question/bc98d94b2531fb179d2313ae73cf6198.gif" style="vertical-align:-19px" width="225"&gt;&lt;/p&gt;

									&lt;table&gt;
										&lt;tbody&gt;
											&lt;tr valign="baseline"&gt;
												&lt;td&gt;
												&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="alpha = 0.1360304305e-6*Units:-Unit(m^2/s)" height="46" src="/view.aspx?sf=243711_question/95600918a8765f33c9c28514e7dcd99f.gif" style="vertical-align:-16px" width="205"&gt;&lt;/p&gt;
												&lt;/td&gt;
												&lt;td&gt;(2)&lt;/td&gt;
											&lt;/tr&gt;
										&lt;/tbody&gt;
									&lt;/table&gt;
									&lt;/td&gt;
									&lt;td colspan="1" rowspan="1" style="background-color:rgb(255,255,255);border:solid;border-color:black;border-width:1;padding-top:3;padding-bottom:3;padding-left:3;padding-right:3;" valign="top"&gt;
									&lt;p&gt;&amp;alpha;: thermal diffusivity&lt;/p&gt;
									&lt;/td&gt;
								&lt;/tr&gt;
							&lt;/tbody&gt;
						&lt;/table&gt;
						&lt;/td&gt;
					&lt;/tr&gt;
					&lt;tr&gt;
						&lt;td align="left" style="font-weight:bold"&gt;&amp;nbsp;&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;p&gt;One way is to check whether the value of a physical parameter has not changed after simplification&lt;/p&gt;

			&lt;p&gt;&lt;img alt="`minus`(map(convert, simplify(`~`[rhs]({Cp = 3745*Units:-Unit(J/(kg*K)), H = 0.1e-1*Units:-Unit(m), Nr = 20, Nz = 20, Q_flux = 5000*Units:-Unit(W/m^2), R = 0.6e-2*Units:-Unit(m), T_amb = 0, k = .540*Units:-Unit(W/(m*K)), r_sub = 0.3e-2*Units:-Unit(m), rho = 1060.0*Units:-Unit(kg/m^3), t_final = 30*Units:-Unit(s), t_step = Units:-Unit(s), test_1 = Units:-Unit(kW), test_2 = 2*Units:-Unit(N)})), unit_free), map(convert, `~`[rhs]({Cp = 3745*Units:-Unit(J/(kg*K)), H = 0.1e-1*Units:-Unit(m), Nr = 20, Nz = 20, Q_flux = 5000*Units:-Unit(W/m^2), R = 0.6e-2*Units:-Unit(m), T_amb = 0, k = .540*Units:-Unit(W/(m*K)), r_sub = 0.3e-2*Units:-Unit(m), rho = 1060.0*Units:-Unit(kg/m^3), t_final = 30*Units:-Unit(s), t_step = Units:-Unit(s), test_1 = Units:-Unit(kW), test_2 = 2*Units:-Unit(N)}), unit_free))" height="23" src="/view.aspx?sf=243711_question/21bd93ad2777245081e960755b76c4de.gif" style="vertical-align:-6px" width="570"&gt;&lt;/p&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p&gt;&lt;img alt="{1000}" height="23" src="/view.aspx?sf=243711_question/dd984c9af9ac072e42d55edde3b90a7b.gif" style="vertical-align:-6px" width="51"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td&gt;(3)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;

			&lt;p&gt;&lt;img align="middle" alt="if is(`minus`(map(convert, simplify(`~`[rhs]({Cp = 3745*Units:-Unit(J/(kg*K)), H = 0.1e-1*Units:-Unit(m), Nr = 20, Nz = 20, Q_flux = 5000*Units:-Unit(W/m^2), R = 0.6e-2*Units:-Unit(m), T_amb = 0, k = .540*Units:-Unit(W/(m*K)), r_sub = 0.3e-2*Units:-Unit(m), rho = 1060.0*Units:-Unit(kg/m^3), t_final = 30*Units:-Unit(s), t_step = Units:-Unit(s), test_1 = Units:-Unit(kW), test_2 = 2*Units:-Unit(N)})), unit_free), map(convert, `~`[rhs]({Cp = 3745*Units:-Unit(J/(kg*K)), H = 0.1e-1*Units:-Unit(m), Nr = 20, Nz = 20, Q_flux = 5000*Units:-Unit(W/m^2), R = 0.6e-2*Units:-Unit(m), T_amb = 0, k = .540*Units:-Unit(W/(m*K)), r_sub = 0.3e-2*Units:-Unit(m), rho = 1060.0*Units:-Unit(kg/m^3), t_final = 30*Units:-Unit(s), t_step = Units:-Unit(s), test_1 = Units:-Unit(kW), test_2 = 2*Units:-Unit(N)}), unit_free)) &amp;lt;&amp;gt; {}) then print(&amp;quot;Not all units are in SI base units&amp;quot;) end if" height="40" src="/view.aspx?sf=243711_question/671e5d56c50a3a43c42295ec63304134.gif" style="vertical-align:-23px" width="768"&gt;&lt;/p&gt;

			&lt;table&gt;
				&lt;tbody&gt;
					&lt;tr valign="baseline"&gt;
						&lt;td&gt;
						&lt;p align="center" style="margin:0 0 0 0; padding-top:0px; padding-bottom:0px"&gt;&lt;img alt="&amp;quot;Not all units are in SI base units&amp;quot;" height="23" src="/view.aspx?sf=243711_question/18160d74cb4c71b3261e6c36b557e347.gif" style="vertical-align:-6px" width="210"&gt;&lt;/p&gt;
						&lt;/td&gt;
						&lt;td&gt;(4)&lt;/td&gt;
					&lt;/tr&gt;
				&lt;/tbody&gt;
			&lt;/table&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;input name="sequence" type="hidden" value="1"&gt; &lt;input name="cmd" type="hidden" value="none"&gt;&lt;/form&gt;

&lt;p&gt;&lt;a href="/view.aspx?sf=243711_question/check_for_SI_base_units.mw"&gt;Download check_for_SI_base_units.mw&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I am interested in simpler ways to perform the test. The statement is quite long and not easy to understand.&lt;/p&gt;

&lt;p&gt;Given the size of the unit package, there might be a command that I have overlooked to check whether units are in SI base units.&lt;/p&gt;

&lt;p&gt;Have I missed test cases to make the check fool proof?&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;: A variant with split was added and attempts with functional programming&lt;/p&gt;

&lt;p&gt;&lt;a href="/view.aspx?sf=243711_question/check_for_SI_base_units_02.mw"&gt;check_for_SI_base_units_02.mw&lt;/a&gt;&lt;/p&gt;
</description>
      <guid>243711</guid>
      <pubDate>Thu, 30 Jul 2026 21:08:28 Z</pubDate>
      <itunes:author>C_R</itunes:author>
      <author>C_R</author>
    </item>
    <item>
      <title>Agent Skill for Maple</title>
      <link>http://www.mapleprimes.com/questions/243710-Agent-Skill-For-Maple?ref=Feed:MaplePrimes:Unanswered Questions</link>
      <itunes:summary>&lt;p&gt;Has anyone developed an Agent Skill for Maple compliant with the &lt;a href="https://agentskills.io/home"&gt;Agent Skills Specification&lt;/a&gt;?&lt;/p&gt;

&lt;p&gt;I frequently use Claude Code to create and edit Maple Documents. It does fine alone, but I found adding a script to do a syntax check eliminated a lot of content errors. I also presume some instructions on how it should read the Maple documentation will improve its reliability. Before I go about writing my own Skill against the specification, I just want to check if there is already one in use within the community.&lt;/p&gt;
</itunes:summary>
      <description>&lt;p&gt;Has anyone developed an Agent Skill for Maple compliant with the &lt;a href="https://agentskills.io/home"&gt;Agent Skills Specification&lt;/a&gt;?&lt;/p&gt;

&lt;p&gt;I frequently use Claude Code to create and edit Maple Documents. It does fine alone, but I found adding a script to do a syntax check eliminated a lot of content errors. I also presume some instructions on how it should read the Maple documentation will improve its reliability. Before I go about writing my own Skill against the specification, I just want to check if there is already one in use within the community.&lt;/p&gt;
</description>
      <guid>243710</guid>
      <pubDate>Wed, 29 Jul 2026 18:36:34 Z</pubDate>
      <itunes:author>OptimusMaplePrime</itunes:author>
      <author>OptimusMaplePrime</author>
    </item>
    <item>
      <title>MapleV for emacs 30.2</title>
      <link>http://www.mapleprimes.com/questions/243708-MapleV-For-Emacs-302?ref=Feed:MaplePrimes:Unanswered Questions</link>
      <itunes:summary>&lt;p&gt;I am a long-time user of Joe Riel&amp;#39;s maplev mode in emacs. Upgraded emacs to version 30.2 and now it does not work anymore because of difficulties with something called abbrevlist. This is on MacOS. I am already on the last version of maplev.&lt;/p&gt;

&lt;p&gt;Anyone have an idea what is going on and what to do? Somehow for me referencing a username no longer is possible (I get a blocking box with a spinner upon entering the at sign) so I can&amp;#39;t create a notification for Joe.&lt;/p&gt;

&lt;p&gt;TIA,&lt;/p&gt;

&lt;p&gt;Mac Dude.&lt;/p&gt;
</itunes:summary>
      <description>&lt;p&gt;I am a long-time user of Joe Riel&amp;#39;s maplev mode in emacs. Upgraded emacs to version 30.2 and now it does not work anymore because of difficulties with something called abbrevlist. This is on MacOS. I am already on the last version of maplev.&lt;/p&gt;

&lt;p&gt;Anyone have an idea what is going on and what to do? Somehow for me referencing a username no longer is possible (I get a blocking box with a spinner upon entering the at sign) so I can&amp;#39;t create a notification for Joe.&lt;/p&gt;

&lt;p&gt;TIA,&lt;/p&gt;

&lt;p&gt;Mac Dude.&lt;/p&gt;
</description>
      <guid>243708</guid>
      <pubDate>Wed, 29 Jul 2026 14:09:15 Z</pubDate>
      <itunes:author>Mac Dude</itunes:author>
      <author>Mac Dude</author>
    </item>
    <item>
      <title>Is MapleSim and the B&amp;amp;R Connector included in the Student License version of Maple?</title>
      <link>http://www.mapleprimes.com/questions/243696-Is-MapleSim-And-The-BampR-Connector?ref=Feed:MaplePrimes:Unanswered Questions</link>
      <itunes:summary>&lt;p&gt;Pretty much what the title says. I am a student and I&amp;#39;ve worked with B&amp;amp;R Automation Studio, which is a SCADA software, with the physical automation components in the lab in college. Now that I&amp;#39;m on the summer break, it would be great to continue this learning via the B&amp;amp;R connector that Maple offer, to create a &amp;quot;digitial twin&amp;quot;. However, there doesn&amp;#39;t seem to be any information as to whether MapleSim is actually included in the student edition, and whether the connector is included too.&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;
</itunes:summary>
      <description>&lt;p&gt;Pretty much what the title says. I am a student and I&amp;#39;ve worked with B&amp;amp;R Automation Studio, which is a SCADA software, with the physical automation components in the lab in college. Now that I&amp;#39;m on the summer break, it would be great to continue this learning via the B&amp;amp;R connector that Maple offer, to create a &amp;quot;digitial twin&amp;quot;. However, there doesn&amp;#39;t seem to be any information as to whether MapleSim is actually included in the student edition, and whether the connector is included too.&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;
</description>
      <guid>243696</guid>
      <pubDate>Wed, 22 Jul 2026 12:07:20 Z</pubDate>
      <itunes:author>sreilly17</itunes:author>
      <author>sreilly17</author>
    </item>
    <item>
      <title>how to collect tanh(xi)</title>
      <link>http://www.mapleprimes.com/questions/243686-How-To-Collect-Tanhxi?ref=Feed:MaplePrimes:Unanswered Questions</link>
      <itunes:summary>&lt;p&gt;equ:=2*(-wu2*w12*JacobiDN(w12*tanh(t*wt1 + wx1*x + b5)^2, m)*JacobiSN(w12*tanh(t*wt1 + wx1*x + b5)^2, m) + wu3*w13 + wu4*w14)*wt1*tanh(t*wt1 + wx1*x + b5)*sech(t*wt1 + wx1*x + b5)^2 + 2*(-wu2*w12*JacobiDN(w12*tanh(t*wt1 + wx1*x + b5)^2, m)*JacobiSN(w12*tanh(t*wt1 + wx1*x + b5)^2, m) + wu3*w13 + wu4*w14)*wx1*tanh(t*wt1 + wx1*x + b5)*sech(t*wt1 + wx1*x + b5)^2 + 2*omega*(b5 + wu2*JacobiCN(w12*tanh(t*wt1 + wx1*x + b5)^2, m) + wu3*w13*tanh(t*wt1 + wx1*x + b5)^2 + wu4*w14*tanh(t*wt1 + wx1*x + b5)^2)*(-wu2*w12*JacobiDN(w12*tanh(t*wt1 + wx1*x + b5)^2, m)*JacobiSN(w12*tanh(t*wt1 + wx1*x + b5)^2, m) + wu3*w13 + wu4*w14)*wx1*tanh(t*wt1 + wx1*x + b5)*sech(t*wt1 + wx1*x + b5)^2 - (48*tanh(t*wt1 + wx1*x + b5)*wx1*sech(t*wt1 + wx1*x + b5)^8*(sinh(t*wt1 + wx1*x + b5)^2*JacobiSN(w12*tanh(t*wt1 + wx1*x + b5)^2, m)^3*JacobiDN(w12*tanh(t*wt1 + wx1*x + b5)^2, m)*m^2*w12^3*wu2 + JacobiCN(w12*tanh(t*wt1 + wx1*x + b5)^2, m)*cosh(t*wt1 + wx1*x + b5)^2*m^2*w12^2*wu2*(cosh(t*wt1 + wx1*x + b5)^2 - 3/2)*JacobiSN(w12*tanh(t*wt1 + wx1*x + b5)^2, m)^2 - (2*JacobiSN(w12*tanh(t*wt1 + wx1*x + b5)^2, m)*(-cosh(t*wt1 + wx1*x + b5)^6/4 + (3*cosh(t*wt1 + wx1*x + b5)^4)/4 + sinh(t*wt1 + wx1*x + b5)^2*w12^2*(m^2 + 1/4))*w12*wu2*JacobiDN(w12*tanh(t*wt1 + wx1*x + b5)^2, m))/3 - cosh(t*wt1 + wx1*x + b5)^2*(3*(cosh(t*wt1 + wx1*x + b5)^2 - 3/2)*w12^2*wu2*JacobiCN(w12*tanh(t*wt1 + wx1*x + b5)^2, m) + cosh(t*wt1 + wx1*x + b5)^2*(cosh(t*wt1 + wx1*x + b5)^2 - 3)*(w13*wu3 + w14*wu4))/6)*wt1^2)*NULL&lt;/p&gt;
</itunes:summary>
      <description>&lt;p&gt;equ:=2*(-wu2*w12*JacobiDN(w12*tanh(t*wt1 + wx1*x + b5)^2, m)*JacobiSN(w12*tanh(t*wt1 + wx1*x + b5)^2, m) + wu3*w13 + wu4*w14)*wt1*tanh(t*wt1 + wx1*x + b5)*sech(t*wt1 + wx1*x + b5)^2 + 2*(-wu2*w12*JacobiDN(w12*tanh(t*wt1 + wx1*x + b5)^2, m)*JacobiSN(w12*tanh(t*wt1 + wx1*x + b5)^2, m) + wu3*w13 + wu4*w14)*wx1*tanh(t*wt1 + wx1*x + b5)*sech(t*wt1 + wx1*x + b5)^2 + 2*omega*(b5 + wu2*JacobiCN(w12*tanh(t*wt1 + wx1*x + b5)^2, m) + wu3*w13*tanh(t*wt1 + wx1*x + b5)^2 + wu4*w14*tanh(t*wt1 + wx1*x + b5)^2)*(-wu2*w12*JacobiDN(w12*tanh(t*wt1 + wx1*x + b5)^2, m)*JacobiSN(w12*tanh(t*wt1 + wx1*x + b5)^2, m) + wu3*w13 + wu4*w14)*wx1*tanh(t*wt1 + wx1*x + b5)*sech(t*wt1 + wx1*x + b5)^2 - (48*tanh(t*wt1 + wx1*x + b5)*wx1*sech(t*wt1 + wx1*x + b5)^8*(sinh(t*wt1 + wx1*x + b5)^2*JacobiSN(w12*tanh(t*wt1 + wx1*x + b5)^2, m)^3*JacobiDN(w12*tanh(t*wt1 + wx1*x + b5)^2, m)*m^2*w12^3*wu2 + JacobiCN(w12*tanh(t*wt1 + wx1*x + b5)^2, m)*cosh(t*wt1 + wx1*x + b5)^2*m^2*w12^2*wu2*(cosh(t*wt1 + wx1*x + b5)^2 - 3/2)*JacobiSN(w12*tanh(t*wt1 + wx1*x + b5)^2, m)^2 - (2*JacobiSN(w12*tanh(t*wt1 + wx1*x + b5)^2, m)*(-cosh(t*wt1 + wx1*x + b5)^6/4 + (3*cosh(t*wt1 + wx1*x + b5)^4)/4 + sinh(t*wt1 + wx1*x + b5)^2*w12^2*(m^2 + 1/4))*w12*wu2*JacobiDN(w12*tanh(t*wt1 + wx1*x + b5)^2, m))/3 - cosh(t*wt1 + wx1*x + b5)^2*(3*(cosh(t*wt1 + wx1*x + b5)^2 - 3/2)*w12^2*wu2*JacobiCN(w12*tanh(t*wt1 + wx1*x + b5)^2, m) + cosh(t*wt1 + wx1*x + b5)^2*(cosh(t*wt1 + wx1*x + b5)^2 - 3)*(w13*wu3 + w14*wu4))/6)*wt1^2)*NULL&lt;/p&gt;
</description>
      <guid>243686</guid>
      <pubDate>Wed, 15 Jul 2026 14:21:59 Z</pubDate>
      <itunes:author>bashar27</itunes:author>
      <author>bashar27</author>
    </item>
    <item>
      <title>Why does Text appear like 12 pt, with a style-set?</title>
      <link>http://www.mapleprimes.com/questions/243683-Why-Does-Text-Appear-Like-12-Pt-With?ref=Feed:MaplePrimes:Unanswered Questions</link>
      <itunes:summary>&lt;p&gt;For many years I have used my own Style Set in Maple, mainly by adding a few extra heading styles (typically coloured headings). This has worked very well.&lt;/p&gt;

&lt;p&gt;In Maple 2026, the default body text font has been changed to DejaVu Sans. Since the mathematical notation is still displayed in a serif math font (for obvious reasons), I feel that 12 pt DejaVu Sans appears noticeably larger than the mathematics because of its relatively large x-height. To my eyes, 11 pt gives a much more harmonious balance.&lt;/p&gt;

&lt;p&gt;I therefore tried to change the built-in Text style from 12 pt to 11 pt.&lt;/p&gt;

&lt;p&gt;However, I noticed something very strange.&lt;/p&gt;

&lt;p&gt;When I open Style Management, select Text, and click Modify, the Character Style dialog already shows the font size as 11 pt (see the first screenshot). Nevertheless, when I switch to Text mode and start typing, the body text is still created as 12 pt, and the toolbar also reports a font size of 12 pt.&lt;/p&gt;

&lt;p&gt;If I create my own custom style (for example, text11) with a font size of 11 pt, it works exactly as expected.&lt;/p&gt;

&lt;p&gt;Is the built-in Text style intentionally overridden somewhere by the default Style Set, or is this a bug?&lt;/p&gt;

&lt;p&gt;For comparison, I have also attached a second screenshot showing the visual difference between 12 pt and 11 pt body text. In my opinion, the 11 pt version blends much better with the mathematical notation.&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;img src="/view.aspx?sf=243683_question/Change_font_size.png"&gt;&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;img src="/view.aspx?sf=243683_question/bodytext_11and12.png"&gt;&lt;/p&gt;
</itunes:summary>
      <description>&lt;p&gt;For many years I have used my own Style Set in Maple, mainly by adding a few extra heading styles (typically coloured headings). This has worked very well.&lt;/p&gt;

&lt;p&gt;In Maple 2026, the default body text font has been changed to DejaVu Sans. Since the mathematical notation is still displayed in a serif math font (for obvious reasons), I feel that 12 pt DejaVu Sans appears noticeably larger than the mathematics because of its relatively large x-height. To my eyes, 11 pt gives a much more harmonious balance.&lt;/p&gt;

&lt;p&gt;I therefore tried to change the built-in Text style from 12 pt to 11 pt.&lt;/p&gt;

&lt;p&gt;However, I noticed something very strange.&lt;/p&gt;

&lt;p&gt;When I open Style Management, select Text, and click Modify, the Character Style dialog already shows the font size as 11 pt (see the first screenshot). Nevertheless, when I switch to Text mode and start typing, the body text is still created as 12 pt, and the toolbar also reports a font size of 12 pt.&lt;/p&gt;

&lt;p&gt;If I create my own custom style (for example, text11) with a font size of 11 pt, it works exactly as expected.&lt;/p&gt;

&lt;p&gt;Is the built-in Text style intentionally overridden somewhere by the default Style Set, or is this a bug?&lt;/p&gt;

&lt;p&gt;For comparison, I have also attached a second screenshot showing the visual difference between 12 pt and 11 pt body text. In my opinion, the 11 pt version blends much better with the mathematical notation.&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;img src="/view.aspx?sf=243683_question/Change_font_size.png" /&gt;&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;p&gt;&lt;img src="/view.aspx?sf=243683_question/bodytext_11and12.png" /&gt;&lt;/p&gt;
</description>
      <guid>243683</guid>
      <pubDate>Tue, 14 Jul 2026 00:49:28 Z</pubDate>
      <itunes:author>erik10</itunes:author>
      <author>erik10</author>
    </item>
  </channel>
</rss>