Untitled 1
-
Upload
erika-garcia -
Category
Documents
-
view
225 -
download
5
Transcript of Untitled 1
In[1]:=
Plot@8x^2, x^2 Sin@xD^2<, 8x, -5 Π, 5 Π<, PlorStyle ® [email protected], RGBColor@0, 0, 1D<D
Plot::optx :
Unknown option PlorStyle in PlotA9x2, x
2Sin@xD2=, 8x, -5 Π, 5 Π<, PlorStyle ® [email protected], RGBColor@0, 0, 1D<E. �
In[2]:= PlotA9x2, x2 Sin@xD2=, 8x, -5 Π, 5 Π<, PlorStyle ® [email protected]`D, RGBColor@0, 0, 1D<EPlot::optx :
Unknown option PlorStyle in PlotA9x2, x
2Sin@xD2=, 8x, -5 Π, 5 Π<, PlorStyle ® [email protected], RGBColor@0, 0, 1D<E. �
In[3]:= PlotA9x2, x2 Sin@xD2=, 8x, -5 Π, 5 Π<, PlotStyle ® [email protected]`D, RGBColor@0, 0, 1D<E
Out[3]=
-15 -10 -5 5 10 15
50
100
150
200
250
In[4]:=
f@x_D = x^3 - 2
Out[4]= -2 + x3
In[5]:= f@4DOut[5]= 62
In[6]:=
Plot@f@xD, 8x, -1, 1<D
Out[6]=
-1.0 -0.5 0.5 1.0
-2.5
-2.0
-1.5
-1.0
In[15]:= Clear@x, yDf@x, yD = e-x2-y2
Out[16]= e-x2-y2
In[17]:= Plot3D@f@x, yD, 8x, -2, 2<, 8y, -2, 2<DPlot3D::exclul : 8Im@eD -0< must be a list of equalities or real-valued functions. �
Out[17]=
-2
-1
0
1
2-2
-1
0
1
2
-1.0
-0.5
0.0
0.5
1.0
Clear@x, yD;�
Clear@fD;�
Out[28]= 88Null<, 8�<<
In[20]:= f@x_, y_D = e-x2-y2
Out[20]= e-x2-y2
2 Untitled-1
In[27]:= Plot3D@f@x, yD, 8x, -2, 2<, 8y, -2, 2<D
Out[27]=
-2
-1
0
1
2-2
-1
0
1
2
-1.0
-0.5
0.0
0.5
1.0
In[30]:= Clear@fD;f@X_D = AbsAx2 - 4E;
In[32]:= Plot@f@xD, 8x, -3, 3<D
Out[32]=
-3 -2 -1 1 2 3
1
2
3
4
5
In[33]:= 81, 2, 3, 4<Out[33]= 81, 2, 3, 4<
In[34]:= primeros4 = 81, 2, 3, 4<Out[34]= 81, 2, 3, 4<
In[35]:= Table@i, 8i, 1, 15<DOut[35]= 81, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15<
Untitled-1 3
In[36]:= primeros4 = Table@i, 8i, 1, 15<DOut[36]= 81, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15<
In[37]:= ListPlot@primeros4D
Out[37]=
2 4 6 8 10 12 14
2
4
6
8
10
12
14
In[38]:= ListPlot@primeros4, PlotStyle ® [email protected]
Out[38]=
2 4 6 8 10 12 14
2
4
6
8
10
12
14
In[49]:= Clear@fD;
In[59]:= puntos = TableB 1 - x2 , 8x, -1, 1, 0.05<FOut[59]= 80., 0.31225, 0.43589, 0.526783, 0.6, 0.661438, 0.714143, 0.759934, 0.8, 0.835165, 0.866025,
0.893029, 0.916515, 0.93675, 0.953939, 0.968246, 0.979796, 0.988686, 0.994987, 0.998749, 1.,
0.998749, 0.994987, 0.988686, 0.979796, 0.968246, 0.953939, 0.93675, 0.916515, 0.893029,
0.866025, 0.835165, 0.8, 0.759934, 0.714143, 0.661438, 0.6, 0.526783, 0.43589, 0.31225, 0.<
4 Untitled-1
In[60]:= ListPlot@puntos, PlotStyle ® [email protected]
Out[60]=
10 20 30 40
0.2
0.4
0.6
0.8
1.0
ListPlot::lpn : puntos is not a list of numbers or pairs of numbers. �
ListPlot::lpn : puntos is not a list of numbers or pairs of numbers. �
In[54]:= p = TableB:x, 1 - x2 >, 8x, -1, 1, 0.05<FOut[54]= 98-1., 0.<, 8-0.95, 0.31225<, 8-0.9, 0.43589<, 8-0.85, 0.526783<, 8-0.8, 0.6<,
8-0.75, 0.661438<, 8-0.7, 0.714143<, 8-0.65, 0.759934<, 8-0.6, 0.8<, 8-0.55, 0.835165<,8-0.5, 0.866025<, 8-0.45, 0.893029<, 8-0.4, 0.916515<, 8-0.35, 0.93675<, 8-0.3, 0.953939<,8-0.25, 0.968246<, 8-0.2, 0.979796<, 8-0.15, 0.988686<, 8-0.1, 0.994987<, 8-0.05, 0.998749<,95.55112 ´ 10-17, 1.=, 80.05, 0.998749<, 80.1, 0.994987<, 80.15, 0.988686<, 80.2, 0.979796<,80.25, 0.968246<, 80.3, 0.953939<, 80.35, 0.93675<, 80.4, 0.916515<, 80.45, 0.893029<,80.5, 0.866025<, 80.55, 0.835165<, 80.6, 0.8<, 80.65, 0.759934<, 80.7, 0.714143<,80.75, 0.661438<, 80.8, 0.6<, 80.85, 0.526783<, 80.9, 0.43589<, 80.95, 0.31225<, 81., 0.<=
In[61]:= ListPlot@p, PlotStyle ® [email protected], PlotJoined ® TrueD
Out[61]=
-1.0 -0.5 0.5 1.0
0.2
0.4
0.6
0.8
1.0
In[56]:= f@x_D = 3 x;
g@x_D = x;
h@x_D = f@xD + g@xD
Untitled-1 5
In[73]:= 4 x
SolveA3 x2 + 2 x - 1 � 0, xEOut[73]= 4 x
Out[74]= :8x ® -1<, :x ®1
3>>
In[71]:= :8x ® -1<, :x ®1
3>>
Out[71]= :8x ® -1<, :x ®1
3>>
In[72]:= x1 = polysol@@1DDPart::partd : Part specification polysolP1T is longer than depth of object. �
Out[72]= polysolP1T
Part::partd : Part specification polysolP1T is longer than depth of object. �
In[75]:= Clear@fD;SolveA3 x2 + 2 x - 1 � 0, xE
Out[76]= :8x ® -1<, :x ®1
3>>
In[78]:= x1 = polysol@@1DD;Part::partd : Part specification polysolP1T is longer than depth of object. �
6 Untitled-1
In[81]:=
PolarPlot@Sin@5 AD, 8A, 0, Pi<D
Out[81]=
-0.5 0.5
-0.5
0.5
1.0
In[82]:=
Solve@83 x - 2 y � 5, x + 3 y � 2<, 8x, y<DOut[82]= ::x ®
19
11, y ®
1
11>>
In[83]:=
Solve@x^2 + 1 � 0, xDOut[83]= 88x ® -ä<, 8x ® ä<<
In[84]:=
curvasenoidal = Plot@Sin@xD, 8x, 0, 2 Π<, PlotRange ® 88-2, 2 Π<, 8-1, 1<<D
Out[84]=-2 2 4 6
-1.0
-0.5
0.5
1.0
Untitled-1 7
In[92]:= curvasenoidal = Plot@Sin@xD, 8x, 0, 2 Π<, PlotRange ® 88-2, 2 Π<, 8-1, 1<<, AspectRatio ® 0.5D
Out[92]=-2 2 4 6
-1.0
-0.5
0.5
1.0
In[93]:=
CosB 6 Pi5
F
Out[93]=1
4J-1 - 5 N
In[94]:=
CosA30 °E
Out[94]=3
2
In[95]:=
CosA90 °EOut[95]= 0
In[96]:=
DayofWeek@81983, 7, 23<DOut[96]= DayofWeek@81983, 7, 23<D
<<Miscellaneous`Calendar`
�
Syntax::bktmop : Expression "<< Miscellaneous`Calendar`=" has no opening "8".
Syntax::sntxi : Incomplete expression; more input is needed.
<<Miscellaneous`Calendar`
�
In[98]:= DayOfWeek@81983, 7, 23<DOut[98]= DayOfWeek@81983, 7, 23<D
8 Untitled-1
In[99]:=
<< Miscellaneous`Calendar`
General::newpkg :
Miscellaneous`Calendar` is now available as the Calendar Package. See the Compatibility Guide for updating
information. �
DayOfWeek::shdw : Symbol DayOfWeek appears in multiple contexts 9Miscellaneous`Calendar`,
Global`=; definitions in context Miscellaneous`Calendar` may shadow or be shadowed by other definitions. �
In[100]:= DayOfWeek@81983, 7, 23<DOut[100]= Saturday
In[101]:= LimitB Sin@xDx
, x ® 0FIn[106]:= 1
LimitB x5 - 32
x - 2, x ® 2F
Out[106]= 1
Out[107]= 80
In[109]:= Limit@Log@x^2D � x^2, x ® 0DOut[109]= -¥
In[110]:= Limit@Log@x^2D � x^2, x ® ¥D
Out[110]= 0
In[111]:= Limit@Log@x^2D � x^2, x ® -¥DOut[111]= 0
PlotB @Log@x^2D � x^2, 8x, -1, 1<D�
�
Set::write : Tag Times in t x_ is Protected. �
Untitled-1 9
Plot@Log@x^2D � x^2, 8x, -1, 1, 0.005<D�
�
Out[113]=
-1.0 -0.5 0.5 1.0
-250
-200
-150
-100
-50
In[114]:=
Clear@fD;In[115]:= f@x_D = x^3 - 4;
In[116]:= q = Simplify@Hf@x + hD - f@xDL � hDOut[116]= h2 + 3 h x + 3 x2
In[117]:= Limit@q, h ® 0DOut[117]= 3 x2
In[121]:= D@f@xD, 8x, 2<DOut[121]= 6 x
In[123]:=
Clear@fD
10 Untitled-1
x@t_D = t + Cos@tD;y@t_D = t - Sin@tDParametricPlot@8x@tD, y@tD<, 8t, 0, 6 Pi<D
Out[134]= t + Cos@tD
Out[135]= t - Sin@tD
Out[136]=
5 10 15 20
5
10
15
In[137]:= D@xx, 8x, 1<DOut[137]= xx H1 + Log@xDL
In[145]:= Clear@fDf@x_D = x^2 J x + 1
3 N - Sin@xD;
Plot@f@xD, 8x, -1, 1<D
Out[150]= ::
-3 -2 -1 1 2
1
2
3
4
>, 8�<>
In[151]:= D@f@xD, 8x, 1<D
Untitled-1 11
In[158]:=x2
3 H1 + xL2�3 + 2 x H1 + xL1�3- Cos@xD
q = D@f@xD, 8x, 1<DSolve@8q<, 8x<D
Out[158]=x2
3 H1 + xL2�3+ 2 x H1 + xL1�3
- Cos@xD
Out[159]=x2
3 H1 + xL2�3+ 2 x H1 + xL1�3
- Cos@xD
Solve::eqf :x
2
3 H1+xL2�3+2 x H1+xL1�3
-Cos@xD is not a well-formed equation. �
Out[160]= SolveB:x2
3 H1 + xL2�3+ 2 x H1 + xL1�3
- Cos@xD>, 8x<F
Solve::eqf :x
2
3 H1+xL2�3+2 x H1+xL1�3
-Cos@xD is not a well-formed equation. �
In[165]:= FindRootB: x2
3 H1 + xL2�3 + 2 x H1 + xL1�3- Cos@xD>, 8-1, -0.5<F
FindRoot::nlnum1 :
The function value ;;0.333333 x
2
H1.+xL2�3+2. x H1.+xL1�3
-1. Cos@[email protected]? is not a list of numbers with dimensions
81< when the arguments are 8-1.<. �
In[166]:= FindRootB: x2
3 H1 + xL2�3 + 2 x H1 + xL1�3- Cos@xD>, 8-1, -0.5`<F
Clear@fDFindRoot::nlnum1 :
The function value ;;0.333333 x
2
H1.+xL2�3+2. x H1.+xL1�3
-1. Cos@[email protected]? is not a list of numbers with dimensions
81< when the arguments are 8-1.<. �
Out[166]= FindRootB:x2
3 H1 + xL2�3+ 2 x H1 + xL1�3
- Cos@xD>, 8-1, -0.5<F
Clear@fD
12 Untitled-1
In[169]:= f@x_D = x^2 J x + 13 N - Sin@xD;
Plot@f@xD, 8x, -1, 1<D�
Out[170]= ::
-1.0 -0.5 0.5 1.0
-0.2
0.2
0.4
0.6
0.8
1.0
>, 8�<>
In[171]:= D@f@xD, 8x, 1<DOut[171]=
x2
3 H1 + xL2�3+ 2 x H1 + xL1�3
- Cos@xD
In[172]:= sol1 = FindRoot@f'@xD � 0, 8x, -0.5<D
Out[172]= 8x ® -0.913313<
In[173]:= sol2 = FindRoot@f'@xD � 0, 8x, 1<DOut[173]= 8x ® 0.394546<
In[174]:= x1 = sol1@@1, 2DDOut[174]= -0.913313
In[175]:= f@x1DOut[175]= 1.1607
In[177]:= x2 = sol2@@1, 2DDOut[177]= 0.394546
In[178]:= f@x2DOut[178]= -0.210473
In[180]:= Clear@y, xD;In[181]:= sol = DSolveBy'@xD � x Hx - 1L23
, y@xD, xF
Out[181]= ::y@xD ®3
40H-1 + xL IH-1 + xL2M1�3 H3 + 5 xL + C@1D>>
Untitled-1 13
In[186]:=
Plot@8sol@@1, 1, 2DD �. c@1D ® 2, sol@@1, 1, 2DD �. c@1D ® -2, sol@@1, 1, 2DD �. c@1D ® -1,
sol@@1, 1, 2DD �. c@1D ® 1<, 8x, -4, 4<D�
Out[186]= ::
-4 -2 2 4
0.2
0.4
0.6
0.8
1.0
>, 8�<>
TraditionalFormBTraditionalFormB expr FF
14 Untitled-1
In[187]:= ::
-4 -2 2 4
0.2
0.4
0.6
0.8
1.0
>, 8�<>
TraditionalFormBTraditionalFormB expr FF
Out[187]= ::
-4 -2 2 4
0.2
0.4
0.6
0.8
1.0
>, 8�<>
Out[188]//TraditionalForm=
expr
In[189]:=
à Log@xD âx
Out[189]= -x + x Log@xD
In[192]:= à0
1
ex2
âx
Untitled-1 15
In[194]:= N@e DawsonF@1D, 15D no es correctooooo
Out[194]= 0.538079506912768 correctooooo e es no
In[195]:=
ân=1
¥ 1
n2
Out[195]=Π2
6
In[196]:= äi=5
10
5 i
Out[196]= 2 362 500 000
16 Untitled-1