Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

Quadratic Graphs?

This is where you can discuss your homework, family, just about anything, make strange sounds and otherwise discuss things which are really not related to the Lancer-series. Yes that means you can discuss other games.

Aod

Post Tue Feb 10, 2004 10:20 am

Quadratic Graphs?

Alright you lot this is a test on your brains
if you can work out what kinda shape this
equation will form i will give you, er... something:
sin (6 cos r+50 ) <- 0.3
it really exists



Post Tue Feb 10, 2004 10:22 am

Not on a cartesian coordinate graph it doesn't. Where are your x and y... and what's that r doing in there?

Post Tue Feb 10, 2004 10:23 am

a variable of r?
Are you using polar co-ordinates or what? I'm not sure what you're trying to get at here, normally a graph is expressed in the format: y = f(x)

Edited by - Recusant on 2/10/2004 10:23:47 AM

Aod

Post Tue Feb 10, 2004 10:48 am

think

repetetive patterns

Post Tue Feb 10, 2004 10:57 am

well any sinusoidal graph will give you a repetitive pattern

Post Tue Feb 10, 2004 11:59 am

Well, sin of anything gives you a sin-wave, and it's only points less than -.03 so it's going to be somthing like ...uuuuuuuuuuuuuuu... regardless right? I just dont see A: How to graph it with no "X" unless you substitute R for X but I doubt that's your intent and consequently B: The significance of 6cos or +50r.

Post Tue Feb 10, 2004 1:07 pm

I'm only in Geometry but I know that you should use y=mx+b

"And at least once an episode, EH STEVE will stop by to deliver his classic line: 'EH STEVE!'" - Strong Bad Homesterrunner.com

Post Tue Feb 10, 2004 1:12 pm

your sin must be punished

Post Wed Feb 11, 2004 12:43 pm


y=mx+b
That's only for linear graphs, aka "straight lines". He's talking about a non-linear graph. As for the graph, assuming that R is X, then someone run this through QBasic:


Screen 12

For R = 0 to 640
Y = (Sin (6 * cos * r + 50 ) ) * 3 / 4
Pset (R, Y), 15
Next


I don't even know where <-0.3 fits in unless it's a typo.

Post Wed Feb 11, 2004 2:02 pm

I tried that but it comes out absolutely tiny, mate. I don't know anything about qBasic my bro uses it, I just plugged that in and got a bunch of dashes and 'u' shapes at the top of the screen, which I guess is meant to be a graph of the function for values below -3?
To be honest I don't think Aod knew exactly what he was talking about when he posted.

Post Thu Feb 12, 2004 12:38 pm

Might you be able to post a screenshot. My QBasic is temporarily "unavailable". If someone has it, can they send me QBasic v4.5 or whatever one makes executables outta the *.bas.

OT: BTW Recusant, congrats on your first full year @ TLR. I'm barely into my fourth month.

Edited by - [ZN-ShiftViper5 on 2/12/2004 12:44:15 PM

Return to Off Topic