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.

Filter by
Sorted by
Tagged with
0
votes
2answers
310 views

Double integral [closed]

I am trying to use mathematica to verify a math problem which is a double integral: $$\int \int_D (3x+4)^4 \delta x\delta y$$ with $$0 \leq x \leq 4, 0 \leq y \leq 4,$$ I tried the following: -...
0
votes
1answer
39 views

Drawing function that rotates around y-axis with coordinate transform

At last I solved a math problem and trying to illustrate it in Mathematica TO NOT FORGET. I used that code. I works and I get a cake-form. But I think it's missing a big $x$ and a big $y$ axis in the ...
4
votes
3answers
506 views

Area of volume of revolution

I want to calculate the exact area of this volume: RevolutionPlot3D[ f[x_] = Sqrt[28 x] , {x, 0, 21} , Axes -> True ] Additionally, I wish to see $x$ and $...
0
votes
1answer
43 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 ...
0
votes
1answer
87 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 ...
0
votes
0answers
60 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 ...
1
vote
2answers
182 views

Solve trig equation

I have a simple trig equation: Clear[f, x] f[x_] = Cos[2*x] - 3 Sin[x] + 2 Solve[f[x] == 0, x] I received a very long a complicated reply that I do not ...
1
vote
1answer
90 views

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 ...
0
votes
0answers
43 views

Making Integrals without using mathematics own integral tool. Using rectangle formula [duplicate]

When determined integrals ∫ab f (x) dx become too difficult (almost all in practice) to determine exactly, remains numerical integration. We will look at the simplest, namely the rectangle formula. ...
0
votes
2answers
95 views

What is p[a] for [closed]

I am reading instructions for test on Monday, and I the example below: ...
0
votes
1answer
105 views

Convergent matrix

I had a question where they ask me if a matrix is convergent. Matrix is as below: A = {{-1.7, -12.6, -12.6}, {-1.2, -5.6, -6.6}, {1.5, 7.8, 8.8}} I put it in ...
0
votes
1answer
195 views

How to use Fit with exponential functions? [closed]

"Use Fit to find the fourth degree polynomial that matches best the function $y=e^x$ at the points that have x-coordinates: -2, -1, 0, 1, 2." What I tried: ...
0
votes
2answers
180 views

Calculate area of a triangle

I have another problem that I can't figure out. A triangle har 2 of its summits in points (7.788,0,1.95), (0,7.788,1.95), and the last one on the curve with all the points (7.788,7.788,a^2+1.95), a ...
1
vote
3answers
166 views

Create a plane equation from a point and a line (not normal) [closed]

I have to decide the plane equation in normal form, that goes through the point (3.08,1,4.76) and the line (4.08,3.08,5.76)+ t( 3,6,-3). I have no idea how to do it. I google it and found some ...
0
votes
2answers
307 views

Trig function graphing exercise [closed]

I am trying to figure out how to do the following exercise in Mathematica Graph $y(t)= a \cos t + b \sin t - 0.5 \sin t$ on the interval $0 ≤ t ≤ 6\, π$
0
votes
1answer
109 views

Plot the curve into the xz plane with time interval

At time t ≥ 0, a new laser rocket is at the position: ...
0
votes
0answers
135 views

Operations on a unit circle [duplicate]

For a mathematical problem I have to work with mathematica, but I am not really familiar with mathematica. Can someone help me with the following? Step 1: Make a function f(u) of one parameter, u, ...
3
votes
4answers
199 views

Implicitly defined curve

Consider the curve $C$ defined by the equation $y\, \sin(x)+x\, \sin(y)+x+y=0$. Find all points of the form $(8,y)$ that lie on $C$. For each point found in part 1, evaluate the derivative $dy/dx$...
0
votes
1answer
150 views

How do I plot a family of functions? [closed]

I don't know how to plot these functions in Mathematica. Please show me how to do it.
1
vote
1answer
164 views

How do I find two tangent lines intersect at a specific point on the trace of a function?

Let $f(x) = x^4-60x^3+767x^2+1980x-26000$. Find a equation for the tangent line to the graph of $f(x)$ at the point $(a,\,f(a))$. Give you answer as an equation in variables $y$, $x$, and $a$. Show ...
3
votes
1answer
147 views

Tower of Hanoi list of disks on the rods

I'm currently trying to finish a program that outputs the "radius" of each disk on each rod in lists. I currently wrote this program: ...
1
vote
2answers
335 views

Making an animation of the motion of a particle

I am new here. I just installed Mathematica and am learning the basics. I need to solve three equations of the motion of a particle using Do, ...
0
votes
1answer
78 views

Second order differential equation to two equations of first order

Here is a differential equation x''[t] - eps (a^2 - x[t]^2) x'[t] + w^2*x[t] == 0 boundary conditions are ...
4
votes
2answers
287 views

Strange determinant result

I carried out the determinant of a $4\times4$ matrix in two different ways: with Laplace and without Laplace (see this attachment please). The Laplace's rule is applied "manually" in Mathematica (I ...
0
votes
1answer
207 views

Graphing in Mathmatica

Here I am only concerned with the plotting. I am not new to Mathematica, but i have no idea how to complete part B and graph the angle or velocity or phase diagrams. Any help is appreciated.
2
votes
2answers
74 views

