Калькулятор для розрахунку параметрів антени
16 USDНа мові C# Розробити программу з наступним вікном вказаним нище, є лістинг программи яка колись працювала але зараз не можу підключити.
Лістинг:
private void button1_Click(object sender, EventArgs e)
{
try
{
label10.Parent = pictureBox1;
label10.BackColor = Color.Transparent;
double tau = Convert.ToDouble(textBox1.Text);
double E = Convert.ToDouble(textBox2.Text);
double Sig = Convert.ToDouble(textBox6.Text);
double LyamMAX = Convert.ToDouble(textBox8.Text);
double LyamMIN = Convert.ToDouble(textBox9.Text);
double L, Hmax, Hmin, N, Lsum;
double[] h = new double[20];
double[] d = new double[20];
L = (Sig * (1 - 0.76 * LyamMIN / LyamMAX) / (1 - tau)) * LyamMAX;
Hmax = 0.25 * LyamMAX / E;
Hmin = 0.19 * LyamMIN / E;
N = 1 + (Math.Log10(Hmax / Hmin)) / Math.Log10(1 / tau);
int n = Convert.ToInt16(Math.Round(N));
while (n != 0)
{
h[n] = (LyamMAX / (4 * E)) * Math.Pow(tau, (n - 1));
n--;
}
n = Convert.ToInt16(Math.Round(N)) - 1;
while (n != 0)
{
d[n] = (Sig * LyamMAX) * Math.Pow(tau, (n - 1));
n--;
}
Lsum = d.Sum();
label10.Text = "N = " + Convert.ToString(Math.Round(N)) + "\nL = " + Convert.ToString(Math.Round(L,3)) + "\nHmax = " + Convert.ToString(Math.Round(Hmax,3)) + "\nHmin = " + Convert.ToString(Math.Round(Hmin,3)) + "\n";
n = 1;
while (n <= N + 1)
{
label10.Text += "\nh" + "[" + n + "] = " + Math.Round(h[n],3);
n++;
}
label10.Text += "\n";
n = 1;
while (n < N)
{
label10.Text += "\nd" + "[" + n + "] = " + Math.Round(d[n],3);
n++;
}
label10.Text += "\n\nLsum = " + Convert.ToString(Math.Round(Lsum,3));
}
catch {
MessageBox.Show("Введіть всі необхідні дані!");
}
}
private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar != 8 && (e.KeyChar < 48 || e.KeyChar > 57) && e.KeyChar != ',')
e.Handled = true;
}
private void textBox8_KeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar != 8 && (e.KeyChar < 48 || e.KeyChar > 57) && e.KeyChar != ',')
e.Handled = true;
}
Client's review of cooperation with Roman Smolyakov
Калькулятор для розрахунку параметрів антениEverything is very, very positive, we completed the program in JUST ONE hour, I highly recommend contacting this specialist.
Freelancer's review of cooperation with Daniil Prudius
Калькулятор для розрахунку параметрів антениWorking with Daniil Prudius (fokus10) left an extremely positive impression. The client provided a clear and structured technical assignment from the very beginning, which greatly simplified the development process. All requirements for the functionality were justified, logical, and technically feasible.
Communication was easy and effective — Daniil was always available, responded promptly to questions, provided feedback, and showed genuine interest in the result. It is important to note that payment was made on time and in full accordance with the previous agreements.
Overall, the project was completed quickly, without unnecessary delays, and with complete mutual trust. Such a level of professionalism from the client is a true rarity.
-
2937 73 4 2 Good day! Contact us, to do fashion quickly, and most importantly - qualitatively!!!!!!
-
762 12 0 Good day. May 2 years of experience in C# programming. Ready to help
Write in private messages to clarify details.
-
1885 29 1 1 Hello! Ready to help with your project. I have extensive experience in development and can implement all necessary components according to your documentation. I guarantee quality work within the agreed deadlines.
-
deleted by moderator
-
Current freelance projects in the category C#
Refinement of 1C UT 11 for Zebra TSD (RDP): different sound signals when scanning
22 USD
Configuration: 1C UT 11 Address warehouse Zebra TC26 TSD Work via RDP Product scanning is performed in receiving, placement, picking documents, and other warehouse operations. Current problem: Warehouse workers operate through the Zebra TSD. When scanning, they do not always… C#, Databases & SQL ∙ 6 days 7 hours back ∙ 6 proposals |