create account

PHP Tutorial #17 Mathematical Methods (Abs, Acos , Acosh and Asin ) by alexendre-maxim

View this thread on: hive.blogpeakd.comecency.com
· @alexendre-maxim ·
$9.58
PHP Tutorial #17 Mathematical Methods (Abs, Acos , Acosh and Asin )
<html>
<p><img src="https://cdn.steemitimages.com/DQmR2CdPgUAaypJwbE8QhahqDxrabLTM5fHq8ZjTPcVr2fg/bbva-open4u-herramientas-basicas-desarrolladores-php_1.jpg" width="2122" height="1415"/></p>
<p><a href="https://cdn.steemitimages.com/DQmR2CdPgUAaypJwbE8QhahqDxrabLTM5fHq8ZjTPcVr2fg/bbva-open4u-herramientas-basicas-desarrolladores-php_1.jpg">Image Source</a></p>
<h2>Repository</h2>
<p><a href="https://github.com/php/php-src">https://github.com/php/php-src</a> &nbsp;</p>
<h2>What Will I Learn?</h2>
<p>I will learn the mathematical methods , we will take the " Abs, Acos , Acosh and Asin " methods.&nbsp; &nbsp; &nbsp;</p>
<ul>
  <li>How to get the absolute value using Abs method.</li>
  <li>What's the Acos method and how to use it.</li>
  <li>The concept of the Acosh method and its uses.</li>
  <li>How to get the arc sin of a value using Asin method.</li>
</ul>
<h2>Requirements</h2>
<ul>
  <li>Server support PHP , Xampp or Wamp for example</li>
  <li>An IDE like Sublime text.</li>
  <li>Browser (Chrome for example)&nbsp;</li>
</ul>
<h2>Difficulty</h2>
<ul>
  <li>Basic</li>
