Visual Basic - andragradsgraf?!|Programmering / Grafisk formgivning|Forum|Nordichardware

Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
The forums are currently locked and only available for read only access
sp_Feed sp_TopicIcon
Visual Basic - andragradsgraf?!
Marron
Member
Medlem
Forum Posts: 3611
Member Since:
May 1, 2003
sp_UserOfflineSmall Offline
1
May 22, 2005 - 2:09 pm
sp_Permalink sp_Print

Ska göra en andragradsgraf i VB. Har kommit så här "långt":

Private Sub Form_Click()

For x = 0 To 10
y = x ^ 2
xx = x + 1
yy = xx ^ 2
Me.Line (x, y)-(xx, yy), vbGreen
Next

End Sub

Grafen ska gå genom mitten i et kordinatsystem.. altå mini eller maxpunkt ska vara (0,0).. ungefär iaf.

Någon som är bra på detta?

Marron
Member
Medlem
Forum Posts: 3611
Member Since:
May 1, 2003
sp_UserOfflineSmall Offline
895400
May 22, 2005 - 3:59 pm
sp_Permalink sp_Print

Fixade det själv 🙂

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1030
Currently Online:
Guest(s) 352
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Andreas Galistel: 16287
Jonas Klar: 15897
ilg@dd: 10810
Nyhet: 10607
Mind: 10550
Ctrl: 10355
Gueno: 9881
Guest: 9344
Snorch: 8881
Callister: 8468
Newest Members:
PetrbonFU PetrbonFU
Karine Bembry
Dolores Mcdaniels
Anibal McLeish
Francisca Alt
Alfie Everhart
Lester Huitt
Orlando Jorgensen
Mikki Lundgren
Dakota Kozlowski
Forum Stats:
Groups: 11
Forums: 59
Topics: 146630
Posts: 1300967

 

Member Stats:
Guest Posters: 2
Members: 79425
Moderators: 0
Admins: 11
Administrators: nordicadmin, Henrik Berntsson, Anton Karmehed, Carl Holmberg, Joel Oscarsson, Mikael Linnér, Mikael Schwartz, Andreas Paulsson, Nickebjrk, Mattias Pettersson, EmxL