Recent content by darwinharianto
-
D
Solving a Matrix with Elimination: Inputting the Right Number of Values
yeah i am new to C just a project for my test- darwinharianto
- Post #15
- Forum: Engineering and Comp Sci Homework Help
-
D
Solving a Matrix with Elimination: Inputting the Right Number of Values
ahh, yes thank you so much- darwinharianto
- Post #13
- Forum: Engineering and Comp Sci Homework Help
-
D
Solving a Matrix with Elimination: Inputting the Right Number of Values
maybe you get me wrong, i mean i want to display X1 X2, ... Xn not the full matrix so the results will be like X1 = ... X2 = ... X3 = ... X4 = ... for 4x4 matrix- darwinharianto
- Post #11
- Forum: Engineering and Comp Sci Homework Help
-
D
Solving a Matrix with Elimination: Inputting the Right Number of Values
okay i have done it all, but i can't display them at the end of the code i use this for(i=0; i<n+1; i++) printf("\n X[i] = %f",x[i]); how can i make it display x1, x2 ... xn ?- darwinharianto
- Post #9
- Forum: Engineering and Comp Sci Homework Help
-
D
Solving a Matrix with Elimination: Inputting the Right Number of Values
yes sorry about that i forgot it go n-1 thanks- darwinharianto
- Post #8
- Forum: Engineering and Comp Sci Homework Help
-
D
Solving a Matrix with Elimination: Inputting the Right Number of Values
so it is better if i scanf the "n" and put it into a loop if so my loop will be like this? for (i=0; i<=n; i++) for (j=0; j<=n; j++) scanf("%f";&A[j][I]); for my input?- darwinharianto
- Post #6
- Forum: Engineering and Comp Sci Homework Help
-
D
Solving a Matrix with Elimination: Inputting the Right Number of Values
yes i need the scanf because i have to input numbers on the matrix thank you when i removed the "/n" it does solve the problem- darwinharianto
- Post #4
- Forum: Engineering and Comp Sci Homework Help
-
D
Solving a Matrix with Elimination: Inputting the Right Number of Values
Homework Statement #include <stdio.h> #include <stdlib.h> #include <math.h> int main() { int i,j,k,n; float A[3][4]; float x[3],c,sum=0; n=2; printf("first row\n"); scanf("%f",&A[0][0]); scanf("%f",&A[0][1]); scanf("%f\n",&A[0][2]); printf("second row\n")...- darwinharianto
- Thread
- Elimination Matrix
- Replies: 14
- Forum: Engineering and Comp Sci Homework Help
-
D
Why are there only 3-phase and 1-phase systems in electricity?
okay now i understand about the frequencies thank you- darwinharianto
- Post #7
- Forum: Engineering and Comp Sci Homework Help
-
D
Why are there only 3-phase and 1-phase systems in electricity?
thanks psparky now I understand why they are using 3 phase but for the frequency i still get confused. So I can conclude that by history people were using low frequencies, but then they changed the frequency to 50 Hz or 60 Hz then all the equipment were adjusted to be used at 50 or 60 Hz, but is...- darwinharianto
- Post #4
- Forum: Engineering and Comp Sci Homework Help
-
D
Why are there only 3-phase and 1-phase systems in electricity?
Homework Statement why are there only 3 phase systems and 1 phase system, not other systems like 4 phase or more? why do electricity only use 50/60 Hz? Homework EquationsThe Attempt at a Solution for number 1 i assume if there are more phase, the price will be higher so it won't be used. But i...- darwinharianto
- Thread
- Electricity
- Replies: 6
- Forum: Engineering and Comp Sci Homework Help
-
D
Simple RL question with laplace
ooh, so the equation go like this? I(s)=250/s(s+50) I(s)=5/s - 5/(s+50) I(t)=5 - 5 e^ -50 t then because t=0 then I(0) = 5-5 = 0 so because it haven't been started so the current would be 0 okay, thanks- darwinharianto
- Post #3
- Forum: Engineering and Comp Sci Homework Help
-
D
Simple RL question with laplace
Homework Statement I have a circuit with resistor and inductor (RL) that is placed serial and a power supply. the voltage is constant 50 V at t=0 , R=10 ohm, and L=0.2 H. Find the I using laplace transformation Homework Equations - The Attempt at a Solution my attempt is transform everything...- darwinharianto
- Thread
- Laplace
- Replies: 2
- Forum: Engineering and Comp Sci Homework Help
-
D
Can Anyone Help with Simple C Programming in Ax=B Homework?
oh now i understand at top i wrote x1[0] so i can't make x1[0][1] thanks i wrote another one and made a wrong deduction thanks- darwinharianto
- Post #5
- Forum: Engineering and Comp Sci Homework Help
-
D
Can Anyone Help with Simple C Programming in Ax=B Homework?
what is second index? i tried to display d and i got the same result i think the problem comes from the forward substitution to find d is there anything wrong in the debugging to find d? thank you for the reply- darwinharianto
- Post #3
- Forum: Engineering and Comp Sci Homework Help