1 00:00:00,940 --> 00:00:02,980 Oh God no we discussed the cord. 2 00:00:03,680 --> 00:00:11,720 But the solution of an action that occurs in maybe a linear action or non-linear occasion. 3 00:00:11,970 --> 00:00:24,270 So in the MATLAB you wouldn't just type seems s y m s with the Space X and you can type again F is equal 4 00:00:24,270 --> 00:00:34,440 to function on X function on X means that this like it will be X minus one x squared minus nine executed 5 00:00:34,440 --> 00:00:35,190 minus four. 6 00:00:35,900 --> 00:00:36,840 Okay. 7 00:00:36,930 --> 00:00:42,570 And at the end here you will write thus semicolons. 8 00:00:42,570 --> 00:00:52,500 Then you work by about solve and inside the blackboard you will write F and at the end semicolon then 9 00:00:52,500 --> 00:00:56,040 you will press to enter Britain after pressing the internal button. 10 00:00:56,040 --> 00:01:06,450 You will find the solution in the MATLAB OK novel take that hold this sort of work in MATLAB with an 11 00:01:06,450 --> 00:01:07,330 example. 12 00:01:10,080 --> 00:01:22,390 Type seems as white and messed with Space X and then type now function F is equal to. 13 00:01:22,460 --> 00:01:27,570 I'm writing this like it is X q minus one. 14 00:01:27,680 --> 00:01:35,270 Then this is the function solve inside the parentheses you will write f after pressing the interim button 15 00:01:35,300 --> 00:01:36,550 you will get the solution. 16 00:01:36,560 --> 00:01:41,240 So this is the solution of this function. 17 00:01:41,330 --> 00:01:49,470 Now we will take an order function and this function is F is equal to 7. 18 00:01:49,650 --> 00:01:52,710 It is saying 1 X squared 19 00:01:56,180 --> 00:02:02,320 plus 4 x plus 3. 20 00:02:02,350 --> 00:02:04,120 So this is the function. 21 00:02:04,380 --> 00:02:09,580 So and instead of the parentheses we will write f pressed the interpreter. 22 00:02:09,580 --> 00:02:13,410 And this is the solution of this function. 23 00:02:13,450 --> 00:02:29,200 Now we will take and other function we d this like F is equal to X. give a scare minus 4. 24 00:02:29,210 --> 00:02:35,430 So this is the function just like you are right sort of inside the bracket. 25 00:02:35,430 --> 00:02:41,290 You will write F but ask the interpreter minus 2 and 2 is the solution of this function. 26 00:02:41,340 --> 00:02:47,400 What a simple matlab so this is the beauty of Matlab. 27 00:02:47,940 --> 00:03:02,360 You can solve in seconds so I'm picking again and other function F is equal to just like X get plus 28 00:03:03,780 --> 00:03:07,230 two X plus 1 29 00:03:10,340 --> 00:03:16,110 Yes solve all f solution off f. 30 00:03:16,300 --> 00:03:20,220 This is the solution of this motion minus one and a minus one. 31 00:03:20,380 --> 00:03:28,720 No I am again taking and that function and other action just like 32 00:03:31,170 --> 00:03:35,380 since X Uh yes. 33 00:03:35,450 --> 00:03:39,580 X and uh type the function. 34 00:03:39,580 --> 00:03:56,070 This is f is equal to 9 x squared plus three X and uh yes. 35 00:03:56,610 --> 00:03:57,140 Okay. 36 00:03:57,160 --> 00:03:59,340 My next good plus six. 37 00:03:59,910 --> 00:04:00,130 Yes. 38 00:04:00,130 --> 00:04:02,890 Change okay. 39 00:04:03,160 --> 00:04:06,500 Plus 1. 40 00:04:07,370 --> 00:04:15,050 So this is the function of two more solid inside of the brackets you will write F. press the interpreter 41 00:04:16,520 --> 00:04:16,870 Yes. 42 00:04:16,880 --> 00:04:17,670 This is the solution. 43 00:04:17,670 --> 00:04:19,980 Number three and minus one by three. 44 00:04:19,980 --> 00:04:26,520 Now we want to plot this function easy blocked off f easy Lord of f into Lebanon. 45 00:04:27,800 --> 00:04:29,210 Okay press then that. 46 00:04:29,420 --> 00:04:41,100 So this is the graph of this function which is really a worry is a if we change easy plot block off 47 00:04:41,120 --> 00:04:50,730 this function and uh the horizontal that a meter is 20 to 30. 48 00:04:50,750 --> 00:04:57,280 Okay Don t to put it this is like 20 to 30 min scale is skim is 20 to 30. 49 00:04:57,400 --> 00:05:01,900 So this is the scale on the horizontal 20 to 30. 50 00:05:01,930 --> 00:05:05,290 Yes this is 30 and 20 to 30. 51 00:05:05,290 --> 00:05:07,220 You can see or hear. 52 00:05:07,450 --> 00:05:08,020 Okay. 53 00:05:08,140 --> 00:05:15,010 So then you will write f command 20 to 30 you will look at this the graph will be just like that. 54 00:05:15,150 --> 00:05:15,470 Okay. 55 00:05:15,490 --> 00:05:20,860 And here we are not changing the vertical position I'd just like as it is centered in the matlab 56 00:05:27,090 --> 00:05:46,400 or we are taking another function since X and Y is equal to do this like x squared minus nine yes. 57 00:05:46,410 --> 00:05:51,290 This is the function and we want to find a solution. 58 00:05:51,740 --> 00:05:56,410 So Sol insert the bracket rule right. 59 00:05:56,410 --> 00:06:07,080 Y plus the interim button and the guess of course is the solution minus three and three easy plot easy 60 00:06:07,080 --> 00:06:11,970 plot y then we will get this. 61 00:06:12,030 --> 00:06:15,780 So this is the graph of this function. 62 00:06:16,240 --> 00:06:17,070 And uh.