Scott03

774 Reputation

10 Badges

19 years, 327 days

MaplePrimes Activity


These are answers submitted by Scott03

I have fixed the problem for the private message for this user. Scott
To get the answer you are looking for just run a simplify on the answer you are getting. You can do this either by calling simplify or by right-clicking on the answer and select "Simplify". Also, the simplify can be avoided if you change the assumption from your first attempt to assume(b>0); Scott
I have tried your code exactly with 0.5 in the I14 spot and the code worked as I would expect. I am getting 1.262773635 in both Excel with the call that you gave and within Maple 11.02 when the excel portions were taken out. I am using Excel 2003 with Maple 11.02 Make sure that the Maple Add-on for Excel is selected in the Excel Add-ins before trying to run this code (or else you just get the #NAME? in the cell. Out of curiosity, what is returned from the following call? =Maple("interface(version)"); Scott
Are you trying to execute the Excel command within Excel or move it to Maple? If you are trying to run this in Excel, what version of Excel are you using and what version of Maple is being used? Finally, what do you get? Scott
Sorry, I should have looked closer to your question. From the help page I would say that no there aren't other cases other than dummy variables. Looking at the code for depends(), the has() function is called and if it gives false, depends() will return a false. If has() returns true, I believe it sees if it is type dependent. The help page gives a warning that "If f is a complicated expression, then depends may not be able to determine that it is independent of x. In such cases, f should simplified before depends is called." Therefore there must be a complicated enough expression that the function cannot determine if the variable is dependent or not. But I haven't been able to find one that will do this. Scott
The Int function is just the inert form of the int command. This is used often in cases where you want Maple to display the call without performing the integration. By passing the inert form to evalf or value, you can then get maple to evaluate the function. In the example, if int was used, then Maple would have automatically performed the integration and in this case both has and depends would have returned false. Scott
You can do the first thing in Maple on putting the two plots on one plot. But in Maple 11 and prior versions, there is no capability for a second y axis. Below is your worksheet that shows how this can be done for temperature and pressure. View 185_simple ideal xy.mw on MapleNet or Download 185_simple ideal xy.mw
View file details Scott
As the help pages indicate, 'has' checks to see if the expression given contains a certain expression or set of expressions while depends if the expression mathematically dependent on the expression. One example where they give a different result is the following f := Int(g(t), t = a .. b); has(f,t); depends(f,t); In the above case, the 'has' call will return true while the 'depends' call returns false. Scott
One other option before calling the evalf function is to call allvalues on the RootOf functions So on your case you would call solve({y=2*x-5,y=2*x^2+2*x-21},{x,y}); allvalues(%); evalf(%); Scott
So you have two equations now 2500 a + 50 b + c = 50 d + 8 and 100 a + b = d Since you have two equations and four unknowns, you won't have one solution but a family of solutions which are valid. You can get maple to solve these two equations (pass them to solve as a set or list). This can be done by calling solve({2500 a + 50 b + c = 50 d + 8, 100 a + b = d}); As for the second question, there are many solutions for this as well since there is a plane tangent to the curve at the point (3,0) where every line that goes through that point is a valid solution. If you are just looking for just one line and not the plane, then just take a partial derivative of the curve in one of the variables and follow the steps in the other forum topic. Scott
I have fixed Robert's post to read how he intended. Scott
Could you let us know where are you getting stuck at so we can help you solve this instead of answering the lab for you. As for your f30prime(4), if you have a function like f:=x->sin(x) You would call D[1$30](f)(4); Scott
Here are some hints to get you started. For the first question, you will need to go review what does it mean to differentiable and continuous. You will find that you need a value for f(x) and f'(x) over the range. Since you have a piecewise function, you will need to find an equation where ax^2+bx+c evaluated at x=50 equals d*x also at 50. Also, the slope of d*x will need to equal the slope (or derivative) of ax^2+bx+c at x=50. For the second question, I would go to this previous forum topic where there is a step by step method on how to do this. Using those steps you should be able to apply it to this question. As for the third question, what is f30(4)? Scott
Doing a google search for 'sierpinski carpet maple' turned up this document which looks informative and has some Maple code to do this. The code appears to be written with an older version of Maple so I made some changes so that it can run in Maple 11. You can get the corrected version of the program that was created by Kyriakos Papadopoulos here. View 185_Sierpinski Carpet.mw on MapleNet or Download 185_Sierpinski Carpet.mw
View file details EDIT: I would use Robert's code below since it is a lot smaller and runs a lot faster since it utilizes functions that are already in Maple. Scott
For the first one you could try the following: Student:-Calculus1:-Roots(4*sin(x)^2+2*cos(x)^2 = 4, x); This would return the following: Warning, the expression has an infinity of roots, some examples of which are given [- 3/2 Pi, 1/2 Pi, 5/2 Pi] For the second question, you will need to find u first. So using the above function you would get the following: Student:-Calculus1:-Roots(sin(u) = 3/5, u); Warning, the expression has an infinity of roots, some examples of which are given [-arcsin(3/5) - Pi, -arcsin(3/5) + Pi, -arcsin(3/5) + 3 Pi] Therefore, just assign u to one of these and evaluate the trig functions. Scott
First 16 17 18 19 20 21 22 Last Page 18 of 30