Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I am using Mathematica and I want my for loop to produce tht[1]=tht[[1]][t], tht[2]=tht[[2]][t], ... and so on. but i keep getting an error partd:

I am using Mathematica and I want my for loop to produce tht[1]=tht[[1]][t], tht[2]=tht[[2]][t], ... and so on. but i keep getting an error partd: th[[1]] is greater than the depth. Does anyone know a quick fix to this? My code is below. Thanks. Clear n=4; xt=x[t]; yt=y[t]; dxt=D[xt,t]; dyt=D[yt,t]; For[c=2,c<=n+1, tht[c-1] =th[[c-1]][t]; dtht[c-1]=D[tht[c-1],t]; ++c] phit=phi[t]; 

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 Universal Database V7.1 Application Development Certification Guide

Authors: Steve Sanyal, David Martineau, Kevin Gashyna, Michael Kyprianou

1st Edition

0130913677, 978-0130913678

More Books

Students also viewed these Databases questions

Question

What is conservative approach ?

Answered: 1 week ago

Question

What are the basic financial decisions ?

Answered: 1 week ago

Question

love of humour, often as a device to lighten the occasion;

Answered: 1 week ago

Question

orderliness, patience and seeing a task through;

Answered: 1 week ago

Question

well defined status and roles (class distinctions);

Answered: 1 week ago