Recent content by SolarMidnite

  1. 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.
  2. 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...
  3. 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.
  4. 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.
  5. 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...
  6. 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...
  7. 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...
  8. S

    Discrete Math: Proof by contradiction

    Okay I'm going to keep thinking it through, thank you very much for your help!
  9. 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 =...
  10. 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...
  11. 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...
  12. 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?
  13. 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...
  14. 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...
  15. 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!
Back
Top