Skip to content

Commit bc1d584

Browse files
committed
Made cells initialization cells
1 parent 4db4c19 commit bc1d584

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

UseChangeVariables.wls

+15-15
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
(*If you find any bug or change of variables that does not give the correct answers please message me on github https://github.com/BoGGoG/Mathematica-ChangeVariables or best: Create an issue on github =)*)
1414

1515

16-
(* ::Input:: *)
17-
(*packagePath = FileNameJoin[{NotebookDirectory[], "ChangeVariables.wl"}];*)
18-
(*Get[packagePath]*)
16+
(* ::Input::Initialization:: *)
17+
packagePath = FileNameJoin[{NotebookDirectory[], "ChangeVariables.wl"}];
18+
Get[packagePath]
1919

2020

21-
(* ::Input:: *)
22-
(*?ChangeVariables*)
21+
(* ::Input::Initialization:: *)
22+
?ChangeVariables
2323

2424

2525
(* ::Section:: *)
@@ -32,16 +32,16 @@
3232
(*If you want to change from x to u=x^2, then you write:*)
3333

3434

35-
(* ::Input:: *)
36-
(*ChangeVariables[x f[x], x, u, (#^2&)]*)
35+
(* ::Input::Initialization:: *)
36+
ChangeVariables[x f[x], x, u, (#^2&)]
3737

3838

3939
(* ::Text:: *)
4040
(*Note the two solutions, because x = +- Sqrt[u].*)
4141

4242

43-
(* ::Input:: *)
44-
(*ChangeVariables[Cos[x] f[x,y], x, u, (Cos[#] &)]*)
43+
(* ::Input::Initialization:: *)
44+
ChangeVariables[Cos[x] f[x,y], x, u, (Cos[#] &)]
4545

4646

4747
(* ::Text:: *)
@@ -52,13 +52,13 @@
5252
(*Derivatives also work: x -> u = Sqrt[x]*)
5353

5454

55-
(* ::Input:: *)
56-
(*ChangeVariables[x D[f[a,b,x,y,z], x], x, u, (#^(1/2)&)]*)
55+
(* ::Input::Initialization:: *)
56+
ChangeVariables[x D[f[a,b,x,y,z], x], x, u, (#^(1/2)&)]
5757

5858

59-
(* ::Input:: *)
60-
(*ChangeVariables[D[f[x],x], x, r, (1/#&)]*)
59+
(* ::Input::Initialization:: *)
60+
ChangeVariables[D[f[x],x], x, r, (1/#&)]
6161

6262

63-
(* ::Input:: *)
64-
(*ChangeVariables[Cos[x] D[f[x,y], {x,2}], x, u, (Cos[#] &)]*)
63+
(* ::Input::Initialization:: *)
64+
ChangeVariables[Cos[x] D[f[x,y], {x,2}], x, u, (Cos[#] &)]

0 commit comments

Comments
 (0)