Sunday 30 September 2012

Addition of 2 Matrix in HTML

<html>
    <head>
        <script type="text/javascript">
                      var a=new Array();
                      m=parseInt(prompt("Enter number of rows  in first matrix",""));
                      n=parseInt(prompt("Enter number of columns in first matrix",""));
                     
                      for(i=0;i<m;i++)
                      {
                a[i]=new Array(m);

                               for(j=0;j<n;j++)
                               {
                                a[i][j]=parseInt(prompt("Enter Element in matrix 1"," "));
                               }
                      }
                      document.write("First matrix is ");
                      document.write("<br>");
                      for(i=0;i<m;i++)
                      {
               
                               for(j=0;j<n;j++)
                               {
                                document.write(a[i][j] + " ");
                               }
                               document.write("<br>");
                      }  
                     document.write("<br><hr>");
         
                      x=parseInt(prompt("Enter number of rows in second matrix "));
                      y=parseInt(prompt("Enter number of columns in second matrix"));

                      a1=new Array();
                     
                      for(i=0;i<x;i++)
                      {
                a1[i]=new Array(x);

                               for(j=0;j<y;j++)
                               {
                                a1[i][j]=parseInt(prompt("Enter Element in second matrix",""));
                               }
                      }

                     alert(" Press Ok to countinue...");

                      document.write("second matrix is ");

                      document.write("<br>");

                      for(i=0;i<x;i++)

                      {
               
                               for(j=0;j<y;j++)
                               {
                                document.write(a1[i][j] + " ");
                               }
                               document.write("<br>");
                      }

                     
                      if((m==x )&& (n==y))
                      {
                              document.write("Sum of two matrix");
                               document.write("<br>");
                               sum=new Array();
                      for(i=0;i<x;i++)
                              {
                sum[i]=new Array(x);
                                for(j=0;j<y;j++)
                                {
                                       sum[i][j]=a[i][j]+a1[i][j];
                                        document.write(sum[i][j]+ "  ");
                                }
                                         document.write("<br>");
                           
                             }

                      }
                     else
                      {
                document.write("Invalid matrix");
              }

                        
                                   
                 </script>
        </head>
       <body/>
</html>          

Thursday 6 October 2011

Acer launches World's Thinnest Ultrabook in India

Acer India has launched a new range of computing devices called Ultrabooks. Ultrabooks are a new class of mobile computers that marry the performance and capabilities of today's laptops with tablet like features.                                                       


Interestingly, while several people use the term ultrabook loosely for a device that's
a cross between an under-powered netbook and a full-fledged notebook, most are unaware of the fact that 'Ultrabook' is an Acer trademark.

Acer is the number one netbook brand globally and is now leading the pack with innovation in this new line of devices that integrate the features of notebooks and tablets. The recent Q2 2011 market research reports from both Gartner and IDC position Acer as the No. 2 PC vendor in India.



Acer Aspire S3 is the first ultrabook to be launched in India. Powered by 2nd generation Intel®CoreTMprocessor family, Aspire S3 promises best in class performance combined with improved responsiveness and energy conscious innovations. The shining beacons of Aspire S3 are Acer Green Instant On and Acer Instant Connect features. Instant On delivers fast responsiveness and also provides energy efficiency due to enhanced power management. Aspire S3 provides up to7 hours of battery life. This feature enables the notebook to fast resume in 1.5 seconds from Sleep (6 seconds from Deep Sleep). Instant Connect provides access to internet in just 2.5 seconds - four times the faster than conventional connections - when resuming. The embedded lithium-polymer battery is super-lightweight and also prevents any accidental bursts.

"With the launch of the Acer Aspire S3 Ultrabook, we have charted a new line of course to the mobile computing world by effortlessly combining the essential features of both a notebook and a tablet," says S.Rajendran, Chief Marketing Officer, Acer India.

