| CalcLabs with Maple V
Solutions: Jacobowitz, Assignment 1 Page 10 (7,9,20) 7. Simplify the following expression: > (2*x^2)/(x^3-1) + (3*x)/(x^2-1); simplify(``);
> plot(y,x= -100..100,-5000..5000);
The discontinuity of the graph near x=1 is no longer apparent because the magnitude of the xrange is much greater than the width of the discontinuity. Therefore the discontinuity is not visible. > ln(a*b/c);expand(``);
Page 31 (7,8,13,17,18) 7. Plot the following expression and evaluate its limit. > f:= (x^5 + 1) / (x^2 - 1);
> plot(f, x = -2..0);
> Limit(f,x=-1);limit(f,x = -1);
8. Plot the following function and evaluate its limit. > f:= x -> (x^4 - 16)/(x^2 - 4);
> plot(f(x), x= 1..3);
> Limit(f(x),x=2);limit(f(x),x=2);
13. Perform the following steps on the given expression. > f:= sqrt((1/3)*x^2 *sin(x + Pi/6));
> plot (f,x=0..4, 0..1); Note: The x and y ranges were choosen to clarify the graph for the first connected segment right of x=0. If your graph looks different, this is fine becuase your x and y ranges may be different.
The domain of this function is 0 to infinity. > Digits := 11;
> fsolve( sin(x + Pi/6)=0,x= 0..3);
Using the answer from fsolve as an approximation, we see that the endpoints of the first connected segment are (0,0) and (0, 2.6179938780) 17. Find decimal approximations for all roots of the equation below. > f:= 1/x^4 - 3 + x^2;
> plot(f,x=-10..2, 0..1000);
> fsolve(f=0,x,x=-1..0);fsolve(f=0,x,x=-150..0);fsolve(f=0,x,x=0..1);fsolve(f=0,x,x=0..150);
18. Find the equation of the cubic that passes through points (1,2.4), (3,5.6),(4, -2.7),(7,4.7). > p:=x -> a*x^3 + b*x^2 + c*x + d;
> eqn1:=p(1)=2.4; eqn2:=p(3)=5.6;
eqn3:=p(4)=-2.7; eqn4:=p(7)=4.7;
> soln:=solve({eqn1,eqn2,eqn3,eqn4},{a,b,c,d});
> f:=subs(soln,p(x));
> plot(f, x=0..10);
Solution to book problem is pending However, here are some hints: 1.) To display a limit use the Limit command. To find the numeric value of the limit use the limit command. 2.) The arguments (or parameters)
of these commands are:
limit(f,x=a,dir) and Limit(f,x=a,dir) where f is an expression |
|