# Questions tagged [homework]

Homework questions are welcome, as long as they are asked honestly, explain the problem, and show sufficient effort. Please do not use this as the only tag for a question. Please do not add this tag to questions by other people unless they explicitly say that their question is part of their homework.

181 questions
Filter by
Sorted by
Tagged with
54 views

### Numerical solution of a PDE having boundary conditions

I am solving a PDE using Mathematica. and I would like to know how to implement the condition that the three-variable function u[t, x, z] ...
55 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 ...
60 views

### How can I animate two beads each sliding on its own frictionless rail? [closed]

I am told to animate two beads sliding on rails in Mathematica, but I am very confused on how to get a mass on a rail and it move up and down the rail.
333 views

### Dot products and For-loops

I'm taking a class where we're working with matrix applications inside of Mathematica. In this case, we're analyzing senatorial votes that have been numericized so that a value of 1 corresponds to "...
243 views

### How to solve Laplace transform question for a system in Mathematica

I know how to use the LaplaceTransform function but am struggling to do this with a system with two ODEs. This is my question: Use Mathematica and the Laplace ...
86 views

### Write a function areaPerimeter[f,g,x] [closed]

Write a function areaPerimeter[f,g,x] which takes as input two polynomials f and g depending on the variable x, and does the following. If the curves y=f(x) and y=g(x) intersect at exactly two ...
102 views

### Derive a polygon from the midpoints of the sides of a given polygon [closed]

Write a function that creates a new figure (a new broken line) out of a given broken line. It would take as parameter a list of (max) 20 points representing the closed broken line. The output must be ...
146 views

### Euler's method initial value problem — how should I plot the solution?

We are given the following initial value problem: $\qquad y' = t\,e^{3\,t} -2\,y, \quad 0 \le t \le 1, \quad y(0)=0$ Use Euler`s method to approximate the solution to this initial value problem. In ...
122 views

### How do I plot a Laplace transform?

I have been looking everywhere for help on this issue and cannot find a solution that works. Here is the assignment. I have figured out how to find the Laplace transform, but I do not know how to ...
78 views

### Drawing an approximate visualization of an inequality using ArrayPlot

I need to write a function that returns graphic visualization of the two-dimensional figure described with equation: $\qquad P = \{(x, y) \in R^2: 4+2x < x^2+y^2<9\}$ I have to use the n x n ...
39 views

### Finding tangents and curvature of a parametric curve in 3D [duplicate]

I am in a calculus 3 class and cannot figure out how to get Mathematica to solve for unit tangent, normal tangent, binormal tangent, and curvature without getting a supper messy result. This is the ...
66 views

### Monte Carlo simulation using modified rejection technique

Plot the probability density function $\qquad w(x)=(1/(1+x^2))(1/x^{0.5})$ for $(0 < x < 1)$ Make up the subroutine flowchart to get the random numbers $x$, using the modified ...
455 views

### For Loop and Sum

I am requested to do a sum of the first fifty positive even numbers by using For loop. The For loop that I created is ...
81 views

### Interval determination with mathematica [closed]

I am given the solution y=yo/(1-yo x^2). If yo>0, the solution is valid only on ( -1/sqrt(yo), 1/sqrt(yo) ). How is this determined? I need a proof like answer and I need it programmed in ...
70 views

### Creating matrices using a Do-loop

Here is an image of current assignment; I am not able to do step 6 to 8 When I try to do the Do-loop, it states that the {i, j} does not have appropriate bounds. ...
30 views

### Why are these arrows not plotting?

I'm very new to mathematica, so pardon me for such a simple question. I have tried to follow the syntax of the "Arrow" documentation(https://reference.wolfram.com/language/ref/Arrow.html), but I ...
67 views

### How can I make an arrow's shaft more visible?

{Graphics[{Arrowheads[.1], Arrow[{{0, 0}, {2, 1}}]}], Graphics[{Arrowheads[.1], Arrow[BezierCurve[{{0, 0}, {1, 1}, {2, 0}}]]}]} say I have the above code. Can I ...
82 views

### Make Arrows Smaller

I have the following program that describes a 3D curve in space with an osculating circle and TNB vectors moving with the curve. The arrows indicating the TNB vectors are way too large making it seem ...
43 views

41 views

### Rationalize number

I must calculate the critical point on the function f[x_] := (x^2 - Abs[x - 10])/(x - 5) After plotting, I looked for the minimum where it looked to be (around ...
85 views

### Trying to generate random even number

I am trying to generate a random even number, and then try to write the list of primes that are composing it as Goldbach conjecture says. It's just a test to learn how to use mathematica, so I would ...
51 views

### Creating a 3D version of the rule 90 cellular automaton

I need help. I want to create a 3D version of the rule 90 cellular automaton, but I don't know how to do it. Please help me. It is for a class in the theory of chaos. this is my code ...
### For what values of $k$ is matrix invertible
I want to know what value $k$ can not be for the matrix A = {{4, 0, 2}, {-1, 2, 0}, {3, 1 , k}} to have an inverse (be invertible). I now you use the ...