Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

in matlab plz output exactly like Required File: Program_12_1.m Use symbolic expressions to complete the problem pictured below. Use the pretty() function to display your

in matlab plz

image text in transcribed

output exactly like

image text in transcribed Required File: Program_12_1.m Use symbolic expressions to complete the problem pictured below. Use the pretty() function to display your final answers for parts a,b, and c. Please ensure your output matches the example output. 350 Chapter 11: Symbolic Math 11.10 PROBLEMS 1. Define x as a symbolic variable and create the two symbolic expressions: S1=(x4)2(x+3)2+16x4andS2=x36x2x+30 Use symbolic operations to determine the simplest form of following expressions: a) S1S2. b) S2S1. c) S1+S2. d) Use the subs command to evaluate the numerical value of the result from part c for x=2. Example Output Output for Program_12_1 written by Geoff Berl. OriginalSymbolicEquations:S1=16x(x+3)2+(x4)24S2=x6x2x+30Parta:S1S2-S1S2=(16x(x+3)2+(x4)24)(x+6x2x330)collect(S1xS2)=2x49x320x2+57x+90pretty(S1xS2)4x39x220x2+57x+90 Part b: S1/S2 S1divS2 = (16x(x+3)2+(x4)24)/(x3+6x2+x30) simple(S1/S2) S1divS2 = (2x+3)/(x3+6x2+x30) pretty(S1/S2) 2x+3 x+6x+x30 ------------- Part c: S1+S2 ---------------- S1plusS2 = 15x(x+3)2+(x4)26x2+x3+26 expand (S1+S2) S1plusS2 = x36x2+x+33 pretty(S1+S2) 32 x6x+x+33 ------ Part d: subs(S1plusS2, x,2) S1plusS2_x_eq_2 = 19

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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