Skip to content

Instantly share code, notes, and snippets.

View alfredreynold's full-sized avatar
😀

Alfred Reynold alfredreynold

😀
View GitHub Profile
@alfredreynold
alfredreynold / gist:2f9a00cbede9241440b296e66bac263a
Created September 5, 2019 16:20 — forked from floriankugler/gist:6870499
Mapping of NSURLConnection to NSURLSession delegate methods. Created by Mattt Thompson.
NSURLConnection | NSURLSession
------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------
NSURLConnectionDelegate connectionShouldUseCredentialStorage: |
------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------
NSURLConnectionDelegate connection:willSendRequestForAuthenticationChallenge: | NSURLSessionDelegate URLSession:didReceiveChallenge:completionHandler:
| N
cos 4x = 8(cos x)^4 - 8(cos x)^2 + 2 - 2 + 1
cos 4x = [ 8(cos x)^4 - 8(cos x)^2 + 2 ] - 1
Sectioned off part of the right side, then factored it
cos 4x = [2 ( cos x )^2 - 1] [4 (cos x)^2 - 2] - 1
cos 4x = [2 ( cos x )^2 - 1] 2*[2 (cos x)^2 - 1] - 1