hiii
please can you help me in this question !!
Write a program that will display the graph for the sin(x) function where 0 <= X<= 180 degrees. use primitive drawing using "*".
this application solve in console application
Printable View
hiii
please can you help me in this question !!
Write a program that will display the graph for the sin(x) function where 0 <= X<= 180 degrees. use primitive drawing using "*".
this application solve in console application
hellooooooooooooooooooo
please help me !!
Have you any previous experience in vb.net?
Have you attempted to write any code to produce the graph yet? (if so post it)
This sounds a lot like a school based question, as a rule of thumb posters won't just give you the answer. You don't learn anything that way, instead pointing you in the right direction is preferred.
Also, make use of the search feature and google.
Creating graphs within vb.net will return thousands of examples I'm sure.
no ... this is a university question but this is in course introduction to vb.net
i don't have any graph to this curve
please can you give me any simple code to draw this curve
just i have a hint to write this code !
or a simple code !!
please help me !!!!
First of all, please stop with the Bold / Sizes / Colors in your posts. they're very distracting.
Lets go over your requirements:
- Make a Graph
- Display Sin(x)
- where X<=180 and X>=0... (0<=X<=180)
- ...
- Use Primitive drawing using "*"
I'm not completely clear, but I'm assuming you need a console application that outputs the graph using ASCII style drawing using * as the line?Quote:
Originally Posted by ahm.i
What I would do is find some code on how to graph on a normal graphic. Create a simple bitmap the resolution of your console window (by that I mean the number of ascii characters height and width, not the number of pixels) Generate the graph in black / white on that bitmap. then convert the bitmap to ascii by ceating a two dimentional array to hold characters, put your "*" on whichever color the line was (guessing white), then leave the rest as spaces / blank. then all you need to do is display the array, and boom you have a graph drawn in ascii.
there's probably a simpler way, but heck, that's the first thing that popped into my head.
If you can at least find some code simmilar to what you're looking for and make a half decent attempt at fitting it to your situation I know I'll help you more. But just asking for something without providing any input yourself and you're risking being ignored.
Hope this helps you in your search.
removed