[Release] How to add functions and stuff

Results 1 to 14 of 14
  1. #1
    Account Upgraded | Title Enabled! OreansSucks is offline
    MemberRank
    Mar 2009 Join Date
    276Posts

    [Release] How to add functions and stuff

    Yeah, sactualize is me.

    PHP Code:
    /**
     * MADE BY SACTUALIZE OF SACTUALIZEPROMS
     */
    var status 0;

    function 
    start() {
        
    cm.sendYesNo("Do you want to learn how to add stuff and functions?");
    }

    function 
    action(modetypeselection) {
        if (
    mode 1) {
            
    cm.sendOk("I guess you already know how.")
            
    cm.dispose();
        } else {
            
    status++;
            if (
    status == 1)
                
    cm.sendYesNo("Step #1: Adding stuff.\r\n You add numbers like this: 1+2=3. This is true because the 2nd number after 1 is 3. You may prove this using the Peano Postualates if you wish.\r\n\
    Example 2:\r\n 10+10=20. You add the one's place and then the ten's place and so on.\r\n\
    Example 3:\r\n 15+6=21 If the sum of the one's place is greater than 10, then you have to 'carry'. You leave the one's place of the new number and add the ten's place of that number to the sum of the ten's place. Repeat while you have digits to add.\r\n\
    Do you want to learn how to add functions?"
    );
            else if (
    status == 2) {
                
    cm.sendYesNo("Step #2: Adding functions.\r\n Adding functions is very useful in algebra. \r\n\
    Example 1: x+2x=3x. If they have like-terms, you may add them. You may not add 1x+1y and make it 2xy.\r\n\
    Exmaple 2: x+x^2+2x=3x+x^2. You cannot also add numbers of different powers together.\r\n Are you ready for adding multiple functions?"
    );
            } else if (
    status == 3)
                
    cm.sendYesNo("Step #3: Adding f(x) and g(x). \r\n\
    Try them as if they were like Step #2. Let f(x) = 2x and let g(x) = x. The sum wouldbe 3x. Remember you cannot combine terms if they aren't like terms.\r\n\n\
    Do you want to learn how to integrate functions?"
    );
            else if (
    status==4)
                
    cm.sendOk("Step #4: Integration \r\n\n\
    Integrating functions may be difficult. It is the opposite of differentiation. In other words you go backwards. There are many techniques you may use to integrate 1-variable functions. They also carry on to multiple variable functions too.\r\n\n\
    Because this is a crash course, we will only integrate polynomials.\r\n\
    You can add the functions after integrating them seperately. Integral of x^2 is: x^3/3. A general formula for polynomials in the form of ax^b for integration would be a/b * x^(b+1)"
    );
        }



  2. #2
    Enthusiast Lektion is offline
    MemberRank
    Jul 2008 Join Date
    30Posts

    Re: [Release] How to add functions and stuff

    fuck you

    this is what i'm gonna to tell you.

    =/

  3. #3
    Account Upgraded | Title Enabled! rogue1234567 is offline
    MemberRank
    Apr 2008 Join Date
    437Posts

    Re: [Release] How to add functions and stuff

    Quote Originally Posted by Lektion View Post
    fuck you

    this is what i'm gonna to tell you.

    =/
    STFU.
    Not bad.

  4. #4
    Account Upgraded | Title Enabled! jayypee is offline
    MemberRank
    Mar 2009 Join Date
    AustraliaLocation
    225Posts

    Re: [Release] How to add functions and stuff

    Pretty good npc styless

  5. #5
    Xephizion Development Ehab is offline
    MemberRank
    Apr 2008 Join Date
    Somewhere I BelLocation
    1,935Posts

    Re: [Release] How to add functions and stuff

    is that supposed to be a maplestory NPC or a school NPC?

  6. #6
    Account Upgraded | Title Enabled! OreansSucks is offline
    MemberRank
    Mar 2009 Join Date
    276Posts

    Re: [Release] How to add functions and stuff

    Quote Originally Posted by Lektion View Post
    fuck you

    this is what i'm gonna to tell you.

    =/
    You don't understand this stuff? What?

  7. #7
    Alpha Member MSDartz is offline
    MemberRank
    May 2008 Join Date
    PwnVilleLocation
    2,171Posts

    Re: [Release] How to add functions and stuff

    Quote Originally Posted by Ehab View Post
    is that supposed to be a maplestory NPC or a school NPC?
    Is that supposed to be funny, or stupid?

  8. #8
    Account Upgraded | Title Enabled! OreansSucks is offline
    MemberRank
    Mar 2009 Join Date
    276Posts

    Re: [Release] How to add functions and stuff

    Yeah there's NPCs in real life, so there's school NPCs yeah /sarcasm

  9. #9
    Account Upgraded | Title Enabled! Signalize is offline
    MemberRank
    Nov 2008 Join Date
    USALocation
    363Posts

    Re: [Release] How to add functions and stuff

    Good job on this release. You go a bit fast in the math

  10. #10
    Alpha Member MSDartz is offline
    MemberRank
    May 2008 Join Date
    PwnVilleLocation
    2,171Posts

    Re: [Release] How to add functions and stuff

    Way to make this better:

    After going through the tutorial, make a few problems to go through.

  11. #11
    Account Upgraded | Title Enabled! Signalize is offline
    MemberRank
    Nov 2008 Join Date
    USALocation
    363Posts

    Re: [Release] How to add functions and stuff

    This should be how to integrate and add functions and stuff
    Epic thread
    http://forum.ragezone.com/f425/just-...server-559032/

  12. #12
    Account Upgraded | Title Enabled! CharlieBoy is offline
    MemberRank
    Mar 2009 Join Date
    SwedenLocation
    471Posts

    Re: [Release] How to add functions and stuff

    Lol, the npc is kinda funny... but i doubt anyone will use it.
    but...grats2realese

  13. #13
    Account Upgraded | Title Enabled! X-Tasis is offline
    MemberRank
    Feb 2009 Join Date
    1,192Posts

    Re: [Release] How to add functions and stuff

    My kids will learn from this.

  14. #14
    Account Upgraded | Title Enabled! Popozow1012 is offline
    MemberRank
    Jul 2008 Join Date
    Where it's nine in the afternoonLocation
    549Posts

    Re: [Release] How to add functions and stuff

    Quote Originally Posted by X-Tasis View Post
    My kids will learn from this.
    lol'd :D
    /short



Advertisement