Note: this is from http://softwaremaniacs.org/playground/showdown-highlight/
To see the markdown equivalent from this text, see the RAW of this file.
This is an overview of Markdown's syntax. For more information, visit the [Markdown web site].
| \(y = c\) \(y' = 0\)<br><br>조건: \(x∈ℝ\)<br><br>증명: \(\frac{c-c}{h}=0\) | |
| \(y = x^n\) \(y' = nx^{n-1}\)<br><br>조건: \(n∈ℝ\) (일반적으로 \(x>0\))<br><br>증명: 이항정리 | |
| \(y = f(x)g(x)\) \(y' = f'g + fg'\)<br><br>조건: 미분가능<br><br>증명: 정의 전개 | |
| \(y = \frac{g(x)}{f(x)}\) \(y' = \frac{g'f - gf'}{f^2}\)<br><br>조건: \(f≠0\)<br><br>증명: 곱미분 활용 | |
| \(y = \sin x\) \(y' = \cos x\)<br><br>조건: \(ℝ\)<br><br>증명: \(\lim \frac{\sin h}{h}=1\) | |
| \(y = \cos x\) \(y' = -\sin x\)<br><br>조건: \(ℝ\)<br><br>증명: 삼각항등식 | |
| \(y = \tan x\) \(y' = \sec^2 x\)<br><br>조건: \(x≠\frac{\pi}{2}+k\pi\)<br><br>증명: 몫미분 | |
| \(y = \cot x\) \(y' = -\csc^2 x\)<br><br>조건: \(x≠k\pi\)<br><br>증명: 몫미분 | |
| \(y = \sec x\) \(y' = \sec x\tan x\)<br><br>조건: \(\cos x≠0\)<br><br>증명: 역수미분 | |
| \(y = \csc x\) \(y' = -\csc x\cot x\)<br><br>조건: \(\sin x≠0\)<br><br>증명: 역수미분 |
Note: this is from http://softwaremaniacs.org/playground/showdown-highlight/
To see the markdown equivalent from this text, see the RAW of this file.
This is an overview of Markdown's syntax. For more information, visit the [Markdown web site].
| package com.example.app.shape | |
| import kotlin.math.cos | |
| import kotlin.math.min | |
| import kotlin.math.sin | |
| import kotlin.math.sqrt | |
| import kotlin.math.tan | |
| internal class SmoothCorner( | |
| private val cornerRadius: Float, |
| void withIf() { | |
| Map<int, void> items = { | |
| 1: (), | |
| 2: (), | |
| 3: (), | |
| 4: (), | |
| 5: (), | |
| }; | |
| items.forEach( |
| val Int.isPrime: Boolean | |
| get() { | |
| if (this <= 1) return false | |
| for (i in 2..<this) { | |
| if (this % i == 0) return false | |
| } | |
| return true | |
| } |
| import java.util.* | |
| class TextEditor(initialValue: String = "") { | |
| private val operationHistory = Stack<String>().apply { push(initialValue) } | |
| val value: String | |
| get() = operationHistory.peek() | |
| fun append(text: String) { | |
| operationHistory.push(operationHistory.peek() + text) |
| import java.util.* | |
| const val RESULT_YES = "YES" | |
| const val RESULT_NO = "NO" | |
| fun isBalanced(s: String): String { | |
| val stack = Stack<Char>() | |
| s.forEach { char -> | |
| when (char) { | |
| '[' -> stack.push(']') |
| import java.util.* | |
| const val QUEUE_ENQUEUE = 1 | |
| const val QUEUE_DEQUEUE = 2 | |
| const val QUEUE_PRINT_HEAD = 3 | |
| fun queueUsingTwoStacks( | |
| numberOfQueues: Int, | |
| scanner: Scanner = Scanner(System.`in`), | |
| ) { |