Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: A little schoolboy math (but my schooldays were a long time ago).

by Roger (Parson)
on Feb 01, 2004 at 13:41 UTC ( [id://325696]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub solve{
        my( $a, $b, $c, $d ) = @_;
    ...
        
        return( $x, $y );
    }
    
  2. or download this
    sub solve{
        my( $a, $b, $c, $d ) = @_;
    ...
        
        return( $x, $y );
    }
    
  3. or download this
    formula for line 1:   Y = (D - A) * X + A
    formula for line 2:   Y = (C - B) * X + B
    ...
    
    Y = (D - A) * (B - A) / (D - A - C + B) + A
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://325696]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-20 16:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found