Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is my Matlab code, in the symsum part how do I only sum the odd terns from 1 to a specific n instead of

This is my Matlab code, in the symsum part how do I only sum the odd terns from 1 to a specific n instead of all the terms

%RPHW9PartB clc clear syms n D = 3; Siga = 2; B=pi.*1/20; fun = @(x) (10-abs(x)).*cos(B.*x); Sn = (2/20)*integral(fun,-10,10); L = sqrt(D/Siga); An = (Sn/Siga)/(1+((B*n.^2).*(L.^2))); x = linspace(-10,10); flux = symsum(An,n,1,1)*cos(pi*x/20);

plot(x,flux)

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

Students also viewed these Databases questions

Question

to encourage a drive for change by developing new ideas;

Answered: 1 week ago

Question

4 What are the alternatives to the competences approach?

Answered: 1 week ago