</ul>
<h2>Description</h2>
<h3>1- Abs method &nbsp;</h3>
<p>This function returns the absolute value of a natural, integer or real number. Thus, it will remove the sign from the specified number so that when it is a negative number, it eliminates the minus sign "-" before the number. &nbsp;</p>
<p>It is therefore impossible to get a negative number with this function, they will always be positive, it is therefore a very useful function to keep the "natural" &nbsp;part of a number.&nbsp;</p>
<p>It has the expression as parameter ,this parameter is used to specify an expression representing a number to process.&nbsp;</p>
<p>It return a number greater than 0 these values are the only ones that can be returned. The absolute value of a number is always positive. &nbsp;</p>
<p>To use the abs method you need to pass the number as parameter</p>
<p><code>abs($number)</code></p>
<p>I have a negative number and I want to get the positive of this number using the abs method</p>
<p><code>$number = -25;</code></p>
<p><code>echo abs($number);</code></p>
<p>The abs method will return the positive number , it will eliminate the minus sign (-) , and this is the result</p>
<p><img src="https://cdn.steemitimages.com/DQmfBgbegDo4iimgmwhYfQ83rEcWBtEpU8i5sKFXkEHqBYx/capture-20190206-202904.png" width="367" height="152"/></p>
<h3>2- Acos method &nbsp;</h3>
<p>This function returns the cosine arc of number . The acos is the inverse function of cos (), which means that a == cos (acos (a)) for any value in the validity range of acos ().&nbsp;</p>
<p>It has The argument to be treated and it returns the arc cosine of the argument, in radians. &nbsp;</p>
<p>To use the acos method you need to pass the argument as parameter</p>
<p><code>acos($argument)</code></p>
<p>The validity range is [-1,1], I will pass the number 0 to this method and this is the result</p>
<p><code>echo acos(0);</code></p>
<p><img src="https://cdn.steemitimages.com/DQmNqv1pQRStSLzUhS1B5yYNFPXbRcg1UsFr4Z4bzSmEDam/capture-20190206-203103.png" width="478" height="141"/></p>
<h3>3- Acosh Method</h3>
<p>This function returns the hyperbolic cosine arc of an argument. &nbsp;It has the expression as parameter , This parameter is used to specify the expression containing the number to be processed.</p>
<p>To use the acosh method you must pass the argument as parameter</p>
<p><code>acosh(argument)</code></p>
<p>The validity range is [-1,+inf[, I will pass the number 3 to this method and this is the result</p>
<p><code>echo acosh(3);</code></p>
<p><img src="https://cdn.steemitimages.com/DQmbiLoCPqF2WeVLXS4CCsTnVo9Kn17uhmcDV45sFNboFmD/capture-20190206-203215.png" width="487" height="156"/></p>
<h3>4- Asin Method</h3>
<p>This trigonometric function makes it possible to return the sine arc. It has the expression as parameter this parameter is used to indicate the expression containing the number to be processed.&nbsp;</p>
<p>The value of the parameter must be in a range between -1 and 1, otherwise the function will consider that domain error has occurred.&nbsp;</p>
<p>It returns -Ο€ / 2 to Ο€ / 2 these values are used to indicate the radians of the sine arc. &nbsp;</p>
<p>To use the asin method you need to pass a number between -1 and 1</p>
<p><code>asin($number)</code></p>
<p>I will pass the number 0 to the asin method and this is the result</p>
<p><img src="https://cdn.steemitimages.com/DQmZ2Ap6KkcBm4bUE1PsqJY8Z9EkLtEQ7nqHdhGeXkWD5aK/capture-20190206-203242.png" width="400" height="156"/></p>
<h2>Video Tutorial&nbsp;</h2>
<p>https://www.youtube.com/watch?v=quU6aVkhuwE&amp;feature=youtu.be</p>
<h2>Curriculum</h2>
<ul>
  <li><a href="https://steemit.com/utopian-io/@alexendre-maxim/php-tutorial-01-indexed-arrays-associative-arrays-and-multidimensional-arrays">PHP Tutorial #01 Indexed Arrays, Associative Arrays and Multidimensional Arrays</a></li>
  <li><a href="https://steemit.com/utopian-io/@alexendre-maxim/php-tutorial-02-array-methods-sort-rsort-ksort-krsort-arrayreverse-and-shuffle">PHP Tutorial #02 Array Methods (Sort, Rsort, Ksort, Krsort , Array_Reverse And Shuffle)</a></li>
  <li><a href="https://steemit.com/utopian-io/@alexendre-maxim/5jhula-php-tutorial-03-array-methods-search-methods-addition-methods-and-the-remove-methods">PHP Tutorial #03 Array Methods ( Search Methods , Addition Methods and the Remove Methods)</a></li>
  <li><a href="https://steemit.com/utopian-io/@alexendre-maxim/php-tutorial-04-array-methods-arraysum-arrayrand-arraycolumn-and-arrayunique">PHP Tutorial #04 Array Methods (Array_Sum, Array_Rand, Array_Column and Array_Unique)</a></li>
  <li><a href="https://steemit.com/utopian-io/@alexendre-maxim/php-tutorial-05-array-methods-arraychunk-arraycombine-arraycountvalues-and-arrayproduct">PHP Tutorial #05 Array Methods (Array_Chunk, Array_Combine, Array_Count_Values and Array_Product)</a></li>
  <li><a href="https://steemit.com/utopian-io/@alexendre-maxim/php-tutorial-06-array-methods-arrayfillkeys-arrayfill-arrayflip-and-arrayfilter">PHP Tutorial #06 &nbsp;Array Methods (Array_Fill_Keys,Array_Fill, Array_Flip and Array_Filter)</a></li>
  <li><a href="https://steemit.com/utopian-io/@alexendre-maxim/php-tutorial-07-array-methods-arraykeys-arraymap-arraymerge-and-arraypad">PHP Tutorial #07 Array Methods ( Array_Keys, Array_Map, Array_Merge and Array_Pad )</a></li>
  <li><a href="https://steemit.com/utopian-io/@alexendre-maxim/php-tutorial-08-array-methods-arrayreplace-arrayvalues-arrayslice-and-arrayintersect">PHP Tutorial #08 Array Methods ( Array_Replace, Array_Values, Array_Slice and Array_Intersect )</a></li>
  <li><a href="https://steemit.com/utopian-io/@alexendre-maxim/php-tutorial-09-array-methods-arraywalk-current-next-prev-end-and-reset">PHP Tutorial #09 Array Methods (Array_Walk, Current, Next, Prev, End and Reset )</a></li>
  <li><a href="https://steemit.com/utopian-io/@alexendre-maxim/php-tutorial-10-array-methods-arraydiffkey-arraydiff-arrayintersectkey-and-arraychangekeycase">PHP Tutorial #10 Array Methods (Array_Diff_Key, Array_Diff, Array_Intersect_Key and Array_Change_Key_Case )</a></li>
  <li><a href="https://steemit.com/utopian-io/@alexendre-maxim/php-tutorial-11-string-methods-addslaches-chr-chop-and-chunksplite">PHP Tutorial #11 String Methods ( Addslaches, Chr, Chop and Chunk_splite )</a></li>
  <li><a href="https://steemit.com/utopian-io/@alexendre-maxim/php-tutorial-12-string-methods-bin2hex-countchars-explode-and-hex2bin">PHP Tutorial #12 String Methods ( Bin2Hex, Count_Chars, Explode and Hex2Bin )</a></li>
  <li><a href="https://steemit.com/utopian-io/@alexendre-maxim/php-tutorial-13-string-methods-implode-join-lcfirst-ltrim-and-fprintf">PHP Tutorial #13 String Methods (Implode, Join, Lcfirst, Ltrim and Fprintf )</a></li>
  <li><a href="https://steemit.com/utopian-io/@alexendre-maxim/php-tutorial-14-string-methods-md5file-md5-nl2br-and-addcslaches">PHP Tutorial #14 String Methods (Md5_File, Md5, Nl2br and Addcslaches )</a></li>
  <li><a href="https://steemit.com/utopian-io/@alexendre-maxim/php-tutorial-15-string-methods-numberformat-ord-parsestr-print-and-printf">PHP Tutorial #15 String Methods (Number_Format, Ord, Parse_Str, Print and Printf )</a></li>
  <li>&nbsp;<a href="https://steemit.com/utopian-io/@alexendre-maxim/php-tutorial-16-string-methods-quotemeta-rtrim-sha1file-and-sha1">PHP Tutorial #16 String Methods (QuoteMeta, Rtrim , Sha1_file and Sha1 )</a></li>
</ul>
<h2>Proof of Work Done</h2>
<p>https://github.com/alexendre-maxim/PHP-Tutorial/blob/master/string7.php</p>
</html>
πŸ‘  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authoralexendre-maxim
permlinkphp-tutorial-17-mathematical-methods-abs-acos-acosh-and-asin
categoryutopian-io
json_metadata{"tags":["utopian-io","video-tutorials","video","programming"],"image":["https://cdn.steemitimages.com/DQmR2CdPgUAaypJwbE8QhahqDxrabLTM5fHq8ZjTPcVr2fg/bbva-open4u-herramientas-basicas-desarrolladores-php_1.jpg","https://cdn.steemitimages.com/DQmfBgbegDo4iimgmwhYfQ83rEcWBtEpU8i5sKFXkEHqBYx/capture-20190206-202904.png","https://cdn.steemitimages.com/DQmNqv1pQRStSLzUhS1B5yYNFPXbRcg1UsFr4Z4bzSmEDam/capture-20190206-203103.png","https://cdn.steemitimages.com/DQmbiLoCPqF2WeVLXS4CCsTnVo9Kn17uhmcDV45sFNboFmD/capture-20190206-203215.png","https://cdn.steemitimages.com/DQmZ2Ap6KkcBm4bUE1PsqJY8Z9EkLtEQ7nqHdhGeXkWD5aK/capture-20190206-203242.png","https://img.youtube.com/vi/quU6aVkhuwE/0.jpg"],"links":["https://cdn.steemitimages.com/DQmR2CdPgUAaypJwbE8QhahqDxrabLTM5fHq8ZjTPcVr2fg/bbva-open4u-herramientas-basicas-desarrolladores-php_1.jpg","https://github.com/php/php-src","https://www.youtube.com/watch?v=quU6aVkhuwE&feature=youtu.be","https://steemit.com/utopian-io/@alexendre-maxim/php-tutorial-01-indexed-arrays-associative-arrays-and-multidimensional-arrays","https://steemit.com/utopian-io/@alexendre-maxim/php-tutorial-02-array-methods-sort-rsort-ksort-krsort-arrayreverse-and-shuffle","https://steemit.com/utopian-io/@alexendre-maxim/5jhula-php-tutorial-03-array-methods-search-methods-addition-methods-and-the-remove-methods","https://steemit.com/utopian-io/@alexendre-maxim/php-tutorial-04-array-methods-arraysum-arrayrand-arraycolumn-and-arrayunique","https://steemit.com/utopian-io/@alexendre-maxim/php-tutorial-05-array-methods-arraychunk-arraycombine-arraycountvalues-and-arrayproduct","https://steemit.com/utopian-io/@alexendre-maxim/php-tutorial-06-array-methods-arrayfillkeys-arrayfill-arrayflip-and-arrayfilter","https://steemit.com/utopian-io/@alexendre-maxim/php-tutorial-07-array-methods-arraykeys-arraymap-arraymerge-and-arraypad","https://steemit.com/utopian-io/@alexendre-maxim/php-tutorial-08-array-methods-arrayreplace-arrayvalues-arrayslice-and-arrayintersect","https://steemit.com/utopian-io/@alexendre-maxim/php-tutorial-09-array-methods-arraywalk-current-next-prev-end-and-reset","https://steemit.com/utopian-io/@alexendre-maxim/php-tutorial-10-array-methods-arraydiffkey-arraydiff-arrayintersectkey-and-arraychangekeycase","https://steemit.com/utopian-io/@alexendre-maxim/php-tutorial-11-string-methods-addslaches-chr-chop-and-chunksplite","https://steemit.com/utopian-io/@alexendre-maxim/php-tutorial-12-string-methods-bin2hex-countchars-explode-and-hex2bin","https://steemit.com/utopian-io/@alexendre-maxim/php-tutorial-13-string-methods-implode-join-lcfirst-ltrim-and-fprintf","https://steemit.com/utopian-io/@alexendre-maxim/php-tutorial-14-string-methods-md5file-md5-nl2br-and-addcslaches","https://steemit.com/utopian-io/@alexendre-maxim/php-tutorial-15-string-methods-numberformat-ord-parsestr-print-and-printf","https://steemit.com/utopian-io/@alexendre-maxim/php-tutorial-16-string-methods-quotemeta-rtrim-sha1file-and-sha1","https://github.com/alexendre-maxim/PHP-Tutorial/blob/master/string7.php"],"app":"steemit/0.1","format":"html"}
created2019-02-06 22:14:45
last_update2019-02-06 22:14:45
depth0
children5
last_payout2019-02-13 22:14:45
cashout_time1969-12-31 23:59:59
total_payout_value7.308 HBD
curator_payout_value2.270 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length8,582
author_reputation18,071,828,077,109
root_title"PHP Tutorial #17 Mathematical Methods (Abs, Acos , Acosh and Asin )"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id79,500,079
net_rshares20,377,446,173,776
author_curate_reward""
vote details (43)
@rosatravels ·
$7.26
Hi @alexendre-maxim

Thank you for your contribution to the video tutorial category.

As mentioned in the last post, it would be good to go beyond the basic level and try to cover concepts that are more in-depth requiring tutorial.

You can take a look at tensor's tutorials to get an idea of how you can go into deeper concepts.

https://steemit.com/utopian-io/@tensor/a-beginners-guide-to-dart---control-flow-and-low-level-compilation---part-two

Even though this is a beginners tutorial but the concepts taught do carry some depth that requires step by step teaching.



Your contribution has been evaluated according to [Utopian policies and guidelines](https://join.utopian.io/guidelines), as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, [click here](https://review.utopian.io/result/9/2-3-3-3-2-2-2-2-3-).

---- 
Need help? Chat with us on [Discord](https://discord.gg/uTyJkNm).

[[utopian-moderator]](https://join.utopian.io/)
πŸ‘  , , , , , , , , ,
properties (23)
authorrosatravels
permlinkre-alexendre-maxim-php-tutorial-17-mathematical-methods-abs-acos-acosh-and-asin-20190207t064219273z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"users":["alexendre-maxim"],"links":["https://steemit.com/utopian-io/@tensor/a-beginners-guide-to-dart---control-flow-and-low-level-compilation---part-two","https://join.utopian.io/guidelines","https://review.utopian.io/result/9/2-3-3-3-2-2-2-2-3-","https://discord.gg/uTyJkNm","https://join.utopian.io/"],"app":"steemit/0.1"}
created2019-02-07 06:42:21
last_update2019-02-07 06:42:21
depth1
children1
last_payout2019-02-14 06:42:21
cashout_time1969-12-31 23:59:59
total_payout_value5.501 HBD
curator_payout_value1.754 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,026
author_reputation422,827,447,688,168
root_title"PHP Tutorial #17 Mathematical Methods (Abs, Acos , Acosh and Asin )"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id79,513,596
net_rshares15,265,890,685,410
author_curate_reward""
vote details (10)
@utopian-io ·
Thank you for your review, @rosatravels! Keep up the good work!
properties (22)
authorutopian-io
permlinkre-re-alexendre-maxim-php-tutorial-17-mathematical-methods-abs-acos-acosh-and-asin-20190207t064219273z-20190209t143336z
categoryutopian-io
json_metadata"{"app": "beem/0.20.17"}"
created2019-02-09 14:33:39
last_update2019-02-09 14:33:39
depth2
children0
last_payout2019-02-16 14:33:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length63
author_reputation152,955,367,999,756
root_title"PHP Tutorial #17 Mathematical Methods (Abs, Acos , Acosh and Asin )"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id79,621,492
net_rshares0
@steem-ua ·
#### Hi @alexendre-maxim!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
**Feel free to join our [@steem-ua Discord server](https://discord.gg/KpBNYGz)**
properties (22)
authorsteem-ua
permlinkre-php-tutorial-17-mathematical-methods-abs-acos-acosh-and-asin-20190207t113807z
categoryutopian-io
json_metadata"{"app": "beem/0.20.18"}"
created2019-02-07 11:38:09
last_update2019-02-07 11:38:09
depth1
children0
last_payout2019-02-14 11:38:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length294
author_reputation23,214,230,978,060
root_title"PHP Tutorial #17 Mathematical Methods (Abs, Acos , Acosh and Asin )"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id79,522,258
net_rshares0
@steemitboard ·
Congratulations @alexendre-maxim! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

<table><tr><td>https://steemitimages.com/60x70/http://steemitboard.com/@alexendre-maxim/votes.png?201902062235</td><td>You made more than 100 upvotes. Your next target is to reach 200 upvotes.</td></tr>
</table>

<sub>_[Click here to view your Board](https://steemitboard.com/@alexendre-maxim)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>


To support your work, I also upvoted your post!


> Support [SteemitBoard's project](https://steemit.com/@steemitboard)! **[Vote for its witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1)** and **get one more award**!
properties (22)
authorsteemitboard
permlinksteemitboard-notify-alexendre-maxim-20190206t231347000z
categoryutopian-io
json_metadata{"image":["https://steemitboard.com/img/notify.png"]}
created2019-02-06 23:13:48
last_update2019-02-06 23:13:48
depth1
children0
last_payout2019-02-13 23:13:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length815
author_reputation38,975,615,169,260
root_title"PHP Tutorial #17 Mathematical Methods (Abs, Acos , Acosh and Asin )"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id79,501,868
net_rshares0
@utopian-io ·
Hey, @alexendre-maxim!

**Thanks for contributing on Utopian**.
We’re already looking forward to your next contribution!

**Get higher incentives and support Utopian.io!**
 Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via [SteemPlus](https://chrome.google.com/webstore/detail/steemplus/mjbkjgcplmaneajhcbegoffkedeankaj?hl=en) or [Steeditor](https://steeditor.app)).

**Want to chat? Join us on Discord https://discord.gg/h52nFrV.**

<a href='https://steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1'>Vote for Utopian Witness!</a>
properties (22)
authorutopian-io
permlinkre-php-tutorial-17-mathematical-methods-abs-acos-acosh-and-asin-20190207t155229z
categoryutopian-io
json_metadata"{"app": "beem/0.20.17"}"
created2019-02-07 15:52:30
last_update2019-02-07 15:52:30
depth1
children0
last_payout2019-02-14 15:52:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length597
author_reputation152,955,367,999,756
root_title"PHP Tutorial #17 Mathematical Methods (Abs, Acos , Acosh and Asin )"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id79,532,529
net_rshares0