Karl

0 Reputation

One Badge

14 years, 285 days

MaplePrimes Activity


These are replies submitted by Karl

Thank you so much for your continued patience and help. I input exp(-3x) and it gave me my result.

 

I was mistaking the notation in the formula I was given for epsilon.

Thank you so much for your continued patience and help. I input exp(-3x) and it gave me my result.

 

I was mistaking the notation in the formula I was given for epsilon.

Okay so I changed my coding a bit;

> G := unapply(g, x);
> p := G(f(x));
> h := unapply(p, x);

h:= x->   (1/4)*Pi+1/tan(sqrt(abs(1+sin(e^(-3*x))^4*cos(ln(x+1))^2)))

 

> dh := D(h);

 

-(1/2)*(1+tan(sqrt(abs(1+sin(e^(-3*x))^4*cos(ln(x+1))^2)))^2)*(1, 1+sin(e^(-3*x))^4*cos(ln(x+1))^2)*(-12*sin(e^(-3*x))^3*cos(ln(x+1))^2*cos(e^(-3*x))*e^(-3*x)*ln(e)-2*sin(e^(-3*x))^4*cos(ln(x+1))*sin(ln(x+1))/(x+1))/(tan(sqrt(abs(1+sin(e^(-3*x))^4*cos(ln(x+1))^2)))^2*sqrt(abs(1+sin(e^(-3*x))^4*cos(ln(x+1))^2)))

 

That image is actually different from what appears on my screen, which I think may be what is screwing up the program trying to evaluate it. Right after the main set of brackets ( 1+tan(sqrt(abs(1+sin(e^(-3*x))^4*cos(ln(x+1))^2)))^2) on my output it says "abs", and then the rest is displayed. Is this a problem with the absolute value not being differentiated?

Okay so I changed my coding a bit;

> G := unapply(g, x);
> p := G(f(x));
> h := unapply(p, x);

h:= x->   (1/4)*Pi+1/tan(sqrt(abs(1+sin(e^(-3*x))^4*cos(ln(x+1))^2)))

 

> dh := D(h);

 

-(1/2)*(1+tan(sqrt(abs(1+sin(e^(-3*x))^4*cos(ln(x+1))^2)))^2)*(1, 1+sin(e^(-3*x))^4*cos(ln(x+1))^2)*(-12*sin(e^(-3*x))^3*cos(ln(x+1))^2*cos(e^(-3*x))*e^(-3*x)*ln(e)-2*sin(e^(-3*x))^4*cos(ln(x+1))*sin(ln(x+1))/(x+1))/(tan(sqrt(abs(1+sin(e^(-3*x))^4*cos(ln(x+1))^2)))^2*sqrt(abs(1+sin(e^(-3*x))^4*cos(ln(x+1))^2)))

 

That image is actually different from what appears on my screen, which I think may be what is screwing up the program trying to evaluate it. Right after the main set of brackets ( 1+tan(sqrt(abs(1+sin(e^(-3*x))^4*cos(ln(x+1))^2)))^2) on my output it says "abs", and then the rest is displayed. Is this a problem with the absolute value not being differentiated?

The reason I used unapply there is because those steps are for a previous question and the question says:

 Use the unapply command to convert the expression for g into a Maple function, and call this function G.  Then construct the composite function h(x)=G(f(x)).  Call the composite function h.  Then differentiate this composite function with respect to x to obtain h'(x).  Call this derivative dh.

To which I have;
> G := unapply(g, x);
> h := G(f(x));
> h := unapply(h(x), x);
> dh := D(h);
>

Then the next question is;

Find the numerical (decimal) value of the function h'(x) for x = square root of 2.  
Store the result under the name Answer1.

The reason I used unapply there is because those steps are for a previous question and the question says:

 Use the unapply command to convert the expression for g into a Maple function, and call this function G.  Then construct the composite function h(x)=G(f(x)).  Call the composite function h.  Then differentiate this composite function with respect to x to obtain h'(x).  Call this derivative dh.

To which I have;
> G := unapply(g, x);
> h := G(f(x));
> h := unapply(h(x), x);
> dh := D(h);
>

Then the next question is;

Find the numerical (decimal) value of the function h'(x) for x = square root of 2.  
Store the result under the name Answer1.

Page 1 of 1