Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Scripting/Math Challenge (https://forums.graalonline.com/forums/showthread.php?t=36863)

prozac424242 08-29-2002 07:29 AM

Scripting/Math Challenge
 
A contest:

See who can be the first to use the
math on this web page

http://www.egwald.com/geometry/hyperbolicfunc.php


and simulate the graph

sinh
csch


or any of them actually.

and to show that i am not doing this just to get
someone to write npcs for me,

post a SCReENSHOT of the working npc.
i dont care to see a bit of code.

(thinks lighting effects could be cool heh)

The challenge is on!

Python523 08-29-2002 07:56 AM

hyperbolic cosine: cosh(u) = .5 * (eu + e-u)
hyperbolic sine: sinh(u) = .5 * (eu - e-u)
hyperbolic tangent: tanh(u) = sinh(u) / cosh(u)
hyperbolic cotangent: coth(u) = cosh(u) / sinh(u)
hyperbolic secant: sech(u) = 1 / cosh(u)

ive never even heard of sinh, tanh, and coth
i've heard of cosh, i saw it when my class went to the Arch (Saint louis?) and it showed the formula they used to make it

Python523 08-29-2002 08:18 AM

oh, i see what ya mean, i probably wont get that far in math until like my junior year (Im only in algebra 1 ;.; im a freshman)
by any chance would those things be related to this
Math was made by giltwist, i just edited it a little
NPC Code:

disabledefmovement;
playerx=x;
playery=y;
for(a = 0;a<40;a++){
showimg a,hook_1.png,playerx-this.x-1,playery+this.y-1;
this.x+=.5*(25/20);
this.y=(.05)*(25/25)*this.x^2-this.x;
sleep .05;
}


emortylone 08-29-2002 08:30 AM

LOL, that is one of the major reasons that Kai is so good @ scripting: he knows VERY high math. You can't comprehend how SOME things in math relate to scripting until you understand that section of math, he he. I'm in algebra 3-4 this year.
---Shifter

Falcor 08-29-2002 08:39 AM

Isn't the definition of the literary term Hyperbole: An over exageration? I've never seen hyperbolic funtions or whatnot before but why would they name them "Exagerated"? lol

emortylone 08-29-2002 08:48 AM

I don't want to think, the word has TOO many: letters, syllables, confusing ideas :P
---Shifter

HoudiniMan 08-29-2002 10:00 AM

I'm going into math analysis this year as a junior in high school... I think that's my school's name for it... The book is titled PreCalculus but I'm told there's Trig in it too... ack!

Jinx 08-29-2002 10:28 AM

I'm going into the highest possible math class at my school this year.

Then again... I'm only in 8th grade, so it's really not much to brag about.

-Jinx

Python523 08-29-2002 10:39 AM

Quote:

Originally posted by Jinx
I'm going into the highest possible math class at my school this year.

Then again... I'm only in 8th grade, so it's really not much to brag about.

-Jinx

what is it? algebra 1?
the highest thing for freshman in my highschool is geometry/trigonometry, thats 2 years ahead of me :(

Falcor 08-29-2002 10:50 AM

Trig and geometry are very easy. Prepare for your introduction to proofs, the most annoying busywork I ever had to do.

Python523 08-29-2002 10:59 AM

I personally think i'll do better in trig on geometry (when I get there) than in algebra, I just don't have the patience in algebra that my teacher requires me to do (show ALL work), I HATED my 8th grade pe-algebra teacher, she was always like 'BOX IN YOUR WORK OR IT GETS MARKED WRONG', I hope that high school isnt the same way :(

nyghtGT 08-29-2002 11:18 AM

I just saw sinh, and the though of imaginary numbers from algebra popped in my head, and i've got a migrane right now.

Anyway, most people don't learn that level of Math unless they are going into architecture and such. Or if your Kaimetsu, a John Nash follower;)

Falcor 08-29-2002 11:34 AM

Quote:

Originally posted by Python523
I personally think i'll do better in trig on geometry (when I get there) than in algebra, I just don't have the patience in algebra that my teacher requires me to do (show ALL work), I HATED my 8th grade pe-algebra teacher, she was always like 'BOX IN YOUR WORK OR IT GETS MARKED WRONG', I hope that high school isnt the same way :(
You will hate proofs. and you will want to kill your teacher for making her teach you them.. but in the end, you better understand the formulai, Postulates (My pet name for them is prostitutes, I got a few kicks out of it while I attended my Geometry class, childish yes, but its fun to laugh at the stupid things in life.), Theorms, Axioms, whatever you're dealing with.

Falcor 08-29-2002 11:53 AM

Quote:

Originally posted by Kaimetsu
I like proofs, personally.
We all have our preferences... I just didn't like proving anything that has already been proven before. It does enhance understanding SOMETIMES, but I hate busywork =\, and for the most part, the proofs I did were busywork.


All times are GMT +2. The time now is 03:33 AM.

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