Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improved spacing in continuity and limits and added formula in continuity page #657

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
.Calculator__formula {
grid-area: formula;
font-family: math;
margin-top: 150px;

}
.Calculator__example {
grid-area: example;
Expand Down Expand Up @@ -71,6 +73,10 @@
font-size: 1.2rem;
padding-right: 2vh;
}
.Calculator__topic
{
margin-bottom: -300px;
}

@media only screen and (max-width: 992px) {
.Calculator__main {
Expand Down
34 changes: 30 additions & 4 deletions funwithphysics/src/Components/Integration/Topic/Calculator.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,37 @@ function Calculator() {
<br />,
"1. f(a) exists (i.e. f(a) has a finite value)",
<br />,
"2. Limx→a f(x) exists (i.e. the right-hand limit = left-hand limit, and both are finite)",
"2. Lim",
<sub>x→a</sub>,
"f(x) exists (i.e. the right-hand limit = left-hand limit, and both are finite)",
<br />,
"3. Limx→a f(x) = f(a)",
"3. Lim",
<sub>x→a</sub>,
" f(x) = f(a)",
],
formula:
[
"If f(x) is continuous at x = a then,",
<br/>,
"Lim",
<sub>
x→a
</sub>,
"f(x) = f(a)",
<br/>,
"Lim",
<sub>
x→a<sup>-</sup>
</sub>,
"f(x) = f(a)",
<br/>,
"Lim",
<sub>
x→a<sup>+</sup>
</sub>,
"f(x) = f(a)",
<br/>,
],
formula: "Prove LHS = RHS",
process: [
"The function f(x) is said to be continuous in the interval I = [x1,x2] if the three conditions mentioned above are satisfied for every point in the interval I.",
<br />,
Expand Down Expand Up @@ -446,7 +472,7 @@ function Calculator() {
</Helmet>

<div className="Calculator__header">
<h1>{details.topic}</h1>
<h1 className="Calculator__topic">{details.topic}</h1>
</div>
<div className="Calculator__details">
<p>{details.details}</p>
Expand Down