Recent content by Franco

  1. F

    Java How can I create a MySQL table with specific column names and types using Java?

    so far i got something like... import java.awt.*; import javax.swing.*; public class MainGUI extends JFrame { JDialog welcome Window; public MainGUI() { super(); // unnecessary codes, no problem here } public void initComponents() { this.welcomeWindow = new JDialog()...
  2. F

    Java How can I create a MySQL table with specific column names and types using Java?

    thx wave ^_^ and can someone actually teach me.. how to retrieve a string data from MySQL database, and display it in a swing GUI JDialog?? pop-up and a swing GUI that displays some particular information from MySQL database (in table)
  3. F

    Java How can I create a MySQL table with specific column names and types using Java?

    so far.. i got String sql = "CREATE TABLE " + tableName + "(" + columnNames + " VARCHAR(32))"; i know it's wrong , but then not sure how i should write it... another word... stucked :)
  4. F

    Java How can I create a MySQL table with specific column names and types using Java?

    need help with some coding public void createTable(String tableName, String[] columnNames, String[] columnType, String[] Keys) throws SQLException { try { stmt = conn.createStatement(); String sql = <need help here> stmt.executeUpdate(sql); }...
  5. F

    What is the corresponding UCS2 code?

    i was preparing for my compsci exam doing past papers and encountered a few questions i don't get can someone help me please? The following bytes are encountered in a UTF8 stream. What is the corresponding UCS2 code? (Express your answer in hexadecimal) 23 E8 96 BC C2 8B i don't know...
  6. F

    Java Java Text Analysis Script: Count Word Frequency & Sentences | Get Help Now"

    hello everyone, thanks for taking ur time reading this po i need help with something to do with java, designing an application to read sentences & words from a txt file, and create a new txt file, with all the words (in single) from the original txt file, next to each word, containing the...
  7. F

    Young's modulus of the material

    i've derived the other formulae but I'm still stuck on this one, Koenig's Aparatus formula here's a picture of it with the formula need to derive into theta = h / [2(d+2D)]
  8. F

    Young's modulus of the material

    for arranging the order for three beams for Round beam, i have I = A^2 / 12 Square beam, i have I = A^2 / 12 with equation C = YI / r Round beam will have r = YI / C = [Y*(A^2 / 12)] / C Square beam will have r = YI / C = [Y*(A^2 / 12)] / C but i don't know how to convert the...
  9. F

    Young's modulus of the material

    Hello again, I don't understand how to derive equations. #1 C = YI / r Y = Young's modulus of the material r = radius of curvature of the neutral surface I = geometrical moment of inertia of the cross section of the beam C = bending moment #2 I = wt^3 / 12 I = moment of inertia...
  10. F

    Calculating Energy Eigenvalues & Eigenfunctions for a 2D Particle

    can someone help me see if these look right? π = pi 0 < x < 3L ; 0 < y < 2L E1 + E2 = E Eigenvalue : ψ(x,y) = A sin [(n1 π x) / (3 L)] sin [(n2 π y) / (2 L)] Eigenfunction : E = E1 + E2 = [(n1^2 π^2 ħ^2) / (6 m L^2)] + [(n2^2 π^2 ħ^2) / (4 m L^2)] E = [(π^2 ħ^2) / (2 m L^2)] *...
  11. F

    Calculating Energy Eigenvalues & Eigenfunctions for a 2D Particle

    i don't understand when it comes into 2 dimension :(
  12. F

    Calculating Energy Eigenvalues & Eigenfunctions for a 2D Particle

    let's say.. there is a particle, with mass m, in a 2-dimensions x-y plane. in a region 0 < x < 3L ; 0 < y < 2L how to calculate the energy eigenvalues and eigenfunctions of the particle? thx :smile: and.. 2nd question.. there is a particle of kinetic energy E is incident from...
Back
Top