Questions tagged [education]

Questions about the use of Mathematica/WL in education and/or about teaching Mathematica, or learning it.

119 questions
4 views

Find the shaded part area? [migrated]

Two squares of side 5 and 2 respectively. They are touching each other. Diagonals of the square are joined. find the area of the shaded part?
61 views

Solve a Differential equation analytically instead of numerically

I want to solve the differential equations (shown below in the list 'eqs') analytically instead of numerical. Using NDSolve the following code works perfectly fine but using DSolve it doensn't. I ...
430 views

How to use Mathematica in AWS cloud?

I have a free account in AWS cloud for 1 year for $750$ hours. How to run Mathematica in AWS cloud? And is Mathematica chargeable in AWS cloud?
30 views

Define a function when given a graph with points (0,3),(2,5),(10,4),(6,2) [closed]

Define a function when you are given a graph with points (0,3),(2,5),(10,4),(6,2)
25 views

Limit function and DirectedInfinity as output: Interpretation

I tried to compute the following limit: In:= Limit[-A/2 x - 2 x, x -> +Infinity] Out= DirectedInfinity[-2 - A/2] Does the output tell me that the ...
38 views

Adding a Cosine function to alter the shape of the initial cosine function

I would like to be able to add a raised cosine to a "standerd" raised cosine. With a timedelay which I could manipulate (so the shape of the standerd cosine function is altered, meaning the function ...
51 views

How to do this numerical integration via Simpson’s rule?

this is the question. Develop a code to perform a numerical integration for the following functions using Simpson’s rule. You must implement the algorithm in the form of a Module[ ]. Partition the ...
372 views

How can I obtain and work with a Platonic dodecahedron?

I want to obtain and work with a Platonic dodecahedron like this one: http://comsics.usm.my/tlyoon/teaching/ZCE111/1819SEM2/projects/Dodecahedron_platonic4.gif I dont have basic knowledge needed to ...
334 views

How to do this Padovan spiral using Mathematica?

how to do this unusual pendovan spriral? can anyone help me ?
852 views

How to verbalise code in Mathematica? [closed]

How do you read an expression like? x + y /. x -> 2 Looking up /. and -> in Mathematica docs it says ReplaceAll and Rule. But you would not pronounce the ...
109 views

Individualised test paper generation (and marking)

I would like to use mathematica to create individualised tests that can be printed out for students to complete(handwritten). I would also like to be able to generate individualised printed answers. ...
80 views

Cause of loop inefficiencies? [closed]

While I have seen a lot of documentation regarding the inefficiencies of loops in Mathematica, I am still curious as to why-- while I know it is intentionally developed this way to allow for improved ...
53 views

Piecewise function inside Integrate - Wrong result

I tried to evaluate the following integral: ...
91 views

Verifying equality $(\vec a \times \vec b)^2 = \left| \vec a \times \vec b \right| ^2$

I'm trying to verify the equality $(\vec a \times \vec b)^2 = \left| \vec a \times \vec b \right| ^2$ in Mathematica. How can I do it? Thank you for your time.
65 views

why my code doesn't work [closed]

my code is eqn = A ((3 n + 1)/(n + 1)) ( 1 - (r/R)^((n + 1)/n) * B) == C *(n/r) * D[T[r], {r, 2}] DSolve[{eqn, T[R] == Tw, T' == 0}, T[r], r] output is <...
532 views

Iteration on a matrix

I want to update "matrix1" 100 times. "matrix3" will be new "matrix1" and it will iterate 100 times. Should I use a loop or function? First iteration is: ...
49 views

How to save the output data of second order differential equation in Mathematica?

I am beginner in Mathematica. I am trying to save the output data as a text file but I could not save ! ...
75 views

Problem with the Derivative Operator (')

I was working through some physics equations and came to a dead stop when I couldn't get the Derivative operator to work on equations with 2 variables. An example I ...
68 views

Interpretation of PolarPlot

I tried to plot the function $r=-2t$ with $t$ in $[0,2\pi]$: PolarPlot[-2 t, {t, 0, 2 Pi}, AxesLabel -> {x, y}] When $t=\pi/4$, I have: $$r=-\pi/2=-1.57$$ ...
I am wondering if it is possible to get domain and codomain of a function in Mathematica (by using only built-in functions if possible). For example, I would like to give as input the function $tan(x)$...