MattK
MattK
CC#
Created by MattK on 3/5/2023 in #help
❔ Using a loop I need to increment voltage by 0.1.
haha
25 replies
CC#
Created by MattK on 3/5/2023 in #help
❔ Using a loop I need to increment voltage by 0.1.
the loop itself should terminate after it reaches that point
25 replies
CC#
Created by MattK on 3/5/2023 in #help
❔ Using a loop I need to increment voltage by 0.1.
essentially I'm trying to calculate what source voltage for V1 would deliver 1.5 watts to R2
25 replies
CC#
Created by MattK on 3/5/2023 in #help
❔ Using a loop I need to increment voltage by 0.1.
25 replies
CC#
Created by MattK on 3/5/2023 in #help
❔ Using a loop I need to increment voltage by 0.1.
Let me grab a photo of the circuit for clarification
25 replies
CC#
Created by MattK on 3/5/2023 in #help
❔ Using a loop I need to increment voltage by 0.1.
Trying to calculate power( P = VI ).
25 replies
CC#
Created by MattK on 3/5/2023 in #help
❔ Using a loop I need to increment voltage by 0.1.
25 replies
CC#
Created by MattK on 3/5/2023 in #help
❔ Using a loop I need to increment voltage by 0.1.
90% sure that code is rubbish
25 replies
CC#
Created by MattK on 2/20/2023 in #help
Coding a game of Craps
If anyone's willing to help just reply below!
5 replies
CC#
Created by MattK on 2/12/2023 in #help
✅ C# Trying to track button clicks.
.netframework
9 replies
CC#
Created by MattK on 2/5/2023 in #help
Standard deviation calculation code not working as intended
I will close the post shortly
15 replies
CC#
Created by MattK on 2/5/2023 in #help
Standard deviation calculation code not working as intended
it seems to be working now, I appreciate the assistance!
15 replies
CC#
Created by MattK on 2/5/2023 in #help
Standard deviation calculation code not working as intended
Does the calculation for the standard deviation look correct?
15 replies
CC#
Created by MattK on 2/5/2023 in #help
Standard deviation calculation code not working as intended
I
15 replies
CC#
Created by MattK on 2/5/2023 in #help
Standard deviation calculation code not working as intended
oh I see thank you!
15 replies
CC#
Created by MattK on 2/5/2023 in #help
Standard deviation calculation code not working as intended
let me quickly fix that
15 replies
CC#
Created by MattK on 2/5/2023 in #help
Standard deviation calculation code not working as intended
oh haha
15 replies
CC#
Created by MattK on 2/5/2023 in #help
Standard deviation calculation code not working as intended
private void button1_Click(object sender, EventArgs e) { int y1; y1 = (x1 + x2 + x3 + x4 + x5 + x6 + x7 + x8 + x9 + x10) / 10; lblMeanText.Text = y1.ToString(); double sumsquared = Math.Pow(x1 - y1, 2) + Math.Pow(x2 - y1, 2) + Math.Pow(x3 - y1, 2) + Math.Pow(x4 - y1, 2) + Math.Pow(x5 - y1, 2) + Math.Pow(x6 - y1, 2) + Math.Pow(x7 - y1, 2) + Math.Pow(x8 - y1, 2) + Math.Pow(x9 - y1, 2) + Math.Pow(x10 - y1, 2); lblStdDeviation.Text = y1.ToString(); double standarddeviation = Math.Sqrt(sumsquared / 10); }
15 replies