Recent content by SolarMidnite
-
S
Java Java Applet Issues: Solve NoSuchMethodError
Thank you so much, chiro! Removing the quotes from "Triangle.class" solved the problem. I really appreciate everyone who helped me through the problem.- SolarMidnite
- Post #13
- Forum: Programming and Computer Science
-
S
Java Java Applet Issues: Solve NoSuchMethodError
I have tried running the appletviewer on my html file, but I still get a message that the class was not found, even though Triangle.java, Triangle.class and Triangle.htm are all in the same directory. Here is my code for Triangle.htm: <HTML> <HEAD> <TITLE> Project Three: HTML and...- SolarMidnite
- Post #11
- Forum: Programming and Computer Science
-
S
Java Java Applet Issues: Solve NoSuchMethodError
Yes, the triangle.java, triangle.class and triangle.htm are all in the same directory. It won't show up through the appletviewer or when I try to click through on an html page. The main error appears and the class is not found as well.- SolarMidnite
- Post #7
- Forum: Programming and Computer Science
-
S
Java Java Applet Issues: Solve NoSuchMethodError
When the applet is run successfully, it should appear as such shown in the link below: http://ccis.athabascau.ca/html/courses/comp200n/tmesv2/project/triangle.htm I have Triangle.class after compiling Triangle.java, but for some reason the class cannot be found and I get the main error.- SolarMidnite
- Post #5
- Forum: Programming and Computer Science
-
S
Java Java Applet Issues: Solve NoSuchMethodError
Thanks for your reply! I will remember to put the code around tags the next time. I read about having to insert a main method. However, the following website: http://www.roseindia.net/java/example/java/applet/applet-versus-application.shtml and others have stated that applets don't have...- SolarMidnite
- Post #3
- Forum: Programming and Computer Science
-
S
Java Java Applet Issues: Solve NoSuchMethodError
Hello, I am currently enrolled in an introductory Computer Science course, and I've been having trouble with a Java/HTML project. I have been given the following code for a triangle applet to be linked in an HTML page I have to make: import java.awt.*; import java.applet.Applet; public...- SolarMidnite
- Thread
- Issues Java
- Replies: 12
- Forum: Programming and Computer Science
-
S
Discrete Math: Self-referential formula
Homework Statement Figure out a self-referential formula for the number of handshakes required for a group of n aliens to introduce themselves by hand-calculating a few small values and coming up with a solution. Homework Equations We are given: Let H(n) be the number of handshakes...- SolarMidnite
- Thread
- Discrete Discrete math Formula
- Replies: 2
- Forum: Precalculus Mathematics Homework Help
-
S
Discrete Math: Proof by contradiction
Okay I'm going to keep thinking it through, thank you very much for your help!- SolarMidnite
- Post #12
- Forum: Precalculus Mathematics Homework Help
-
S
Discrete Math: Proof by contradiction
How is the definition of average violated? By plugging in numbers for c, d, e and f, I can understand why c < A, d < A, e < A, f < A would not work because suppose c=1, d=2, e=3, f=4. If we took the average of these numbers, we get A = 2.5. So, c=1 is less than A=2.5, and d=2 is less than A =...- SolarMidnite
- Post #10
- Forum: Precalculus Mathematics Homework Help
-
S
Discrete Math: Proof by contradiction
Okay, I won't fuss about the notation! I just thought it might be interpreted a different way depending on the commas. Ohh, I see. So in that case, do I have to demonstrate that none of them are greater than or equal to the average? (In other words, show that all of them will be less than the...- SolarMidnite
- Post #8
- Forum: Precalculus Mathematics Homework Help
-
S
Discrete Math: Proof by contradiction
It definitely helped to read the statement more clearly by getting the average of c,d,e,f out of the way and letting A represent it. I know that with contradiction statements we would have to sat that c,d,e,f (all four) cannot be both greater or equal to their average and less than their average...- SolarMidnite
- Post #6
- Forum: Precalculus Mathematics Homework Help
-
S
Discrete Math: Proof by contradiction
So, would it be acceptable to write \forall(c and d and e and f) then? Or is it \forallc,d,e,f as in Coto's post above?- SolarMidnite
- Post #5
- Forum: Precalculus Mathematics Homework Help
-
S
Discrete Math: Proof by contradiction
Homework Statement Using contradiction, prove that for every four positive real numbers c, d, e and f, at least one of c, d, e, f is greater than or equal to the average of c, d, e, f. Homework Equations I don't believe that there are any relevant equations for this problem. I do know that...- SolarMidnite
- Thread
- Contradiction Discrete Discrete math Proof Proof by contradiction
- Replies: 11
- Forum: Precalculus Mathematics Homework Help
-
S
How to Translate and Prove a Complex Predicate Logic Statement?
Homework Statement No matter what positive real number x we choose, there exists some positive real number y such that yz2 > xz + 10 for every positive integer z. Translate the above statement to predicate logic and prove it using a direct approach. Homework Equations I don't...- SolarMidnite
- Thread
- Logic Predicate logic Proofs
- Replies: 1
- Forum: Precalculus Mathematics Homework Help
-
S
Discrete Mathematics: Proof problem for even integer
Ohh, I understand it now. I didn't see the connection with -4 + 1 and -3 before. As a distance education student, I really appreciate the help!- SolarMidnite
- Post #15
- Forum: Precalculus Mathematics Homework Help