Demonstrate the equality of an equation

I am trying to solve this problem and I have to demonstrate that the expression on the left and the expression on the right are the same. The value of g [r] has already been calculated in Mathematica ...
1
vote
1answer
200 views

Plotting vector fields

I just started using Mathematica and I don't know how to plot these vector fields as streamlines, I looked up the VectorPlot3D function but really don't know ...
1
vote
1answer
347 views

Riemann sum with table of rectangles. rectangles not inside the plot graph [closed]

I was doing an assignment for a class in which I have to do an animation of the Riemann sum and how the area changes as the rectangles divide. So far I have the following but there is a problem with ...
0
votes
2answers
1k views

How do I plot the Fourier series for a square wave? [closed]

f (t) = (4/pi) Sum[(1/n) sin (2 pi (f (t))), {n, 1, Infinity}]
1
vote
2answers
154 views

Finding the mass of a solid bounded by two surfaces

I have bee given the problem: A flying saucer has shape bounded below and above by the functions: $\qquad f(x,y) = 61/5 - 12x/5 + x^2 - 12y/5 +6xy/5 +2y^2/5$ and $\qquad g(x,y) = 15 -...
2
votes
1answer
336 views

How can I use Histogram and Histogram3D on an image?

I have a .jpg image named r. I am using the following code to plot a histogram: ...
0
votes
0answers
74 views

Plot moments as a function of bin size?

I need to plot moments of a distribution as a function of bin size to show whether or not the tails of this data set are Gaussian. My data is in [pastebin.com/nzCs5BwE.][1] Here is how I've plotted ...
0
votes
1answer
75 views

Variable passing

I am having trouble understanding how variables are passed in as parameters. My goal is to create a function f(logical,x,y,z) = Evaluate [logical(x,y,z)] From ...
3
votes
2answers
144 views

How to find $\delta$ for limit type questions

...
1
vote
0answers
91 views

Reflecting the trace of a polynomial about a vertical line [closed]

I am doing this question and up to $b$ and $c$ and I am wondering how I can reflect the graph, I managed to do part $a$. I know the equation for part $b$ is ...
0
votes
0answers
40 views

Plotting DSolve solution on Vector Field [duplicate]

I created a Vector Field for the given problem: Then I solved the problem with certain parameters using the DSolve command, receiving this solution: I want to know how I can plot this solution on ...
0
votes
1answer
763 views

Using Euler's Method [duplicate]

Relatively new with Mathematica and trying to finish this problem, this is the second problem, the previous was the same questions, but a different equation "x-y." I was able to complete that one with ...
1
vote
1answer
65 views

Writing the equation of a function from its plot [closed]

Write the equation of the function graphed here, leave in factored form I think it would be a cosine function, but the way it's shifted to the left makes me question that. I also don't know what "...
1
vote
2answers
957 views

Solving an initial value problem [duplicate]

I am generally confused on how to solve this problem, I was given very little background on how to solve an initial value problem through Mathematica. I believe I have created the graph below ...
1
vote
1answer
118 views

Rate of flow problem

At time t = 0, a 1500-gallon tank contains 1000 gallons of old water. New water flows in at a rate of g[t] == (K E^t)/(0.5 + E^t) gallons/hour. But water is ...
0
votes
2answers
517 views

Solving a projectile trajectory problem [closed]

Hoping someone is able to help me with this problem. I will post the problem and what I am having issues with to allow you to better understand the problem. So I graphed this using the parametric ...
0
votes
1answer
146 views

Truncate multivariate polynomials with real powers

Two months ago I asked a way to truncate a polynomial to a given degree. @Stitch answered my question by writing a program which contained the following function: ...
1
vote
1answer
168 views

Visualization of numerical integration

I have to do a project about numerical integration. My problem is visualizing my method. My code: ...
-5
votes
3answers
125 views

Finding all the perfect integers below 10000 [closed]

I have a homework problem about perfect numbers. I simply did it, but I need to use Divisors, Most, ...
1
vote
2answers
250 views

Is there a way to select the highest exponent of a polynomial expression?

I have a problem to program a particular kind of expression: Sum[1/(k n) (HS[t^k,x^k])^n,{n,1,Infinity},{k,1,Infinity}] where HS[t_,x_] is a polynomial function ...
0
votes
0answers
145 views

how to write the Max of this function / How can i use Max[]

Hi every one I really need your help in this question write the function in the picture nction in Mathematica because I need to make graph... ?? could anyone help me ? I'd appreciate some help. ...
1
vote
1answer
218 views

How to draw 3 vectors using Graphics3D? [duplicate]

Given two vectors A = {1, 0, -2} B = {0, 1, 1} C is the cross product of A and B, so C = {2, -1, -1} Plot vectors ...
-4
votes
2answers
261 views

Polar Curve ArcLength Exact [closed]

Find the exact length of the polar curve r-2cosθ (θ,0,π) I tried regular ArcLength and it didn't work.
0
votes
1answer
830 views

Parametric Curve and Arc Length [closed]

Graph the curve $x=\sin(t) + \sin(1.5 t), y=\cos(t)$ and find its length correct to four decimal places I tried Parametric Plot but it keeps telling me there's arguments against it. ...