Friday 17 February 2017

Cons of Nokia P1 2017



These are some few trivial reasons for not buying a high end phone like Nokia P1                                                                      





  • No FM Radio support.
  • Comes as Non Removable Battery Device.
  • Slippery and Delicate.
  • It does'nt support OTG
  • Camera Performance in Low Light photography is not up to mark.
  • No Flash in Front Camera
  • No Optical Image Stabilisation
  • Still Not decided warranty certificate of Nokia P1


                                                  The other side of the story is                                  

If you are planning to purchase the smartphone within the budget range of 50-60K, you can go with NOKIA P1 right away without any hesitation. You will get the top notch features that are available on the high-end smartphones like Samsung, Apple, Nexus and others.The Nokia P1 is one one the devices that mark the reincarnation of Nokia in the smartphone market. Unlike the previous editions of Nokia phones, this smartphone has been given the shape with the latest Android OS and powerful specifications. And similar to the previous editions, this smartphone too is equipped with a great quality lens, both primary and secondary. So if you were a fan of Nokia smartphone, like many others, you can definitely choose this one.

Friday 11 November 2016

Android or iOS





Comparison between android and iOS


Developer
Google
Apple Inc.
Initial release
September 23, 2008
July 29, 2007
Source model
Open source
Closed, with open source components.
Customizability
A lot. Can change almost anything.
Limited unless jailbroken
File transfer
Easier than iOS. Using USB port and Android File Transfer desktop app. 
Photos can be transferred via USB without apps.
More difficult. Media files can be transferred using iTunes desktop app.
 Photos can be transferred out via USB without apps.
Available on
Many phones and tablets. Major manufacturers are Samsung, Motorola, LG, HTC
 and Sony. Kindle Fire also uses a modified version of Android. Nexus line of devices
 is pure Android, others bundle manufacturer software.
iPod Touch, iPhone, iPad, Apple TV (2nd and 3rd generation)
Calls and messaging
Google Hangouts. 3rd party apps like Facebook Messenger, WhatsApp, Google Duo
 and Skype all work on Android and iOS both.
iMessage, FaceTime (with other Apple devices only). 3rd party apps like Google Hangouts,
 Facebook Messenger, WhatsApp, Google Duo and Skype all work on Android and iOS both.
