Solver FIND reciprocal of a FRACTION
Algebra
->
Inverses
-> Solver FIND reciprocal of a FRACTION
Log On
Algebra: Inverse operations for addition and multiplication, reciprocals
Section
Solvers
Solvers
Lessons
Lessons
Answers archive
Answers
Source code of 'FIND reciprocal of a FRACTION'
This Solver (FIND reciprocal of a FRACTION)
was created by by
ichudov(507)
:
View Source
,
Show
,
Put on YOUR site
About ichudov
:
I am not a paid tutor, I am the owner of this web site!
==section input Find reciprocal of fraction <TABLE><TR><TD>*[input n=1]</TD></TR><TR><TD>*[input d=2]</TD></TR></TABLE>. ==section solution perl $recip = $d/$n; print "Reciprocal of a fraction is that fraction turned \"upside down\": {{{reciprocal( a/b ) = b/a}}}. In our case, reciprocal of {{{$n/$d}}} is {{{$d/$n}}}, or $recip."; if( length( $recip ) > 8 ) { print "($recip is an approximation). \n"; } ==section output recip ==section check n=1 d=2 recip=2