Plot z= sin(x+y) in C#
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Jignesh TrivediRank #16 · 50.3K reputationPosted Dec 23, 2013, 1:12 AM EST
hi,
To plot your equation you must sample values of x and y...
find out the value of z from x and y and create the collection of two z, sin(x+y)
using Math.Sin method you can get value of sin...
for example
double x, y, z;
x = 30;
y = 30;
z = System.Math.Sin(x + y);
are you use any control to plot this equation ?
Abhishek JaiswalRank #126 · 17.5K reputationPosted Dec 23, 2013, 7:40 AM EST