How to factor trinomials

Hey,
Just out of curiosity, I am trying to make a program that solves trinomials that are in the format of Ax^2 + Bx + C. The user should enter A, B, and C, and will be returned the following output: (Fx + Z) (Dx + X). For those who are familiar with trinomials, it should be fairly simple. For those who are not: Z * X will equal C, and Z + X will equal B, IF D and F are equal to one. If they are not equal to one, the output will be different. It's very hard for me to explain trinomials, but basically multiplying the expression #2 will equal expression #1
EX: Multiply to get 15, add to get -2
x^2 - 2x - 15 = 0
(x + 3) ( x - 5)
EX2:
4x^2 +4x - 3
(2x + 3) ( 2x - 1)
I have gotten up to the point where I can call:
public ArrayList<ArrayList<Integer>> getFactors(int num){
To obtain pairs of factors that I can try to use in the trinomial solver. I don't know how to implement the rest.
My explanation of trinomials is probably quite poor, so please tell me if I'm missing any details
Chris.
EDIT: This is my first attempt at it, but it does not work. It returns all zeroes, meaning that the factors were not found.
    public int[] factorTrinomial(int first, int second, int third){
        ArrayList<ArrayList<Integer>> firstFactors = getFactors(first);
        ArrayList<ArrayList<Integer>> thirdFactors = getFactors(third);
        int[] returnArray = new int[4];
        for(ArrayList<Integer> i: firstFactors){
            for(ArrayList<Integer> x: thirdFactors){
                if((i.get(0) * x.get(1)) + (i.get(1) * x.get(0)) == second){
                    returnArray[0] = i.get(0);
                    returnArray[1] = x.get(0);
                    returnArray[2] = i.get(1);
                    returnArray[3] = x.get(1);
                   //(returnArray[0] + returnArray[1]) ( returnArray[2] + returnArray[3])
        return returnArray;
    }OK, ignore all of the above :) I figured it out. All I need to figure out now is how to factor a negative number...Any ideas please?
Edited by: Chris.Y on Nov 24, 2008 6:02 AM
Edited by: Chris.Y on Nov 24, 2008 6:08 AM

Aah, my bad. I figured it out though, around the moment you posted. Thanks for the reply though :)
Here is the code I used:
    public void displayFactors(ArrayList<ArrayList<Integer>> myList){
        System.out.println("Factors:");
        for(ArrayList<Integer> i: myList){
            for(int x: i){
                System.out.println("    " + x);
    public int[] factorTrinomial(int first, int second, int third){
        ArrayList<ArrayList<Integer>> firstFactors = getFactors(first);
        displayFactors(firstFactors);
        ArrayList<ArrayList<Integer>> thirdFactors = getFactors(third);
        displayFactors(thirdFactors);
        int[] returnArray = new int[4];
        for(ArrayList<Integer> i: firstFactors){
            for(ArrayList<Integer> x: thirdFactors){
                if((i.get(0) * x.get(1)) + (i.get(1) * x.get(0)) == second){
                    returnArray[0] = i.get(0);
                    returnArray[1] = x.get(0);
                    returnArray[2] = i.get(1);
                    returnArray[3] = x.get(1);
                   //(returnArray[0] + returnArray[1]) ( returnArray[2] + returnArray[3])
        return returnArray;
    public ArrayList<ArrayList<Integer>> getFactors(int num){
        ArrayList<Integer> tempArray = new ArrayList<Integer>();
        ArrayList<ArrayList<Integer>> returnArray = new ArrayList<ArrayList<Integer>>();
        if(num > 0){
        for(int i = 1; i <= num; i++){
            if(num % i == 0){
               // if(!(isPresent(returnArray,i) || isPresent(returnArray,num / i)))
                tempArray.add(i);
                tempArray.add(num / i);
            if(tempArray.size() > 0){
            returnArray.add(tempArray); //here adds blanks
            tempArray = new ArrayList<Integer>();
        else if(num < 0){
            //What to do if num < 0
            int absoluteValue = Math.abs(num);
            ArrayList<ArrayList<Integer>> values = getFactors(absoluteValue);
            for(ArrayList<Integer> i: values){
                int tempNum = i.get(0) * -1;
                tempArray.add(tempNum);
                tempArray.add(i.get(1));
                returnArray.add(tempArray);
                tempArray = new ArrayList<Integer>();
        return returnArray;
    }Sorry, I didn't take the time to comment it or format it nicely. But you can get the basic idea.

Similar Messages

  • Different Factories for MSI mobos, Could it be the problem???

    Hi, just an idea...
    Could it be that all of a line of production of MSI 875P NEO Fis2r, LSR got damaged and all the line of boards (coming from that factory, coming from that country) are arriving to our hands??? ?(  ?(  ?(
    Could it be that there are good and bad boards deppending of where they were made??? ?(  ?(  ?(  ?(  ?(  ?(
    just an idea... )  )  )
    how many factories has MSI over the world, does anyone knows??? ?(  ?(  ?(  ?(  ?(

    It would be nice to know where were made mobos that do not fail when flashing the bios....it could lead to an interesting discovery... 8o  8o
    Quote
    Originally posted by mob
    German MSI page tells Taipei/Taiwan, Shenzen,
    Kunshan (2003) / China as production facilities.
    So there are 2,a third in progress,dunno if Neo boards were already built in Kunshan.

  • How does JMS Destination relates to a Connection Factory ?

    Hello,
    I am new to JMS but have experience since 1995 with IBM MQseries, I like to understand how Connection Factories and Destination related to each other. I have looked at JMS documentation and seen the graphical representation but in MQ world we create a Queue Manger and a Queue under it. I have looke all over but can not explain this to myself.
    In Sun�s Java Application Server version 9, I have created a Connection Factory called �jms/ConnectionFactory_abc� and then have created a Destination called �jms/destination_abc� and successfully sent and received messages, what I do not understand is that there is no menu option in Sun�s web based screen to related the 2 together!! How do they relate? Do they related becuase of my program logic?
    What if you like to have same Destination names under 2 different Factories?
    ---------Code fragment without TRY/CATCH
    queueConnectionFactory = (QueueConnectionFactory) jndiContext.lookup("jms/ConnectionFactory_abc ");
    queue = (Queue) jndiContext.lookup(�jms/destination_abc �);
    queueConnection = queueConnectionFactory.createQueueConnection();
    queueSession = queueConnection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
    queueSender = queueSession.createSender(queue);
    message = queueSession.createTextMessage();
    message.setText(input);
    queueSender.send(message);
    queueConnection.close();
    Please advise
    Thank You.
    AA

    I'll have a stab at this one, but may not be 100% right. Hopefully someone will point out anything I've got wrong.
    A connection factory is used to obtain a connection to the JMS provider, which in the case of MQSeries is synonymous Queue Manager. The connection is used to initiate one or more conversations with the JMS provider / QM, which might include starting a new transactional session.
    The destinations (Queues or Topics) are objects hosted by the JMS provider, however your client can only access these objects after establishing a connection / session, since it is the connection / session which determines the protocols and parameters to be used.
    The JNDI lookups are just a way for your client to obtain a remote reference to the Connection Factory and Queue objects hosted by the JMS provider, without coupling your client with the underlying JMS implementation (i.e. MQSeries, JBossMQ, ActiveMQ etc). When these references are bound to the JNDI tree they are given names like "jms/ConnectionFactory_abc" and "jms/destination_abc", but are not related to each other. Attempting to bind two references with the same JNDI name (on the same JNDI server) will cause in an error. So while you can two identically named queues on separate queue managers, you would have to give them different JNDI names,
    Hope this helps,
    Steve

  • What is the role of Success factors in the current market

    Hi Gurus,
    I'm new to SAP domain. I just want to understand how Success factors can change the usability and other factors of traditional SAP R/3?
    What are few of the points that we have to keep in mind when we are integrating our product with Success factors?

    Hi Surya
    I've found this Information in SCN related to SF as Finny Babu explained it really well.
    SAP has released a new adapter called the “SFSF Adapter” for SAP NetWeaver Process Integration (PI) . This adapter is now available as part of a release independent add-on “SAP NetWeaver Process Integration, connectivity add-on 1.0”.
    The connectivity add-on runs on the SAP NetWeaver Process Integration Adapter Framework, based on the Java Connector Architecture (JCA). Accordingly, its capabilities are being used for enabling the common message delivery options (exactly-once, exactly-once-in-order), an automatic retry mechanism and information logging. The configuration of connectivity adapters, monitoring and operations is done in the same way as for other adapters of SAP NetWeaver Process Integration (PI). The connectivity add-on runs fully in the Java stack and supports all valid deployment options of SAP NetWeaver Process Integration (ABAP + Java, Java only).
    This SAP NetWeaver Process Integration, connectivity add-on 1.0 is included in your SAP Process Integration license and you do not need any further license to use the adapter.
    Check this links
    Pilot Test of the Integration add-on for SAP ERP HCM & SuccessFactors BizX
    SAP HCM and SuccessFactors BizX Integration Using SAP PI
    SuccessFactors - Useful Resources and Documents
    SAP HCM integration with SuccessFactors BizX – For now and in the future
    SuccessFactors (SFSF) Adapter for SAP NetWeaver Process Integration
    Hope this Info will be Useful
    Cheers
    Pradyp

  • Period factor : Depreciation posting

    In the depreciation simulation, I find a 'period factor' with some value 0.5656.  I dont get how this factor is derived by the ssytem.  My asset value is 250000 and the declining depreciation rate is 10% with a 99 useful life.

    It is possible that the asset was capitalized around the 5th month (around 206 days balance )of the year which brings in the computed period factor. Check your depreciation start date - It may not be for full year.
    Thanks
    Jagdish

  • APO DP Proportional factors with LIKE profile settings

    Can someone explain how Proportional factors get generated when we setup a new product with LIKE profile settings?  We are getting forecast generated at lower levels such as customer characteristic at levels we would not anticipate, and we don't see any proportional factors generated.
    Example: we have Existing product A and new product B.  We setup the LIKE profile for Product B to replace product A.  At the product level the forecast is generated correctly.  Currently product A has customers 1, 2, 3, 4 where customer 3 has 80% of the volume and customer 4 has 15% and customers 1 & 2 have the remaining volume.  When the forecast is generated for product B customer 4 is getting 60%, customer 3 50% and 1 & 2 the remaining volume.  There are no proportional factors generated for this new product.  When I try to create proportional factors for the new product it says there is no historical shipments to use which would be correct.  How do I get the dis aggregation of customers under product B to use the proportions that were used for product A?

    Hi Ganesh,
    Please refer following thread -
    APO DP proportional factor calculation
    Also you can refer to following link where its explained indetail -
    Generation of Proportional Factors - Master Data Setup - SAP Library
    Hope it helps.
    Regards,
    Alok

  • My solution (or so I thought) to Power Manager/CPU throttling problems!!!

    I have found a solution to all my Power Manager/CPU throttling problems!!! Though there is some good and bad news.
    {EDIT: The problem has NOT been fixed, even after latest PowerManager (3.62) and BIOS (1.30) versions. Pretty much ignore anything I say below as the problem is still occurring. You can see my full post here: http://forum.lenovo.com/t5/W-Series-ThinkPad-Laptops/W520-Speedstep-not-working-properly-on-battery-...}
    Good news:  I have NONE of the throttling issues or inconsistent CPU frequency problems I was having before on AC or battery power.  Everything, including TurboBoost on battery works! It is completely fixed! (I have no idea how this factors into Lenovo’s statements that TurboBoost is disabled on battery “by design”. There is at least one other post from someone else that also reported TurboBoost was working for them on battery)
    Bad news: I don’t really know which one of the many things I tried actually worked. I am sorry I wasn’t more methodical about recording what I did and checking results, but this was my last ditch effort to get this fixed on my own without sending the system in for repair and frankly, I didn’t think it would work. Now that it has worked, I’m hoping my steps can help others.
    For anyone interested, here’s what I did… and before anyone says something like “That has nothing to do with managing power/cpu, why would that help?!… etc., please keep in mind I’m just stating exactly what I did. I am aware some of the steps may not be relevant, but who knows… We all know how weird PC’s are sometimes, even the smallest, oddest thing may resolve a problem.So anyway, here goes. 
    **IMPORTANT** Not sure how many noticed, but there was a new version of Power Manager released a few weeks ago, 3.62. The PM driver seems to have stayed the same. That alone could very well be the sole fix, I’m not sure. You may just want to completely remove PM and PM driver and install the latest version before trying any of the steps below.
    1)Made a complete system image via Windows built-in backup feature
    2)Disable any 3rd party fan/CPU control utilities (Throttlestop, etc). Make sure they are also not going to run at startup or from a   scheduled task
    3)Remove Power Manager Driver, then remove Power Manager software
    4)Reboot to Windows
    5)Remove all traces of the Power Manager drivers/software directories (think it was something like C:\readyapps and C:\drivers.) **For some odd reason after I did this, my wireless stopped working but it resolved itself by the time I was done with these steps, strange
    6)Reboot
    7)Access BIOS and reset all settings to default
    8)Boot into Windows, downgrade to BIOS 1.25 [UEFI: 1.25 - 8BET44WW / ECP: 1.14 8AHT32WW ]  via the Windows flash utility. I wanted to downgrade all the way back to 1.06, but the software would throw up some error for any version prior to 1.25 and wouldn’t proceed
    9)Reboot to Windows; make sure system booted w/ out issues
    10)Reboot again, access BIOS, reset to defaults again
    11)Shut down system
    12)Disconnect AC power. Remove main battery. Access and disconnect system backup (a.k.a CMOS) battery under keyboard. Discharge residual power in the system (there are various ways to do this, but you could just leave the battery disconnected for a few minutes).  Visually inspect the system for anything funky…my system had a slightly but noticeably loose CPU/GPU heat sink/fan assembly power connector.
    13)Reconnect backup battery. 
    14)Reconnect AC power but leave main battery disconnected.
    15)Power on. Should get a message indicating “checksum error, system time reset” or something like that.
    16)Reboot to Windows. Verified still okay.
    17)Downloaded latest BIOS version, 1.26. This time I burned the bootable BIOS flash CD instead of running it through Windows.
    18)Restart and boot from disc, flash BIOS to 1.26. Once complete, restart. Verify BIOS set to defaults.
    19)Boot back into Windows.
    20)Install latest Power Manager driver (1.62 ), reboot if/as prompted. Install Power Manager (3.62), reboot as prompted.
    21)Boot into Windows, verified Power Manager was active and working. Verified TurboBoost was working. Restarted system a few times and played around with Power Manager for a bit to see if the different power plans worked and retained the settings, all the while monitoring the Intel TurboBoost utility and PM’s own “power gauges”. Let system Sleep, changed power sources, resumed, etc. Everything was working great.
    22)Shutdown, reconnect main battery. Booted into Windows. Again, fiddled with Power Manager for a bit, switching between power plans and AC/battery power. Still worked great.
    23)Success! 
    That’s it.  Again, this is not a guaranteed fix guide. These are just simply the steps that I took on my system that resolved the problems many of us are having. Hopefully it will work for others.
    T520 4239-CTO | i5 2410M
    W520 4270-CTO | 2720QM | 16GB RAM | Quadro 1000M | BIOS 1.30 | PwrMgr 3.62

    All I basically did was download and install...
    (Chipset driver) http://download.lenovo.com/ibmdl/pub/pc/pccbbs/mobiles/oss924ww.exe
    (PM driver)  http://download.lenovo.com/ibmdl/pub/pc/pccbbs/mobiles/83ku14ww.exe
    Now, I did chipset first (didnt ask to reboot) then installed the PM driver (did ask to reboot)
    I rebooted.... then I went into bios (1.26) and set everything to default... then restarted saving changes...
    Since I prefer not using optimus I changed the display settings in bios right after saving the default settings...
    Not sure whether or not you really had to go into bios... but everything seems to be working...
    My settings in PM is set to Maximum Power in the Advanced tab,  3rd party monitoring tools is TPFanControl and HWInfo64.... 
    W520 (4270 CTO) | i7-2820QM | 16GB RAM 1333 MHz | Runcore MSATA SSD | 2x Kingston SATA2 SSD | Quadro 2000M | FHD | Windows 7

  • GR/IR account G/L balance does not match with BSIS table

    Hi,
    I am preparing a report which uses table BSIS.But the total in the table does not match with the GR/IR G/L balance account.When I click on balance item display in FS10N the entries match with that of BSIS but the total is different.Also how to factor the year opening balance entries in the report.
    Thanks
    Arun

    But that will slow down the system considerabley, because BSEG contains a huge data

  • LiveType SLOW.. OSX 10.5 Virtual Mem Hog Questions.

    First - need to vent some - Sorry. You don't have to say it - I have an older machine. -BUT- I am really confused by some of the statements I am reading about Virtual RAM usage associate with MAC apps. Many in Mac Support worlds are suggesting the age old Microsoft solution - just add more ram or a bigger drive. Horse hockey. I have programmed Windows, Unix, OSX and Linux - the real answer typically is - how many "no-ops did they program in their code to force user hardware upgrades to new systems" and how tight is their code. I'd like to believe that MAC application developers are somewhat better than those in Microsoft. To say I'm miffed isn't coming close. OKAY-Enough for venting. Lets shift to problem solving.
    *The Problem At Hand.*
    Am running OSX 10.5 with FinalCut Express 4.0 and Livetype (i.e. LT) 2.1.4. Attempting a test of scrolling credits of 40 seconds at DV quality (29.97 fps)-hence 1200 frames. Just text - black on wht bkgnd - no video background. No other applications running except Activity Monitor. This rendering took 6 hrs 58 min - totally unacceptable. Processing averaged 95% of total CPU cycles for both processors for nearly 7 hrs. Interesting that multithreading is occurring but not consistently across both processors - seems in most cases to promote an OR operation not an AND - whose brain child was that one. Although less than 50% of literal RAM is being totally utilized by all processes, LT consumes only 70Megs - yet also allocates and consumes 1.8Gig of Virtual - what gives? Many times, the LT process would hang showing (not responding), but would only last for 2-3 seconds before resuming, and ever so often would log statistics of shared memory to be 16,xxx,xxx.00(TB) - where the 'x's would vary but still a huge number. Any clues on that one either?
    In all, my dual 1GHz processors may be arguably slower than the newer quad-core models, but lets do the math. A 32 or 64 bit architecture clocking at parallel 1GHz rates is a huge amount of bits. With a 32bit bus thats 32 Billion Bits each second (bps) or with a 64bit buss (64 B bps). As such, 1200 DV quality frames at 720x480 resolution (345.6kb ea) is 414.72Mb total. I realize that vectoring and other video mathematics need to take place –BUT- even if this adds a factor of 10x this now implies 4.1472Gb implying processing time of 0.13 seconds to process 1200 DV frames –or- half of that for a 64 bit buss – and for a single processor. Reverse engineering shows an interesting picture – 7hours of 95% dual processor utilization for a 32 bit architecture is 1532.16 Tb (at 25,200 s) implying nearly 4.4B DV frames –or- 42,000 HOURS of DV video for 7hrs of 95% processing horsepower. Something is really wrong here.
    I am told by MAC support that my Video cards ALU does little for MAC video applications leaving most of the job to the CPU's - a real shame. I also do not quite know how to factor into the clocking equation RAM transfer speed for PC2700. Since there is so much virtual ram shifting occurring - I presume that this converts hard drive space for RAM - I have basic 100MBs transfer rates at 7200RPMs – hence another potential limiting factor.
    Questions.
    1. If Virtual mem is slowing this - how do I shift to actual ram within OSX10.5?
    2. In LT, how does one start and stop the Inspector window? Need to shut it off or at least pause it.
    3. Any thoughts toward why OSX10.5 apps take lots of virtual ram at the expense of actual ram?
    4. Any thoughts to speeding up LT in general?
    Thanks,
    Davidpic

    First - need to vent some - Sorry. You don't have to say it - I have an older machine. -BUT- I am really confused by some of the statements I am reading about Virtual RAM usage associate with MAC apps. Many in Mac Support worlds are suggesting the age old Microsoft solution - just add more ram or a bigger drive. Horse hockey. I have programmed Windows, Unix, OSX and Linux - the real answer typically is - how many "no-ops did they program in their code to force user hardware upgrades to new systems" and how tight is their code. I'd like to believe that MAC application developers are somewhat better than those in Microsoft. To say I'm miffed isn't coming close. OKAY-Enough for venting. Lets shift to problem solving.
    *The Problem At Hand.*
    Am running OSX 10.5 with FinalCut Express 4.0 and Livetype (i.e. LT) 2.1.4. Attempting a test of scrolling credits of 40 seconds at DV quality (29.97 fps)-hence 1200 frames. Just text - black on wht bkgnd - no video background. No other applications running except Activity Monitor. This rendering took 6 hrs 58 min - totally unacceptable. Processing averaged 95% of total CPU cycles for both processors for nearly 7 hrs. Interesting that multithreading is occurring but not consistently across both processors - seems in most cases to promote an OR operation not an AND - whose brain child was that one. Although less than 50% of literal RAM is being totally utilized by all processes, LT consumes only 70Megs - yet also allocates and consumes 1.8Gig of Virtual - what gives? Many times, the LT process would hang showing (not responding), but would only last for 2-3 seconds before resuming, and ever so often would log statistics of shared memory to be 16,xxx,xxx.00(TB) - where the 'x's would vary but still a huge number. Any clues on that one either?
    In all, my dual 1GHz processors may be arguably slower than the newer quad-core models, but lets do the math. A 32 or 64 bit architecture clocking at parallel 1GHz rates is a huge amount of bits. With a 32bit bus thats 32 Billion Bits each second (bps) or with a 64bit buss (64 B bps). As such, 1200 DV quality frames at 720x480 resolution (345.6kb ea) is 414.72Mb total. I realize that vectoring and other video mathematics need to take place –BUT- even if this adds a factor of 10x this now implies 4.1472Gb implying processing time of 0.13 seconds to process 1200 DV frames –or- half of that for a 64 bit buss – and for a single processor. Reverse engineering shows an interesting picture – 7hours of 95% dual processor utilization for a 32 bit architecture is 1532.16 Tb (at 25,200 s) implying nearly 4.4B DV frames –or- 42,000 HOURS of DV video for 7hrs of 95% processing horsepower. Something is really wrong here.
    I am told by MAC support that my Video cards ALU does little for MAC video applications leaving most of the job to the CPU's - a real shame. I also do not quite know how to factor into the clocking equation RAM transfer speed for PC2700. Since there is so much virtual ram shifting occurring - I presume that this converts hard drive space for RAM - I have basic 100MBs transfer rates at 7200RPMs – hence another potential limiting factor.
    Questions.
    1. If Virtual mem is slowing this - how do I shift to actual ram within OSX10.5?
    2. In LT, how does one start and stop the Inspector window? Need to shut it off or at least pause it.
    3. Any thoughts toward why OSX10.5 apps take lots of virtual ram at the expense of actual ram?
    4. Any thoughts to speeding up LT in general?
    Thanks,
    Davidpic

  • Layout managers and JTabbedPane

    I have a JTabbed pane on my 'form' on which i want to insert two tables. the problem is that the tables are overstepping the 'boundaries' i have desgned for them ,whivh i suspect is a problem with the layout managers. I just cant seem to be able to restrict the tables within the fames and have scrollpanes, both horizontal and vertical for scrolling tables. I have included the code here:
    import java.awt.*;
    import javax.swing.*;
    public class FrmProducts extends JFrame{
         private          JTabbedPane tabbedPane;
         private          JPanel          factorsTab;
         private          JPanel          productListTab;
         private          JPanel          rateHistoryTab;
         private          JTable          forexFactorsTable;
         private          JTable      otherFactorsTable;
         private      JTable          productListTable;
         public FrmProducts(){
              initializeComponents();
         public  void DisplayForm(){
              java.awt.EventQueue.invokeLater(new Runnable(){
                   public void run(){
         private void initializeComponents(){
              setTitle( "Products administration" );
              setSize( 900, 550 );
              setBackground( Color.gray );
              JPanel topPanel = new JPanel();
              topPanel.setLayout( new BorderLayout() );
              getContentPane().add( topPanel );
              Toolkit kit = getToolkit();
              Dimension screenSize = kit.getScreenSize();
              int screenWidth = screenSize.width;                         //all this is to get
              int screenHeight = screenSize.height;                    //the form size and
              Dimension windowSize = getSize();                       //centre the form on
              int windowWidth = windowSize.width;                         //the screen
              int windowHeight = windowSize.height;
              int upperLeftX = (screenWidth - windowWidth)/2;
              int upperLeftY = (screenHeight - windowHeight)/2;
              setLocation(upperLeftX, upperLeftY);
              setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
              // Create the tab pages
              createPage1();
              createPage2();
              createPage3();
              // Create a tabbed pane
              tabbedPane = new JTabbedPane();
              tabbedPane.addTab( "Facors", factorsTab );
              tabbedPane.addTab( "Products List", productListTab );
              tabbedPane.addTab( "Rate History", rateHistoryTab );
              topPanel.add( tabbedPane, BorderLayout.CENTER );
              setVisible(true);
         public void createPage1()
              factorsTab = new JPanel();
              factorsTab.setLayout( new GridLayout(2,1) );
              JPanel forexFactorsPanel;          //set up a frame with the forex factors details
              forexFactorsPanel = new JPanel();
              forexFactorsPanel.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createTitledBorder("Forex factors"),
                BorderFactory.createEmptyBorder(5,5,5,5)));
              String forexFactorsColumns[]={"Factor","ZAR","US$"};
              String dummyValues1[][]={ {"Costing exchange rate","485.00",   "3400.00"},
                                          {"Local product exchange rate","430.00","3000.00"},
                                          {"Duty exchange rate1","35.30",          "250.00"},
                                          {"Duty exchange rate2","35.30",          "250.00"}};
              forexFactorsTable=new JTable(dummyValues1,forexFactorsColumns);
              JScrollPane scrollPane1=new JScrollPane(forexFactorsTable);
              forexFactorsPanel.add( scrollPane1, BorderLayout.CENTER );
              factorsTab.add(forexFactorsPanel);
              JPanel otherFactorsPanel;
              otherFactorsPanel=new JPanel();
              otherFactorsPanel.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createTitledBorder("Other factors"),
                     BorderFactory.createEmptyBorder(5,5,5,5)));
              String otherFactorsColumns[]={"Description","Value"};
              String dummyValues2[][]={{"Landing Factor",                         "1.16"},
                                            {"Duty factor",                        "1.065"},
                                            {"Loading for overseas sourcing",  "1.15"},
                                            {"Extra mark up local",             "0.0"},
                                            {"Extra mark up imports",          "0.0"}};
              otherFactorsTable=new JTable(dummyValues2,otherFactorsColumns);
              JScrollPane scrollPane2=new JScrollPane(otherFactorsTable);
              otherFactorsPanel.add(scrollPane2, BorderLayout.CENTER);
              factorsTab.add(otherFactorsPanel);
         public void createPage2()
              productListTab = new JPanel();
              productListTab.setLayout( new BorderLayout() );
              String productListColumns[]={"Code1","Code2","Code3","Sales Category","Product code","Short Description",
                                             "Long Description","Supplier/Manufacturer","Supplier Product code",
                                             "Units","Master stockist","Lead time","re-Order level","economic order qty",
                                             "APR","min shipping qty"};
              String sampleValues[][]={
                     {"AI","AC","CE","Switchgear inc Starters","AIACCE 270","Timer int pulse start 230v 2C/O 30mins",
                       "Timer interval pulse start 230v 2 closed open 30 minutes","AC/DC South Africa","IAP2 30M","each",
                       "Central Stores","2","500","5000","APR","5000"},
                       {"GI","IN","ZZ","Alternative power and accessories","GIINZZ 174","INV HT SERIES 2500W 12v/230v MOD SWV",
                            "INVERTER HT SERIES 2500W 12v/230v MODIFIED SINEWAVE","SINETECH","HT-P-2500-12","each",
                            "Central Stores","6","1000","5000","APR","10000"}
              productListTable=new JTable(sampleValues,productListColumns);
              JScrollPane scrollPane3=new JScrollPane(productListTable);
              productListTab.add(scrollPane3, BorderLayout.CENTER);
         public void createPage3()
              rateHistoryTab = new JPanel();
              rateHistoryTab.setLayout( new GridLayout( 3, 2 ) );
    }This class is called by invoking the DispalyForm() function from a main form. May you please run it and see how the 'factors' panel needs correcting and help me do that

    wondering if there's a method that can be used to show a window(i.e. dialog) within a frame (much like an MDI form). That is, all windows are shown w/in the frame's border or title bar.
    Here's what I have attempted but to no avail:
    java.awt.Dimension screen = getDefaultToolkit.getScreenSize();
    java.awt.Insets frameInsets = this.getInsets();  // frame's insets
    // set bounds of child (window)
    window1.setbounds(frameInsets.top, frameInsets.top,
       screen.width - frameInsets.top -2, screen.height - frameInsets.top -2);any help is appreciated

  • CISCO AIR-AP1252AG-E-K9 is keep rebooting with no reason

    Hello
    I have an cisco AIR-AP1252AG-E-K9  and it reeboots randomly with no aparent reason
    this is the configuration
    aaa group server radius rad_eap
    server 10.10.1.2 auth-port 1645 acct-port 1646
    aaa group server radius rad_mac
    aaa group server radius rad_acct
    server 10.10.1.2 auth-port 1645 acct-port 1646
    aaa group server radius rad_admin
    aaa group server tacacs+ tac_admin
    aaa group server radius rad_pmip
    aaa group server radius dummy
    aaa authentication login eap_methods group rad_eap
    aaa authentication login mac_methods local
    aaa authorization exec default local
    aaa accounting network acct_methods start-stop group rad_acct
    aaa session-id common
    clock timezone +0200 2
    ip domain name diamant.local
    dot11 activity-timeout unknown default 32400
    dot11 activity-timeout client default 32400 maximum 32400
    dot11 activity-timeout repeater default 32400 maximum 32400
    dot11 activity-timeout workgroup-bridge default 32400 maximum 32400
    dot11 activity-timeout bridge default 32400 maximum 32400
    dot11 ssid cisco
       authentication open eap eap_methods
       authentication network-eap eap_methods
       authentication key-management wpa
       guest-mode
    dot11 ssid diamant4
       authentication open eap eap_methods
       authentication network-eap eap_methods
       authentication key-management wpa
       guest-mode
    dot11 arp-cache
    power inline negotiation prestandard source
    username root privilege 15 password 7 060506324F41
    username Cisco privilege 15 password 7 1047051613121F120D0A2D2E2862626C7A46
    bridge irb
    interface Dot11Radio0
    no ip address
    no ip route-cache
    encryption mode ciphers aes-ccm
    ssid diamant4
    speed  basic-1.0 basic-2.0 basic-5.5 basic-11.0 basic-6.0 basic-9.0 basic-12.0 basic-18.0 basic-24.0 basic-36.0 basic-48.0 basic-54.0 m0. m1. m2. m3. m4. m5. m6. m7. m8. m9. m10. m11. m12. m13. m14. m15.
    channel width 40-above
    channel 2412
    station-role root
    payload-encapsulation dot1h
    bridge-group 1
    bridge-group 1 subscriber-loop-control
    bridge-group 1 block-unknown-source
    no bridge-group 1 source-learning
    no bridge-group 1 unicast-flooding
    bridge-group 1 spanning-disabled
    interface Dot11Radio1
    no ip address
    no ip route-cache
    encryption mode ciphers aes-ccm
    ssid cisco
    dfs band 1 3 block
    speed  basic-6.0 basic-9.0 basic-12.0 basic-18.0 basic-24.0 basic-36.0 basic-48.0 basic-54.0 m0. m1. m2. m3. m4. m5. m6. m7. m8. m9. m10. m11. m12. m13. m14. m15.
    channel width 40-above
    channel dfs
    station-role root
    payload-encapsulation dot1h
    world-mode legacy
    bridge-group 1
    bridge-group 1 subscriber-loop-control
    bridge-group 1 block-unknown-source
    no bridge-group 1 source-learning
    no bridge-group 1 unicast-flooding
    bridge-group 1 spanning-disabled
    interface GigabitEthernet0
    no ip address
    no ip route-cache
    duplex auto
    speed auto
    bridge-group 1
    no bridge-group 1 source-learning
    bridge-group 1 spanning-disabled
    interface BVI1
    ip address dhcp client-id GigabitEthernet0
    no ip route-cache
    ip http server
    no ip http secure-server
    ip http help-path http://www.cisco.com/warp/public/779/smbiz/prodconfig/help/eag
    ip radius source-interface BVI1
    logging history size 200
    no cdp run
    radius-server attribute 32 include-in-access-req format %h
    radius-server host 10.10.1.2 auth-port 1645 acct-port 1646 key 7 13011E13060D0A3E
    radius-server vsa send accounting
    bridge 1 route ip
    and the logs
    *Mar  1 00:00:06.207: %SOAP_FIPS-2-SELF_TEST_IOS_SUCCESS: IOS crypto FIPS self test passed
    *Mar  1 00:00:07.035: %SOAP_FIPS-2-SELF_TEST_RAD_SUCCESS: RADIO crypto FIPS self test passed on interface Dot11Radio 0
    *Mar  1 00:00:07.543: %SOAP_FIPS-2-SELF_TEST_RAD_SUCCESS: RADIO crypto FIPS self test passed on interface Dot11Radio 1
    *Mar  1 02:00:09.599 +0200: %SYS-6-CLOCKUPDATE: System clock has been updated from 00:00:09 UTC Fri Mar 1 2002 to 02:00:09 +0200 Fri Mar 1 2002, configured from console by console.
    *Mar  1 02:00:09.755 +0200: %LINK-3-UPDOWN: Interface GigabitEthernet0, changed state to up
    *Mar  1 02:00:09.763 +0200: %SYS-5-CONFIG_I: Configured from memory by console
    *Mar  1 02:00:09.767 +0200: %SYS-5-RESTART: System restarted --
    Cisco IOS Software, C1250 Software (C1250-K9W7-M), Version 12.4(10b)JDA3, RELEASE SOFTWARE (fc1)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2009 by Cisco Systems, Inc.
    Compiled Sun 07-Jun-09 03:50 by prod_rel_team
    *Mar  1 02:00:09.767 +0200: %SNMP-5-COLDSTART: SNMP agent on host ap is undergoing a cold start
    *Mar  1 20:39:11.027 +0200: %SSH-5-ENABLED: SSH 1.99 has been enabled
    *Mar  1 20:39:11.027 +0200: %LINEPROTO-5-UPDOWN: Line protocol on Interface BVI1, changed state to up
    *Mar  1 20:39:11.027 +0200: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0, changed state to up
    *Mar  1 20:39:11.531 +0200: %LINK-5-CHANGED: Interface Dot11Radio1, changed state to reset
    *Mar  1 20:39:11.531 +0200: %LINK-5-CHANGED: Interface Dot11Radio0, changed state to reset
    *Mar  1 20:39:13.055 +0200: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio1, changed state to down
    *Mar  1 20:39:13.055 +0200: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio0, changed state to down
    *Mar  1 20:39:14.311 +0200: %CDP_PD-4-POWER_OK: Full power - AC_ADAPTOR inline power source
    *Mar  1 20:39:17.919 +0200: %DOT11-6-DFS_SCAN_START: DFS: Scanning frequency 5280 MHz for 60 seconds.
    *Mar  1 20:39:17.919 +0200: %DOT11-6-FREQ_USED: Interface Dot11Radio1, frequency 5280 selected
    *Mar  1 20:39:17.919 +0200: %DOT11-4-FREQ_CHANGED: Interface Dot11Radio1, channel or channel width changed: 40Mhz above not allowed on channel
    *Mar  1 20:39:17.923 +0200: %LINK-3-UPDOWN: Interface Dot11Radio1, changed state to up
    *Mar  1 20:39:17.931 +0200: %LINK-3-UPDOWN: Interface Dot11Radio0, changed state to up
    Apr  6 12:05:00.537 +0200: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio1, changed state to up
    Apr  6 12:05:00.537 +0200: %LINEPROTO-5-UPDOWN: Line protocol on Interface Dot11Radio0, changed state to up
    Apr  6 12:05:00.709 +0200: %DHCP-6-ADDRESS_ASSIGN: Interface BVI1 assigned DHCP address 10.10.1.243, mask 255.255.255.0, hostname ap
    Apr  6 12:05:32.729 +0200: %DOT11-6-ASSOC: Interface Dot11Radio0, Station PC186 5894.6b5d.6c00 Associated KEY_MGMT[WPAv2]
    Apr  6 12:05:34.325 +0200: %DOT11-6-ASSOC: Interface Dot11Radio0, Station   687f.74fb.3b1f Associated KEY_MGMT[WPAv2]
    Apr  6 12:05:34.481 +0200: %DOT11-6-ASSOC: Interface Dot11Radio0, Station   687f.74fb.305d Associated KEY_MGMT[WPAv2]
    Apr  6 12:05:35.117 +0200: %DOT11-6-ASSOC: Interface Dot11Radio0, Station   0025.9cde.155a Associated KEY_MGMT[WPAv2]
    Apr  6 12:05:45.493 +0200: %DOT11-6-ASSOC: Interface Dot11Radio0, Station  687f.74fb.2fe0 Associated KEY_MGMT[WPAv2]
    Apr  6 12:05:59.545 +0200: %DOT11-6-DFS_SCAN_COMPLETE: DFS scan complete on frequency 5280 MHz
    Apr  6 12:06:06.561 +0200: %DOT11-6-ASSOC: Interface Dot11Radio1, Station  0025.9cf8.9149 Associated KEY_MGMT[WPAv2]
    Apr  6 12:06:56.471 +0200: %DOT11-6-ASSOC: Interface Dot11Radio1, Station   0025.9cde.0fc5 Associated KEY_MGMT[WPAv2]
    Apr  6 12:08:11.008 +0200: %DOT11-6-DISASSOC: Interface Dot11Radio0, Deauthenticating Station 0025.9cde.155a Reason: Previous authentication no longer valid
    Apr  6 12:08:11.016 +0200: %DOT11-4-MAXRETRIES: Packet to client 0025.9cde.155a reached max retries, removing the client
    Apr  6 12:08:14.124 +0200: %DOT11-6-ASSOC: Interface Dot11Radio0, Station   0025.9cde.155a Associated KEY_MGMT[WPAv2]
    Apr  6 12:08:17.608 +0200: %DOT11-6-DISASSOC: Interface Dot11Radio0, Deauthenticating Station 0025.9cde.155a Reason: Previous authentication no longer valid
    Apr  6 12:08:48.950 +0200: %DOT11-7-AUTH_FAILED: Station 0025.9cde.155a Authentication failed
    Apr  6 12:08:48.950 +0200: %DOT11-4-MAXRETRIES: Packet to client 0025.9cde.155a reached max retries, removing the client
    Apr  6 12:09:12.978 +0200: %DOT11-6-ASSOC: Interface Dot11Radio0, Station   0025.9cde.155a Associated KEY_MGMT[WPAv2]
    Apr  6 12:25:35.510 +0200: %DOT11-6-DISASSOC: Interface Dot11Radio0, Deauthenticating Station 687f.74fb.305d Reason: Sending station has left the BSS
    Apr  6 12:25:35.530 +0200: %DOT11-6-ASSOC: Interface Dot11Radio0, Station   687f.74fb.305d Associated KEY_MGMT[WPAv2-CP]
    Apr  6 12:35:32.229 +0200: %DOT11-6-DISASSOC: Interface Dot11Radio0, Deauthenticating Station 687f.74fb.3b1f Reason: Sending station has left the BSS
    Apr  6 12:35:32.245 +0200: %DOT11-6-ASSOC: Interface Dot11Radio0, Station   687f.74fb.3b1f Associated KEY_MGMT[WPAv2-CP]
    Apr  6 12:37:27.996 +0200: %DOT11-6-DISASSOC: Interface Dot11Radio0, Deauthenticating Station 687f.74fb.3b1f Reason: Sending station has left the BSS
    Apr  6 12:37:28.016 +0200: %DOT11-6-ASSOC: Interface Dot11Radio0, Station   687f.74fb.3b1f Associated KEY_MGMT[WPAv2-CP]
    Apr  6 12:54:07.729 +0200: %DOT11-6-DISASSOC: Interface Dot11Radio0, Deauthenticating Station 687f.74fb.2fe0 Reason: Previous authentication no longer valid
    Apr  6 12:54:09.457 +0200: %DOT11-6-ASSOC: Interface Dot11Radio0, Station  687f.74fb.2fe0 Associated KEY_MGMT[WPAv2]
    Apr  6 12:54:36.236 +0200: %DOT11-6-DISASSOC: Interface Dot11Radio0, Deauthenticating Station 687f.74fb.2fe0 Reason: Previous authentication no longer valid
    Apr  6 10:54:56.515: Client 687f.74fb.2fe0 failed: reached maximum retries
    Apr  6 12:55:37.141 +0200: %DOT11-6-ASSOC: Interface Dot11Radio0, Station  687f.74fb.2fe0 Associated KEY_MGMT[WPAv2]
    Apr  6 13:30:07.002 +0200: %DOT11-6-DISASSOC: Interface Dot11Radio0, Deauthenticating Station 5894.6b5d.6c00 Reason: Sending station has left the BSS
    Apr  6 13:30:17.442 +0200: %DOT11-6-DISASSOC: Interface Dot11Radio0, Deauthenticating Station 687f.74fb.3b1f Reason: Sending station has left the BSS
    Apr  6 13:30:17.802 +0200: %DOT11-6-ASSOC: Interface Dot11Radio0, Station   687f.74fb.3b1f Associated KEY_MGMT[WPAv2-CP]
    Apr  6 13:34:59.087 +0200: %DOT11-4-MAXRETRIES: Packet to client 687f.74fb.3b1f reached max retries, removing the client
    Apr  6 13:34:59.087 +0200: %DOT11-6-DISASSOC: Interface Dot11Radio0, Deauthenticating Station 687f.74fb.3b1f Reason: Previous authentication no longer valid
    Apr  6 13:35:02.743 +0200: %DOT11-6-ASSOC: Interface Dot11Radio0, Station   687f.74fb.3b1f Associated KEY_MGMT[WPAv2]
    Apr  6 13:35:23.451 +0200: %DOT11-4-MAXRETRIES: Packet to client 687f.74fb.3b1f reached max retries, removing the client
    Apr  6 13:35:23.455 +0200: %DOT11-6-DISASSOC: Interface Dot11Radio0, Deauthenticating Station 687f.74fb.3b1f Reason: Previous authentication no longer valid
    Apr  6 13:35:26.743 +0200: %DOT11-6-ASSOC: Interface Dot11Radio0, Station   687f.74fb.3b1f Associated KEY_MGMT[WPAv2]
    Apr  6 13:36:40.768 +0200: %DOT11-6-DISASSOC: Interface Dot11Radio0, Deauthenticating Station 687f.74fb.3b1f Reason: Sending station has left the BSS
    Apr  6 13:38:59.004 +0200: %DOT11-6-ASSOC: Interface Dot11Radio0, Station   687f.74fb.3b1f Associated KEY_MGMT[WPAv2]
    Apr  6 13:40:56.655 +0200: %DOT11-6-DISASSOC: Interface Dot11Radio0, Deauthenticating Station 687f.74fb.3b1f Reason: Sending station has left the BSS
    Apr  6 13:40:56.703 +0200: %DOT11-6-ASSOC: Interface Dot11Radio0, Station   687f.74fb.3b1f Associated KEY_MGMT[WPAv2-CP]
    Apr  6 13:56:42.322 +0200: %DOT11-6-DISASSOC: Interface Dot11Radio1, Deauthenticating Station 0025.9cf8.9149 Reason: Previous authentication no longer valid
    Apr  6 13:56:45.490 +0200: %DOT11-6-ASSOC: Interface Dot11Radio1, Station  0025.9cf8.9149 Associated KEY_MGMT[WPAv2]
    Apr  6 13:56:49.302 +0200: %DOT11-6-DISASSOC: Interface Dot11Radio1, Deauthenticating Station 0025.9cf8.9149 Reason: Previous authentication no longer valid
    Apr  6 11:57:11.623: Client 0025.9cf8.9149 failed: reached maximum retries
    Apr  6 14:12:43.510 +0200: %DOT11-6-DISASSOC: Interface Dot11Radio0, Deauthenticating Station 687f.74fb.305d Reason: Sending station has left the BSS
    Apr  6 14:12:43.526 +0200: %DOT11-6-ASSOC: Interface Dot11Radio0, Station   687f.74fb.305d Associated KEY_MGMT[WPAv2-CP]
    Apr  6 14:49:12.472 +0200: %DOT11-6-DISASSOC: Interface Dot11Radio0, Deauthenticating Station 687f.74fb.305d Reason: Previous authentication no longer valid
    Apr  6 14:49:15.628 +0200: %DOT11-6-ASSOC: Interface Dot11Radio0, Station   687f.74fb.305d Associated KEY_MGMT[WPAv2]
    Apr  6 14:49:21.672 +0200: %DOT11-6-DISASSOC: Interface Dot11Radio0, Deauthenticating Station 687f.74fb.305d Reason: Previous authentication no longer valid
    Apr  6 14:49:53.282 +0200: %DOT11-7-AUTH_FAILED: Station 687f.74fb.305d Authentication failed
    Apr  6 14:49:53.282 +0200: %DOT11-4-MAXRETRIES: Packet to client 687f.74fb.305d reached max retries, removing the client
    Apr  6 14:52:04.097 +0200: %DOT11-6-ASSOC: Interface Dot11Radio0, Station PC186 5894.6b5d.6c00 Associated KEY_MGMT[WPAv2]
    Apr  6 15:14:29.682 +0200: %DOT11-6-DISASSOC: Interface Dot11Radio0, Deauthenticating Station 0025.9cde.155a Reason: Previous authentication no longer valid
    Apr  6 15:15:03.124 +0200: %DOT11-7-AUTH_FAILED: Station 0025.9cde.155a Authentication failed
    Apr  6 15:15:03.124 +0200: %DOT11-4-MAXRETRIES: Packet to client 0025.9cde.155a reached max retries, removing the client
    Apr  6 15:21:02.660 +0200: %DOT11-6-DISASSOC: Interface Dot11Radio0, Deauthenticating Station 687f.74fb.3b1f Reason: Previous authentication no longer valid
    Apr  6 15:21:02.664 +0200: %DOT11-4-MAXRETRIES: Packet to client 687f.74fb.3b1f reached max retries, removing the client
    Apr  6 15:21:05.780 +0200: %DOT11-6-ASSOC: Interface Dot11Radio0, Station   687f.74fb.3b1f Associated KEY_MGMT[WPAv2]
    Apr  6 15:21:09.808 +0200: %DOT11-6-DISASSOC: Interface Dot11Radio0, Deauthenticating Station 687f.74fb.3b1f Reason: Previous authentication no longer valid
    Apr  6 15:21:41.058 +0200: %DOT11-7-AUTH_FAILED: Station 687f.74fb.3b1f Authentication failed
    Apr  6 15:21:41.058 +0200: %DOT11-4-MAXRETRIES: Packet to client 687f.74fb.3b1f reached max retries, removing the client
    Apr  6 15:24:36.911 +0200: %DOT11-6-DISASSOC: Interface Dot11Radio1, Deauthenticating Station 0025.9cde.0fc5 Reason: Previous authentication no longer valid
    Apr  6 15:24:41.435 +0200: %DOT11-7-AUTH_FAILED: Station 0025.9cde.0fc5 Authentication failed
    Apr  6 15:24:45.131 +0200: %DOT11-6-ASSOC: Interface Dot11Radio1, Station   0025.9cde.0fc5 Associated KEY_MGMT[WPAv2]
    Apr  6 15:24:54.127 +0200: %DOT11-6-DISASSOC: Interface Dot11Radio1, Deauthenticating Station 0025.9cde.0fc5 Reason: Previous authentication no longer valid
    Apr  6 15:25:27.623 +0200: %DOT11-7-AUTH_FAILED: Station 0025.9cde.0fc5 Authentication failed
    Apr  6 15:25:27.623 +0200: %DOT11-4-MAXRETRIES: Packet to client 0025.9cde.0fc5 reached max retries, removing the client

    i found something about how to reach the maximum N speed
    Factors that Affect 802.11n Throughput
    There are circumstances where 802.11n devices cannot operate at their  maximum capable data rates. There are various reasons why this occurs.  This is the list of factors that affect 802.11n throughput:
    When 802.11n clients operate in a mixed environment with 802.11a or  802.11 b/g clients, 802.11n provides a protection mechanism to  interoperate with 802.11a or 802.11 b/g clients. This introduces an  overhead and reduces the throughput of 802.11n devices. Maximum  throughput is achieved in Greenfield mode where only 802.11n clients exist.
    Factors such as Channel width, Guard Interval and Reduced IFS (RIFS) play a major role in the bandwidth. Table 1 and Table 2 show how these factors affect the bandwidth.
    Clients ability to send a Block Ack instead of individual frame acknowledgements.
    MCS Index configured on the WLC.
    Proximity to AP—Clients closer to the AP experience higher data  rates. As clients move farther away from the AP, signal strength  reduces. As a result, data rate decreases steadily.
    RF environment—Amount of noise and interference in the environment.  The less the noise and interference, the greater the bandwidth.
    Encryption/ Decryption—Encryption in general reduces the throughput  due to the overhead involved in the data encryption/decryption process.  However, advanced encryption standards, such as AES, can provide better  throughput when compared to other encryption standards, such as TKIP and  WEP.
    Wired Network Infrastructure—Bandwidth of the wired infrastructure  determines the speed of the traffic to and from the wired network to the  wireless clients.
    If using an AP1250, change the AP to H-REAP mode for a 5-10% boost.
    If using an AP1140, keep the AP in local mode and enable TCP MSS on the controller. Use the config ap tcp-adjust-mss enable all 1363 command in order to enable it.
    Disable RRM scanning to prevent any throughput drops when going off channel. This can yield a 1-3% improvement.
    Disable RLDP to ensure the AP does not attempt to connect to rogue devices during testing.
    Use a Wireless Controller 5508 as the data plane is superior to the 4404-series.
    My questions are:
    1. How i can i put the access point to operate only in N mode (because all my clients are N)
    2.The guard interval can be modify ?
    3. How to put my AP in H-REAP (can i do this without WLC?)
    4. How to disable RRM
    5.How to disable RLDP.
    Thank you.

  • Optimize JPG image size reduction by reduced compression quality vs. reduced pixels?

    I have many images of slides scanned at high res (4800 DPI, maximum pixels 5214x3592).   Although I will be saving these as lossless TIFs, I also wish to make JPGs from them that I wish to be just less than 5 MB in file size.  Aside from cropping, I know I can achieve such a reduction of JPG file size by a combination of saving to lower quality JPG compression or reducing image size.  My question is, what is theoretically or practically better, achieving this mostly by reducing image total pixels or by reducing  JPG compression quality.  Thank you

    Thank you Doug.  The comments on extensive uniform blue sky vs. marked variation in color seem well taken, I'll keep this method of choosing in mind.  My goal is to create a JPG family photo archive of the highest quality images that I can make for future use by non-technical descendants (thus it will supplement the TIF archive that holds the best quality versions of the same images but that may not be usable to novices).  As I cannot anticipate exactly how the JPGs will be used, I just want them to be the best possible, while still being of a size that can be uploaded to, say, Costco (5 MB size limit) for making enlargements. 
    In general, I am often left curious as to how exactly Photoshop carries out its algorithms and how different factors influence the outcome.  So often, one read "just try different techniques and see what looks the best".  But I am always left wondering, what is the theory behind this and has it been systematically studied and worked out and published.  In so many disciplines, such as medicine, the methods of optimization has been evaluated, systematized, and fully described.  I have not yet explored what may be found in technical journals, but I'm sure much of this good stuff must be available somewhere. It would be nice to have a "How Things Work" that actually explains what Photoshop is doing under the hood.
    Thanks again.

  • Cant open robhelp file today

    Hi All
    I am on hold forever with adobe this morning.  I can't open my help file today.  I have robohelp 8 and working in robohelp for html.
    Yesterday I realized my project was in the wrong path, so I copied all my files over in explorer to the correct path and went back into robohelp and worked from the correct location no problem.  Today, I cant get in and receiving an error that newfolder 2 is missing, I dont even use this folder.
    I hope you can read error and help me. It wants me to delete folder from project mgr.
    Also, should I install that update that is recently announced.
    thanks
    Caryn

    *Application*
    1.  I have one address html page that is not working for field level help.  Yes - it wont find page unless I am able to move it to my correct path location from robohelp than my field level help will work.
    2.  My drop down to retrieve the complete help file is retrieving the wrong html page.
    Depending on your output, could be a CHM or could be WebHelp or FlashHelp. But that sounds like you simply haven't defined the default topic properly. I checked and my detault topic looks right - again correct path?
    3.  I am not confident all my html pages are coming from correct folder in my c drive.
    For compiling/generating? Or when you summon help from the application? see above?
    4.  application resides in c drive
    Normally CHM files are used for applications that exist on the C drive. yes that was just to let you know/
    *I/E*
    1.  My project files reside in 3 locations but I work off c drive.  My c drive (correct path) a "new folder" which I dont want and the shared drive (copy of project that gets backed up).
    Not sure how that factors into I/E. Assuming here that I/E means Internet Explorer? yes
    *Robohelp*
    1.  My address html page is in the right folder location. (not working in application).
    Does "address html page" mean a RoboHelp topic named "address.htm"? yes
    2.  All pages in t.o.c are in new folder path on c drive i dont want.
    Are you meaning the TOC has links to locations you don't wish to see? If so, change the location in the RoboHelp application. Pretty simple to do. Yes exactly, I am stuck please tell me how to do this in both t.o.c and project mgr without messing up my map id, index, etc.
    3.  Only address tab shows in correct folder in project mgmt all other show in the "new folder."
    I'm not sure what you mean with "address tab" showing in a correct folder. this is the only page that has the correct path but it is not working in application
    ALSO, i noticed I am having the same problem with the wrong path on a different help file i am also working on.
    Please reply
    thanks
    Caryn

  • Knowledge Search Relevancy

    Hello,
    The knowledge search results on webclient have a relevancy for each result.
    Can anyone explain
    1. How this factor is calculated?
    2. How to influence this field if we think that this is not accurate?
    3. Does the search includes dependent knowledge base in the search results? For example, if we search solution database (SDB), is the SDB attachment knowledge base that is configured as a dependent knowledge base of SDB considered in the search?
    I know that SAF does something to assign a relevancy factor. But need to know more details regarding this.
    thanks
    Prakash

    Hi Prakash,
    I also need information about the Knowledge search relevancy and how this is calculated.  Did you manage to find anything out about this?
    Kind Regards
    JoJo

  • Inaccuracies in AGPS on iphone 5s

    I compared the GPS accuracy for digital mapping between my iPhone 4s( running 6.1.3) and my iPhone 5s (running 7.0.4).The 4s, which has no cellphone service and had no wi-fi connection at the time, was more accurate than the 5s.The 5s was conistently off 15-20 ft, usually to the south. Sample was small.

    AGPS/GPS/GLONASS is only accurate to within 15-20 feet, remember how fudge factors/margins of error work? It's coming from space and/or from a tower miles away, its understandable to not always be spot on.
    First time I went to Amsterdam, the maps said that the Museum of Medieval torture was the location of our hotel. Which was actually 200 meters from where the museum was. So you gotta get a good basemap and provider first before pointing fingers.
    Plus, when moving, the accuracy will increase (more reference points)
    Just did an on-hand test of the 4S and 5, they both pinned the exact same spot in the maps.
    Who is your provider?
    What do you use maps for?
    How much accuracy do you need?

Maybe you are looking for

  • How to read data in CATS DB?

    Hello Experts, We are maintaing our time data in a thrid party system. And it is transfered to CATS DB. From there it is tranferred to IT 2001, IT 2002 and IT 2010. Now we have an issue, the data that is maintained in 3rd Party system is correct, but

  • Will Graphics Card Help Aperture on Mac Pro?

    I've been using Aperture for many years on a variety of Mac hardware. I have 5 or 6 image libraries, ranging in size from 50gb to 250gb. I have no referenced images, do not use "faces" or other CPU-intensive features, and often perform tasks which re

  • DBMS_JOB.SUBMIT ERROR

    Hi,there, I scheduled my job at 3pm as follows, I run this job at 1pm, but my table has been changed immediately when I issue dbms_job.run at 1pm,how come it runs in advance?? I use Ora9.2,I found no job_queue_interval parameter, thanks ur idea in ad

  • Problem in update PO's partner function using BAPI_PO_CHANGE

    Hi All, I have some problem when i try to update PO partner function using BAPI_PO_CHANGE. If i update partner function where business partner number is vendor (eg. GS) , it run successfully. But when I try to update partner function where business p

  • MLB.TV nothing but blur after Upgrade

    I have always had a bit of a love-hate relationship with MLB.TV on the Apple TV but for most of this season, with the occasionally glitch or buffer it has been OK. That was up until last Friday night when I did the update on my 3rd Gen. Now the momen