This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> differentiate cos(e^(x^2)) | |
<think> | |
Okay, so I need to differentiate the function cos(e^(x²)). Hmm, that sounds like a chain rule problem. Let me try to remember how the chain rule | |
works. From what I recall, if you have a composite function, say f(g(x)), then the derivative is f'(g(x)) * g'(x). So in this case, my outer function | |
is cos(u), where u is e^(x²). | |
Alright, so let's break it down step by step. First, I'll consider the outer function, which is cosine of something. The derivative of cos(u) with | |
respect to u is -sin(u). So that part would be straightforward: if I have cos(e^(x²)), its derivative should start with -sin(e^(x²)). | |
But wait, I'm not done yet because there's also the inner function e^(x²) which needs to be differentiated. That means I need to apply the chain rule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
├─┬ [email protected] | |
│ ├─┬ [email protected] | |
│ │ ├─┬ [email protected] | |
│ │ │ └─┬ [email protected] | |
│ │ │ └── [email protected] | |
│ │ ├── [email protected] | |
│ │ └─┬ [email protected] | |
│ │ └── [email protected] | |
│ ├─┬ [email protected] | |
│ │ ├── [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
├─┬ [email protected] | |
│ ├─┬ [email protected] | |
│ │ ├─┬ [email protected] | |
│ │ │ └─┬ [email protected] | |
│ │ │ └── [email protected] | |
│ │ ├── [email protected] | |
│ │ └─┬ [email protected] | |
│ │ └── [email protected] | |
│ ├─┬ [email protected] | |
│ │ ├── [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
wget -O - http://debian.hyperdex.org/hyperdex.gpg.key | apt-key add - | |
cat >> /etc/apt/sources.list.d/hyperdex.list << EOF | |
deb [arch=amd64] http://debian.hyperdex.org wheezy main | |
EOF | |
apt-get update | |
apt-get install -y hyperdex java-hyperdex-client python-hyperdex-admin python-hyperdex-client |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@UIApplicationMain | |
class AppDelegate: UIResponder, UIApplicationDelegate, GGLInstanceIDDelegate { | |
var window: UIWindow? | |
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { | |
// register for push notifications | |
var types = UIUserNotificationType.Alert | UIUserNotificationType.Sound | UIUserNotificationType.Badge | |
var settings = UIUserNotificationSettings(forTypes: types, categories: nil) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Net; | |
public class HelloWorld | |
{ | |
static public void Main () | |
{ | |
string api_key = "xxxxx"; | |
string api_secret = "xxxxx"; | |
string country = "xx"; |