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.

12 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
60 views

Plotting gradient and newton directions for parametric system of nonlinear ODEs

I have a bucket (system) of chemical kinetics models, a nonlinear dynamical system given by: where kf >= 0 and kr >= 0 are the parameters. The initial conditions are A(0) = B(0) = 1 and C(0) = 0. I'...
3
votes
0answers
149 views

Writing a function to set up and solve the least squares problem

I have setup the explicit line equation for a given set of points using least-squares approximation and the knots computed below. I have tried extending the same code for use with an arbitrary degree, ...
0
votes
0answers
31 views

Newton's method for multivariate equations

This is what I have so far: ...
0
votes
0answers
72 views

Finding an interpolating function for $\arcsin(x)$

Using 11 equally spaced nodes on the interval [0,1], find the interpolating polynomial $p(x)$ of degree 10 for the function $\arcsin(x)$. Plot $f(x) = \arcsin(x) - p(x)$. Find the maximum ...
0
votes
0answers
55 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] ...
0
votes
0answers
58 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 ...
0
votes
1answer
83 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 ...
0
votes
0answers
46 views

Devise a compact storage mode

I am writing a code for solving a symmetric band matrix by Cholesky decomposition. I need to store the matrix by defining only the non-zero diagonals of the matrix not the full matrix with band size $...
0
votes
0answers
75 views

Application of ODE

I got to do some assignment for my Student Research. 1. Cat and mouse are in room which is shape in sqare . Cat is in one topic square, mouse in another one. In topic square oposite than cat position ...
0
votes
0answers
57 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 ...
0
votes
0answers
72 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
0answers
129 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. ...