App store , Affordability and interface
Google Play – 1,000,000+ apps. Other app stores like Amazon and Getjar also distribute 
Android apps. (unconfirmed ".APKs")
Apple app store – 1,000,000+ apps
Video chat
Google Hangouts and other 3rd party apps
FaceTime (Apple devices only) and other 3rd party apps
OS family
Linux
OS X, UNIX
Programmed in
C, C++, Java
C, C++, Objective-C, Swift
Open source
Kernel, UI, and some standard apps
The iOS kernel is not open source but is based on the open-source Darwin OS.
Widgets
Yes
No, except in NotificationCenter
Internet browsing
Google Chrome (or Android Browser on older versions; other browsers are available)
Mobile Safari (Other browsers are available)
Voice commands
Google Now (on newer versions)
Siri
Maps
Google Maps
Apple Maps (Google Maps also available via a separate app download)
Market share
81.5% of smartphones globally (2014), 3.7% of tablets in North America (as of Jan'13) 
and 44.4% of tablets in Japan (as of Jan'13). In the United States in Q1 2013 - 52.3% phones,
 47.7% tablets.
14.8% of smartphones globally (2014), 22.8% of tablets globally (2014), 87% of tablets in
 North America (as of Jan'13) and 40.1% of tablets in Japan (as of Jan'13)
Available language(s)
32 Languages
34 Languages
Latest stable release and Updates
Android 6.0.1 (Marshmallow) (October 2015)
9.3 (March 21, 2016)
Alternative app stores and side loading
Several alternative app stores other than the official Google Play Store. It's risky to
 download apps from other stores because they may be malware.
Apple blocks 3rd party app stores. The phone needs to be jailbroken if you want to 
download apps from other stores.
Battery life and management
Many Android phone manufacturers equip their devices with large batteries with a longer life.
Apple batteries are generally not as big as the largest Android batteries. However,
 Apple is able to squeeze decent battery life via hardware/software optimizations.
Rooting, bootloaders, and jailbreaking
Access and complete control over your device is available and you can unlock the 
bootloader.
Complete control over your device is not available.
File manager
Yes, available.
Not available
Cloud services
Native integration with Google cloud storage. 15GB free, $2/mo for 100GB, 1TB
 for $10. Apps available for Amazon Photos, OneDrive and Dropbox.
Native integration with iCloud. 5GB free, 50GB for $1/mo, 200GB for $3/mo, 1TB
 for $10/mo. Apps available for Google Drive and Google Photos, Amazon Photos,
 OneDrive and Dropbox.
Photos & Videos backup
Apps available for automatic backup of photos and videos. Google Photos allows 
unlimited backup of photos if you select the low-resolution option. OneDrive, Amazon 
Photos and Dropbox are other alternatives.
Up to 5 GB of photos and videos can be automatically back up with iCloud. All other
 vendors like Google, Amazon, Dropbox, Flickr and Microsoft have auto-backup apps 
for both iOS and Android.
Security
Android software patches are available soonest to Nexus device users. Manufacturers
 tend to lag behind in pushing out these updates. So at any given time a vast majority
 of Android devices are not running updated fully patched software.
Most people will never encounter a problem with malware because they don’t go 
outside the Play Store for apps. Apple's software updates support older iOS devices also.









iOS ☺ and Android ☹.
Everything seems smoother, faster and more stable.
Unlocking iPhone with fingerprints is more secure and accurate than with Android’s pattern.
Widgets in Notification area is more convenient solution than widgets on Android’s launcher.
Now I can spy for people! I mean taking pictures without annoying shutter sound.
Dedicated shutter release hardware button, easier to take selfies with main camera.
 I tend to not sacrifice the quality by taking pictures with front camera. It was so
 difficult and unreliable to hold the phone in one hand and hit the small shutter 
button on the other side of it.
I can install Bank of America app, I couldn’t do it on Android due to my phone’s
 original location, which is not United States. I guess it’s common to some other apps.
Some third party apps are designed with more attention to detail than those for Android.
More control of notifications and data usage.
Torch and calculator are accessible without unlocking the phone.
Easier to uninstall applications.
Easier to upload new music thanks to iTunes. I hated using Android File Transfer MacOS app.
iPhone is integrated into Apple ecosystem tightly, so now I can accept phone calls on Mac
 not touching the phone, use same Notes app across platform with data stored in iCloud
, transfer files over Airdrop, etc.
Apple devices remember Wi-Fi networks and passwords and automatically connect my new 
iPhone in places I was before.
Headphones (AKG K451) remote control designed for Apple devices (well, most of headphones
 on the market are) is way more useful now with activated volume control. Especially it’s 
appreciated when you bring your iPhone in a pocket, and it’s upside down due to location 
of mini jack hole which is at the bottom of the phone, while volume buttons are at the top 
part of device. Without remote control you’ll have to take out your iPhone from the pocket
 to adjust volume.
Probably not Android issue, but headphones suddenly started sound louder and cleaner.
iOS ☹ and Android ☺.
I have a paranoia of very soon worn out Home button, I saw this issue many times, and 

seems like Chinese environment influence my peace of mind. Read @joulee’s story about 
iPhone users in China.
No way to share a photo to Instagram from Photos. You have to do it directly from Instagram.
I’m in Contacts, tap a contact and start ringing. WTF, I was supposed to get a person’s details
 first. Never mind, I can get used to it. What’s worse is if I accidentally tap SMS instead of Call
 (these two icons are very close to each other and have the same colour), I get to Message
 Composing screen. I tap Cancel and get to the list of messages. There is no way to tap another
 Back and get back to the contact details screen. I have to double tap Home button and select
 Contacts app, not forgetting to close Messaging app. So much hassle, Apple!
I can’t open a link to a service with available on my iPhone application inside this application,
 it’s opened in Safari instead. Some services suggest to open the link in the app though, but not
 all, and you still have to load all the data 2 times — Safari and then native app.
I miss people avatars in Contacts.
Can’t download music lyrics from Music app. You have to use iTunes on a computer to add
 lyrics to your audio files.
Can’t attach files in Email app. Can’t attach files from Dropbox composing an email in Gmail 
or Inbox. In Gmail you can attach files from Google Drive though.
It’s a challenge to change Wi-Fi network. You have to leave your current app, 
go to Settings > Wi-Fi. In Android you tap and hold Wi-Fi icon in notification center.


Friday 14 October 2016

Coding the Regula Falsi

The convergce process in the bisection method is very slow. It depends only on the choice of end points of the interval [a,b]. The function f(x) does not have any role in finding the point c (which is just  the mid-point of a and b). It is used only to decide the next smaller interval [a,c] or [c,b]. A better approximation to c can be obtained by taking the straight line L joining the points (a,f(a)) and (b,f(b)) intersecting the x-axis. To obtain the value of c we can equate the two expressions of the slope m of the line L.






Let's take an Equation   :-  x*x*x-17




#include<stdio.h>
 struct iter
 {
     float x1;
     float x0;
 };
 float f(float x)
 {

    float y;
    y=x*x*x-17;

    return y;
 }
 float f1(float x)
 {
     float y1;
      y1=3*x*x;
      return y1;
 }

 void main()
 {
     int n,i;
     float a,b,x0,x1,x2,x3,x4,x5,x6;

     printf("enter the intervals");
     scanf("%f%f" ,&a,&b);
     printf("\nEnter the number of iterations\n");
     scanf("%d",&n);
     if(f(a)*f(b)<0)
     {
         printf("root is possible between interval %f %f " ,a,b);

     }
     else
     {

    printf("root does not lie between %f %f \n" ,a,b);
    exit(1);

     }

 if(fabs(f(a))<fabs(f(b)))
 x0=f(a);

 else

 x0=f(b);
 x0=a;

 printf("xnot is %f \n " ,x0 );
struct iter k[1000];
 k[0].x0=x0;
i=0;
while(n!=0)
{

  k[i].x1=k[i].x0-(f(k[i].x0)/f1(k[i].x0));

 printf("\n%f" ,k[i].x1);
 k[i+1].x0= k[i].x1;

--n;
++i;

}


 }