Why is it not working?

So I went to get a app today, and I was told from someone that its better to do it when your phone is hooked up to your comp. So I did it through Itunes I click get app then agreed to Itunes on w.e there agreeing thing was saying I then went to sync my phone to get it and it said that this app was not installed on the iPhone "My name" cause you are not authorized for it on the computer. This is the computer I used to hook up this iphone (3g) and everything. Why isn't this working?

O.k, this is my GravField class, now the error occurs when i try to call this in my main metod class, which i put up previously. I always compile to make sure everything works and it does in the GravField class, however when i call the method in my main method thats where the above error occurs. (Thanks for taking the time, really appreciate it!)
public class GravField
  private final double M = 5.974E24;
  private final double R = 6380e3;
  private double Mass;
  private double Radius;
  public GravField()
    Mass = 1;
    Radius = 1;
    return;
  public GravField(double r, double m)
    Radius = r;
    Mass = m;
    return;
  public void setRadius(double r)
    Radius = r;
    return;
  public void setMass(double m)
    Mass = m;
    return;
  public double getMass()
    return Mass;
  public double getRadius()
    return Radius;
  public PhysicsVector Accel(PhysicsVector w) //w is position vector
     PhysicsVector g = new PhysicsVector();  // g = (0,0)     
     double G = 6.673E-11;
     double x = g.getX();
     double y = g.getY();
     double z = w.getX();
     double zz = w.getY();
     if(w.magnitude()>Radius*R) {
     x = (z*-G*M*Mass)/(w.magnitude()*R*Radius*R*Radius);
     y = (zz*-G*M*Mass)/(w.magnitude()*R*Radius*R*Radius); }
     else
     { x = (z*-G*M*Mass*Radius*R)/(w.magnitude()*R*Radius*R*Radius*R*Radius);
       y = (zz*-G*M*Mass*Radius*R)/(w.magnitude()*R*Radius*R*Radius*R*Radius);
     return g;
}

