Graal Forums  

Go Back   Graal Forums > PlayerWorlds > Bomy Island Main Forum
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #24  
Old 06-01-2001, 08:57 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally posted by kyle0654
NPC Code:

3y + 7x < 18 // start with this
3y < 18 - 7x // move x to other side by minusing
// 7x from each side
y < (18 - 7x)/3 // divide both sides by 3
y < -(7/3)x + 6 // simplify (I think you can do distributing,
// been a while since Algebra though


I assume you're solving for y

notice that it's very much like trying to get to y = mx + b. Just remember if you divide by a negative you need to flip the inequality (> or <) sign.

61900933 if you need more help
The only trouble is if you start dividing or multiplying because then... ack, I'll spare you all the pain. Just wait till you get to the heavy calculus...
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:47 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.