<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Issues with math functions</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91373/issues-with-math-functions</link><description>Hi, 
 I am using SDK 2.0.0. 
 I have two problems in this function. 
 
 Lets take Vt value as 1420, in one instance. 
 1. RT2 is calculated as 5076.14. This is incorrect. It should have been 9161.29. 
 2. I couldn&amp;#39;t find the ln () function (natural log</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 27 Aug 2022 00:35:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91373/issues-with-math-functions" /><item><title>RE: Issues with math functions</title><link>https://devzone.nordicsemi.com/thread/383539?ContentTypeID=1</link><pubDate>Sat, 27 Aug 2022 00:35:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d029e592-df11-463d-9865-62e109ddb6b3</guid><dc:creator>kaushalyasat</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;H&amp;aring;kon,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Many thanks mate, that solved the issue.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues with math functions</title><link>https://devzone.nordicsemi.com/thread/383461?ContentTypeID=1</link><pubDate>Fri, 26 Aug 2022 12:17:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c63d309c-3d98-4d47-a219-5745ba7225ed</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try to cast your integers to float?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Vt_V = (float)Vt/1000.0f;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>