Similar Messages

  • Why does abode not work on my galaxy tab2

    Why does abode not work on my galaxy tab 2?

    The games dont load they just say I need to update to the latest version or say that it is not compaterble with it.

  • Why does sound not work on my Mac Air?

    Why does sound not work on my Mac Air --all setting seem okay. OSX 10.9.2 operating systyem.

    Open System Preferences > Sound > Output
    Make sure the coorect output devices is selected and the Mute button is not checked.

  • Why youtube dose not work on my macbook pro 10.6.6?

    why youtube dose not work on my macbook pro 10.6.6 ?

    Double check you have the latest version of Adobe Flash.

  • Not sure why Message is not working on my ipad.

    Not sure why message is not work on my iPad. It works find on my iPhone.

    http://support.apple.com/kb/TS2755

  • I have an older iMac 5,1 and the disc drive no longer works. I was hoping that I could the Apple USB super drive as a replacement, but the info on the super drive page says compatible with iMac 2012 or later. Does anyone know why it would not work for me?

    I have an older iMac 5,1 and the disc drive no longer works. I was hoping that I could the Apple USB super drive as a replacement, but the info on the super drive page says compatible with iMac 2012 or later. Does anyone know why it would not work for me?

    A reply to similar question (Q & As , in product page Apple Store) says:
    "...dissable the internal reader hardware from devices setup. Then plug the external usb superdrive and that's it."  Answered by Enrique T from Lima Oct  25 2013.
    If you can locate an external Apple USB 'Air" superdrive for earlier model MacBook Air, that should work. The newer one for the Air is the same as for iMac, now.
    You may be able to use other brands of external USB optical drive with your older intel-based iMac, as some of them function capably. A few should also be able to see system discs or other bootable utilities on DVD.
    Hopefully this helps.
    Good luck & happy computing!

  • Why it is not working?

    hai all,
    i am new to jsp. please help me with the necessary corrections of the code given below.
    <%@ page import="java.io.*, java.sql.*" %>
    <%
         ResultSet rs;
         Class.forName("oracle.jdbc.driver.OracleDriver()");
         Connection Con=DriverManager.getConnection("jdbc:oracle:thin:@192.168.x.xx:1521:new","old","new");     
         Statement st=Con.createStatement();
    %>
    why it is not working
    Thanks in advance.
    by
    ramki.

    I think you have to put the variables definition (rs, st, con...) in a specific place like this, i mark with (*) what i changed:
    <%! (*)
    ResultSet rs; (*)
    Connection Con; (*)
    Statement st; (*)
    %> (*)
    <% (*)
    Class.forName("oracle.jdbc.driver.OracleDriver()");
    Con=DriverManager.getConnection ("jdbc:oracle:thin:@192.168.x.xx:1521:new","old","new");
    st=Con.createStatement();
    %>
    good luck,
    javi

  • Why facetime does not working with any carrier in u.s expect att although the iphone is factory unlocked

    why facetime does not working with any carrier in u.s expect att although the iphone is factory unlocked

    Facetime only works via WiFi. Are you trying to set up Facetime with a T-Mobile account?

  • Why ps3 is not working well with airport

    why ps3 does not work well wth the airport?

    If you are referring to online gaming, then PS3 like all non-apple devices uses upnp to open ports.
    Apple uses NAT-PMP to open ports.. East and West.. never the twain shall meet.
    If it is internal wireless issues.. that is different.. airport should be just like any other wireless router.
    If you tell us the issue we have more hope to help.

  • HT202853 I have many project made in move HD that are not updating to the new iMovie 10 on my new iMac.  Why is this not working as stated?  How do I get my projects back from backup after old iMac crashed?

    I have many projects made in imovie HD that are not updating to iMovie 10 on my new iMac.  Why is this not working as stated on the article HT202853?  How do I get my projects back from backup after old iMac crashed?

    According to:
    Update projects and events from previous versions of iMovie in iMovie (2014) - Apple Support
    you can update from iMovie versions 7, 8 and 9, but iMovie HD is iMovie 6.
    Maybe you can update in two steps, first from iMovie 6 to iMovie 7, 8 or 9 then to iMovie 10. 
    Geoff.

  • I re- start my ipad2 into a new one,to update into i0s7, why it is not working of loading?

    I re- start my ipad2 into a new one,to update into i0s7, why it is not working of loading? please help!!!

    The [c:set|http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/index.html] tag is used to set a scoped attribute not request parameter. So when you write
    <sql:param value="${param.userid}" />You get null as there is no parameter named userid in the request. Try this
    <sql:param value="${userid}" />I would recommend you not to do database connectivity stuff in JSP, JSPs are the view layer of an application and they aren't supposed to be for doing business logic. Also since you are using a random userid, you might end up with multiple users with the same ID and IDs are generally supposed to be unique...

  • TS3297 I want to buy the double coins from the game subway surfers! But they told me to contact the itunes support! I don't know why it's not working.. Please help! iPhone 4ss

    I want to buy the double coins from the game subway surfers! But they told me to contact the itunes support! I don't know why it's not working.. Please help! iPhone 4ss

    These are user-to-user forums, you are not talking to Apple here. You can contact iTunes support via this page and ask them why the message is appearing : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then probably Purchases, Billing & Redemption

  • Cant restore iphone 3g 4.2.1 it would load half way threw then say unknown error why it is not working?

    cant restore iphone it would loa half way threw then say unknown error why is it not working and its a iphone 3g 4.2.1

    What is the exact error message you're getting?

  • No earbuds work for the left side...why dis it not working?

    My sons and husbands iphones work just fine with earbuds that dont work on mine. Why is mine not working? Earbuds used to work but not anymore.

    Melinda1933 wrote:
    It couldnt be that cause they work just fine on my hisbands iphone. Im wondering if it can even be fixed! But its nothing i can fix with teouble shooting. Thanks though.
    Read my post again
    CHECK the earphone socket on YOUR iPhone
    The small round hole on top on left that is where the earphones are not working of course they work on
    another iPhone that is not the one wityh a problem
    If it is not debris it could be software  do the troubleshooting ..........

  • Why condition does not work.

    Hi Pros,
            in my bex query, there is a CKF OT hours, having a value 30.000, when I set a condition for 'OT hours = 30.000', but get no result out. could you please tell why condition does not work.

    HI,
    please check the "Characteristic Assignment" Tab in change condition window.
    In that tab default  selection as "All Characteristic in the drill down independently" change that selection  as "Individual characteristic and Char. combinations"  and choose the particular characteristic. for ex OT hours against employee means select employee alone.
    Regards
    Sureshkumar C

  • Why Facetime is not working in United Arab Emirates?

    Why Facetime is not working in United Arab Emirates?? Even the icon for it and its setting in the phone’s setting list are not exist.. Could it be that this service is locked by our local mobile carrier or from Apple side?

    The UAE IOS devices are identified by their Serial number which has the Suffix AE. the telecoms regulator in UAE has agreed with Apple not to put facetime on UAE devices so people dont cut out the UAE telcoms providers that have not recovered their infratructure invetsments on copper and fibreoptic cabling/exchanges etc.
    You cannot change this as Apple always refrences your serial number of your device everytime it connects to itunes or the app store.  You will need a non UAE IOS device to have facetime.  how about getting Skype instaed its more widely used and in my opinion better

Maybe you are looking for