All that performance and increased responsiveness is packed into an elegant form factor with an aerodynamic design. At just 13 mm (0.51") thickness, Aspire S3 weighs less than 1.4 kgs. The Silver Mg-Al alloy chassis is feather-light, but also strong as steel. The integrated design LCD cuts the bezel thickness by a third but is protected by a resilient case design with aluminum cage for maximum protection.The fingerprint-free Silver-Aluminum alloy lid has a silky smooth feel to it. The innovativedesign also provides a unique thermal efficiency for comfortable use. The bottom of the notebook is vent-free and warm components are placed away from palmreand touchpad area. Air channeled from the keyboard keeps the notebook cool while warm air is directed to the rear.

Acer clearly intends to position Aspire S3 as a multimedia machine as well. With Intel® HD Graphics 3000 in the hood, Aspire S3 also includes Dolby® Home Theater® v4 for vibrant, cinema-style surround sound and HDMI with HDCP support that allows you to transfer 1080p HD video to monitors, projectors, and TVs. Aspire S3 comes with an integrated 1.3 megapixel camera and includes the latest Bluetooth 4.0+HSR technology. As of now, Aspire S3 only includes USB 2.0 ports, but this is a rollover change and upcoming units in production might see inclusion of USB 3.0 ports.

Acer Aspire S3 is inspired by nature and captures the spirit of the smallest bird species, the Hummingbird. It takes analogies from the diminutive form, yet the agility and aerodynamic prowess of the bird. The Acer Aspire S3 will be available at Rs. 49,999/- onwards. The Ultrbookhas great specifications at this price point, packed in an easy-to-carry, elegant form-factor. With a strong festivebuying season in the last quarter of the year, Acer is targeting sales of 2500-3000 units per month and in all likeliness, they might not be off the mark on this one.





Saturday 1 October 2011

Apple seeks worldwide iCloud music rights

September 30, 2011 2:55 PM PDT







Apple seeks worldwide iCloud music rights



Managers at iTunes are trying to lock down worldwide cloud-music rights, CNET has learned.
Sources familiar with the discussions between Apple, record companies, and music publishers, say Apple is seeking international music licenses for its iCloud service. The licenses would be similar to those the company has already obtained for U.S. operations, the sources said. If iTunes managers wrap up negotiations in time, they could announce the offering at a Tuesday press event at Apple headquarters in Cupertino, Calif., where the company is expected to roll out the iPhone 5, the next generation of the iconic smartphone.
The sources said Apple is close to reaching deals with rights holders but nothing is signed. An Apple representative declined to comment.
In June, Apple's then-CEO Steve Jobs announced an online cloud storage service called iCloud that's designed to make it simple to wirelessly share music, e-mail, photos, calendars, and other data between handheld gadgets and desktop computers. The new Apple service attempts to harness the power and flexibility of cloud computing for home users. It uses techniques that have already proved popular with businesses to make it easier to move data stored on Apple's servers back and forth between multiple devices and applications.

Related links
Exclusive: Apple near cloud-music deals
Jobs announces Apple's iCloud storage service
Expect Apple to charge for music cloud
Apple said that only music bought "from iTunes" can be transferred to the cloud and shared with other devices--a fact that may limit iCloud's allure for music aficionados who have transferred gigabytes of music from legally purchased CDs to their computers. Apple's answer to that is "iTunes Match," which allows users to store their "entire collection," including music ripped from CDs, on iCloud servers for $24.99 a year.
It works by analyzing songs in your collection, comparing them against the 18 million songs in the iTunes Store, and then making those available immediately at 256 kbps, even if the originals were lower quality.
Some of the countries that could receive access to iCloud include Germany, France, and the United Kingdom, the sources said. Apple is facing a growing number of competitors in the digital music sector, including Amazon, Spotify, and Turntable.fm.

Read more: http://news.cnet.com/8301-31001_3-20114115-261/apple-seeks-worldwide-icloud-music-rights/#ixzz1ZYXQ79XJ





http://news.cnet.com/8301-31001_3-20114115-261/apple-seeks-worldwide-icloud-music-rights/