# Math power function

**URL:** <https://forum.kirupa.com/t/math-power-function/274464>\
**Category:** flash\
**Created:** [October 30, 2008, 11:12am UTC](https://forum.kirupa.com/t/math-power-function/274464 "2008-10-30T11:12:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Markus42](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@Markus42](https://forum.kirupa.com/u/Markus42)\
**Post date:** [October 30, 2008, 11:12am UTC](https://forum.kirupa.com/t/math-power-function/274464/1 "2008-10-30T11:12:50Z")

</div>

I want to make a function like y= (1 - x^z), where both x and z are user input values. How is that possible?
