Question
2 Program specifications
In the following, the specifications for the program will be covered, i.e. the required functions and the main script. Note that the specifications are not exhaustive, and some challenges have been left for you to identify, solve, implement, and document. This is done on purpose; we want to see you make your own decisions and see how you choose to handle the problems you encounter. It is perfectly acceptable for you to make your own choices when something is not covered by the specifications. Do note that your choices must be documented and your arguments for making those choices will be evaluated.
General requirements
Each function must be implemented according to the given interface and may not be implemented as a script. It is allowed to use sub-functions and built-in functions within a function.
The main script must be implemented according to the given specifications. It is not allowed to implement the main script as a function.
It is not allowed to invoke (call) scripts within another script or within a function. You may only implement one script, namely the the main script.
You may develop additional "helper" functions that are called from within in the main script and/or from the other functions, if you believe this will result in a more elegant or practicalsolution. Make sure to address design choices such as these in your report.
You are allowed to use built-in functions, and you are encouraged to explore if there exists built-in functions that you can use in your own code, and document your findings in the report.
All functions must contain appropriate help text describing the purpose of the function, the input and output arguments, how the function is used, as well as other information that is necessary to understand and use the function. It is recommended to use the structure of the help text in the built-in functions as inspiration.
Excessive error handling within a function may lead to a decrease in computational performance, especially if the function is called often. For this reason, it is often best practice to assume that input arguments for a function are valid (and state in the help text what requirements there are to the arguments.) Note that this does not cover interactive user input. You must error check interactive user input within the scope where it is passed to the program.

2.1 Grade rounding function
Interface             function gradesRounded = roundGrade (grades)
                                  % Insert your code here
Input arguments grades: A vector (each element is a number between -3 and 12).
Output arguments          gradesRounded: A vector (each element is a number on the 7-step-scale).
User input                   No.
Screen output             No.
Description
The function must round off each element in the vector grades and return the nearest grade on the 7-step-scale:
7-step-scale: Grades 12 10 7 4 02 00 -3
For example, if the function gets the vector [8.2, -0.5] as input, it must return the rounded grades [7, 0] which are the closest numbers on the grading scale.

2.2 Final grade function
Interface                   function gradesFinal = computeFinalGrades (grades)
                                 % Insert your code here
Input arguments       grades: An N X M matrix containing grades on the 7-step-scale given to N students on M different assignments.
Output arguments    gradesFinal: A vector of length n containing the final grade for each of the N students.
User input                  No.
Screen output            No.
Description                For each student, the final grade must be computed in the following way:
1. If there is only one assignment (M = 1) the final grade is equal to the grade of that assignment.
2. If there are two or more assignments (M > 1) the lowest grade is discarded. The final grade is computed as the mean of M - 1 highest grades rounded to the nearest grade on the scale (using the function roundGrade).
3. Irrespective of the above, if a student has received the grade - -3 in one or more assignments, the final grade must always be - 3.


2.3 Grades plot function
Interface                  function gradesP] lot (grades)
                               % Insert your code here
Input arguments      grades: An N X M matrix containing grades on the 7-step-scale given to N students on M different assignments.
Output arguments    No.
User input                No.
Screen output          Yes (plots, see specifications below.)
Description
This function must display two plots:
1. "Final grades": A bar plot of the number of students who have received each of possible final grades on the 7-step-scale (computed using the function computeGradesFinal).
2. "Grades per assignment": A plot with the assignments on the x-axis and the grades on the y-axis. The x-axis must go from 1 to M, and the y-axis must go from -3 - to 12. The plot must contain:
   1. Each of the given grades marked by a dot. You must add a small random number (between -0.1 and 0.1) to the X- and y-coordinates of each dot, to be able tell apart the different dots which otherwise would be on top of each other when more than one student has received the same grade in the same assignment.
   2. The average grade of each of the assignments plotted as a line The plots should include a suitable title, descriptive axis labels, and a data leg- end where appropriate. You are allowed to present the plots in separate figure windows or as sub-plots in a single figure window.

2.4 Main script
Interface                         Must be implemented as a script.
Input arguments             No.
Output arguments          No.
User input                        Yes (see specifications below.)
Screen output                  Yes (see specifications below.)
Description
When the user runs the main script he/she must first be asked to enter the name of a comma-separated-values (CSV) file containing grades given to a number of students for a number of assignments (see description of file format below).
Remember to check if the file name is valid. After reading in the data, you must display some information about the loaded data, including at least the number of students and the number of assignments.
Next, the user must have at least the following options:
1. Load new data.
2. Check for data errors.
3. Generate plots.
4. Display list of grades.
5. Quit.
The user must be allowed to perform these actions (see specifications below) in any order as long as he/she chooses, until the user decides to quit the program. The details of how the main script is designed and implemented is for you to determine. It is a requirement that the program is interactive, and you should strive to make it user friendly by providing sensible dialogue options. Consider what you would expect if you were to use such a script, and what you think would be fun. Play around and make a cool script.
File format
The first row in the CSV file will contain the column headings. Each of the following rows will contain a student id, a name, and a number of grades for a student. An example of a data file with four students and three assignments is given below:
StudentID, Name,         Assignment1, Assignment2, Assignment3
s123456,   Michael Andersen,    7,                7,                4
s123789,   Bettina Petersen,    12,             10,               10
s123468,   Thomas Nielsen,      -3,                7,                2
s123579,   Marie Hansen,          10,             12,               12
Remember that your program should work for any number of students and any number of assignments. You are encouraged to make your own test data file in order to validate that your program functions correctly.
Error handling
You must test that all input provided by the user are valid. If the user gives invalid input, you must provide informative feedback to the user and allow the user to provide the correct input.

1. Load new data
If the user chooses to load new data, the user must be asked to input a valid filename of a data file, and data must be loaded in the same way as in the beginning of the script.
2. Check for data errors If the user chooses to check for data errors, you must display a report of errors (if any) in the loaded data file. Your program must at least detect and display information about the following possible errors:
1. If two students in the data have the same student id.
2. If a grade in the data set is not one of the possible grades on the 7-step- scale.
3. Generate plots
If the user chooses to generate plots, call the gradesPlot function to display the plots.
4. Display list of grades If the user chooses to display the list of grades, you must display the grades for each assignment as well as the final grade for all of the students in alphabetical order by their name. The displayed list must be formatted in a way SO that it is easy to read.
5. Quit
If the user chooses to quit the program, the main script should stop.
Solution Preview

These solutions may offer step-by-step problem-solving explanations or good writing examples that include modern styles of formatting and construction of bibliographies out of text citations and references.
Students may use these solutions for personal skill-building and practice.
Unethical use is strictly forbidden.

function printErrorsDataLoad(grades, studentIDs)
% finds errors in data and prints.

    GRADE_SCALE = [12 10 7 4 2 0 -3];

    nStudents = size(grades,1);
    nAssigns   = size(grades,2);

      %error checking - student IDs
       [~, index] = unique(studentIDs);
       notUniqueIDs = studentIDs;
       notUniqueIDs(index) = [];
      
       for i = 1:length(notUniqueIDs)
            fprintf
This is only a preview of the solution.
Please use the purchase button to see the entire solution.
By purchasing this solution you'll be able to access the following files:
Solution.zip
Purchase Solution
$8.00
Google Pay
Amazon
Paypal
Mastercard
Visacard
Discover
Amex
View Available Computer Science Tutors 529 tutors matched
Ionut
(ionut)
Hi! MSc Applied Informatics & Computer Science Engineer. Practical experience in many CS & IT branches.Research work & homework
5/5 (5,654+ sessions)
2 hours avg response
Leo
(Leo)
Hi! I have been a professor in New York and taught in a math department and in an applied math department.
4.9/5 (5,652+ sessions)
2 hours avg response
Pranay
(math1983)
Ph.D. in mathematics and working as an Assistant Professor in University. I can provide help in mathematics, statistics and allied areas.
4.6/5 (5,512+ sessions)
1 hour avg response

Similar Homework Solutions

8.1.0PHP Version332msRequest Duration45MBMemory UsageGET college-homework-library/{category}/{subject}/{id}Route
    • Booting (197ms)time
    • Application (135ms)time
    • 1 x Booting (59.35%)
      197ms
      1 x Application (40.65%)
      135ms
      • Illuminate\Routing\Events\Routing (1.41ms)
      • Illuminate\Routing\Events\RouteMatched (551μs)
      • Illuminate\Foundation\Events\LocaleUpdated (4.46ms)
      • eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibrary (230μs)
      • eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibrary (219μs)
      • Illuminate\Database\Events\ConnectionEstablished (1.12ms)
      • Illuminate\Database\Events\StatementPrepared (9.37ms)
      • Illuminate\Database\Events\QueryExecuted (5.68ms)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (143μs)
      • eloquent.booting: App\Models\Subject (151μs)
      • eloquent.booted: App\Models\Subject (65μs)
      • Illuminate\Database\Events\StatementPrepared (2.17ms)
      • Illuminate\Database\Events\QueryExecuted (1.06ms)
      • eloquent.retrieved: App\Models\Subject (149μs)
      • eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibraryFile (163μs)
      • eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibraryFile (61μs)
      • Illuminate\Database\Events\StatementPrepared (755μs)
      • Illuminate\Database\Events\QueryExecuted (1.03ms)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (113μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (21μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (14μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (11μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (11μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (10μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (10μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (10μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (11μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (10μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (9μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (10μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (10μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (9μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (10μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (10μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (10μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (10μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (10μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (9μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (11μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (10μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (10μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (9μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (12μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (10μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (9μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (11μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (10μs)
      • eloquent.booting: App\Models\SubjectCat (1.3ms)
      • eloquent.booted: App\Models\SubjectCat (67μs)
      • Illuminate\Database\Events\StatementPrepared (899μs)
      • Illuminate\Database\Events\QueryExecuted (1.08ms)
      • eloquent.retrieved: App\Models\SubjectCat (126μs)
      • Illuminate\Cache\Events\CacheHit (13.55ms)
      • Illuminate\Cache\Events\CacheMissed (266μs)
      • Illuminate\Database\Events\StatementPrepared (1.12ms)
      • Illuminate\Database\Events\QueryExecuted (3.13ms)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (113μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (22μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (13μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (13μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (12μs)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (11μs)
      • Illuminate\Database\Events\StatementPrepared (807μs)
      • Illuminate\Database\Events\QueryExecuted (1.05ms)
      • eloquent.retrieved: App\Models\Subject (114μs)
      • Illuminate\Cache\Events\KeyWritten (1.11ms)
      • Illuminate\Database\Events\StatementPrepared (2.37ms)
      • Illuminate\Database\Events\QueryExecuted (1.13ms)
      • Illuminate\Database\Events\StatementPrepared (1.45ms)
      • Illuminate\Database\Events\QueryExecuted (1.24ms)
      • Illuminate\Database\Events\StatementPrepared (757μs)
      • Illuminate\Database\Events\QueryExecuted (1.16ms)
      • eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (64μs)
      • Illuminate\Cache\Events\CacheHit (705μs)
      • creating: homework.show (256μs)
      • composing: homework.show (107μs)
      • creating: components.breadcrumbs (319μs)
      • composing: components.breadcrumbs (121μs)
      • Illuminate\Database\Events\StatementPrepared (1.37ms)
      • Illuminate\Database\Events\QueryExecuted (1.13ms)
      • eloquent.retrieved: App\Models\SubjectCat (89μs)
      • Illuminate\Cache\Events\CacheHit (2.78ms)
      • Illuminate\Cache\Events\CacheHit (143μs)
      • Illuminate\Cache\Events\CacheHit (133μs)
      • Illuminate\Cache\Events\CacheHit (284μs)
      • Illuminate\Cache\Events\CacheHit (153μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (121μs)
      • Illuminate\Cache\Events\CacheHit (103μs)
      • Illuminate\Cache\Events\CacheHit (115μs)
      • Illuminate\Cache\Events\CacheHit (99μs)
      • Illuminate\Cache\Events\CacheHit (115μs)
      • Illuminate\Cache\Events\CacheHit (99μs)
      • Illuminate\Cache\Events\CacheHit (113μs)
      • Illuminate\Cache\Events\CacheHit (103μs)
      • Illuminate\Cache\Events\CacheHit (152μs)
      • Illuminate\Cache\Events\CacheHit (126μs)
      • Illuminate\Cache\Events\CacheHit (126μs)
      • Illuminate\Cache\Events\CacheHit (105μs)
      • Illuminate\Cache\Events\CacheHit (121μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (131μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (135μs)
      • Illuminate\Cache\Events\CacheHit (100μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (97μs)
      • Illuminate\Cache\Events\CacheHit (111μs)
      • Illuminate\Cache\Events\CacheHit (94μs)
      • Illuminate\Cache\Events\CacheHit (134μs)
      • Illuminate\Cache\Events\CacheHit (109μs)
      • Illuminate\Cache\Events\CacheHit (121μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (122μs)
      • Illuminate\Cache\Events\CacheHit (96μs)
      • Illuminate\Cache\Events\CacheHit (122μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheHit (183μs)
      • Illuminate\Cache\Events\CacheHit (110μs)
      • Illuminate\Cache\Events\CacheHit (122μs)
      • Illuminate\Cache\Events\CacheHit (97μs)
      • Illuminate\Cache\Events\CacheHit (112μs)
      • Illuminate\Cache\Events\CacheHit (96μs)
      • Illuminate\Cache\Events\CacheHit (111μs)
      • Illuminate\Cache\Events\CacheHit (98μs)
      • Illuminate\Cache\Events\CacheHit (407μs)
      • Illuminate\Cache\Events\CacheHit (179μs)
      • Illuminate\Cache\Events\CacheHit (134μs)
      • Illuminate\Cache\Events\CacheHit (100μs)
      • Illuminate\Cache\Events\CacheHit (129μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (103μs)
      • Illuminate\Cache\Events\CacheHit (127μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheHit (133μs)
      • Illuminate\Cache\Events\CacheHit (100μs)
      • Illuminate\Cache\Events\CacheHit (137μs)
      • Illuminate\Cache\Events\CacheHit (100μs)
      • Illuminate\Cache\Events\CacheHit (113μs)
      • Illuminate\Cache\Events\CacheHit (106μs)
      • Illuminate\Cache\Events\CacheHit (128μs)
      • Illuminate\Cache\Events\CacheHit (100μs)
      • Illuminate\Cache\Events\CacheHit (146μs)
      • Illuminate\Cache\Events\CacheHit (112μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (104μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (436μs)
      • Illuminate\Cache\Events\CacheHit (230μs)
      • Illuminate\Cache\Events\CacheHit (135μs)
      • Illuminate\Cache\Events\CacheHit (139μs)
      • Illuminate\Cache\Events\CacheHit (120μs)
      • Illuminate\Cache\Events\CacheHit (133μs)
      • Illuminate\Cache\Events\CacheHit (117μs)
      • Illuminate\Cache\Events\CacheHit (132μs)
      • Illuminate\Cache\Events\CacheHit (112μs)
      • Illuminate\Cache\Events\CacheHit (132μs)
      • Illuminate\Cache\Events\CacheHit (125μs)
      • Illuminate\Cache\Events\CacheHit (131μs)
      • Illuminate\Cache\Events\CacheHit (661μs)
      • Illuminate\Cache\Events\CacheHit (198μs)
      • Illuminate\Cache\Events\CacheHit (118μs)
      • Illuminate\Cache\Events\CacheHit (128μs)
      • Illuminate\Cache\Events\CacheHit (108μs)
      • Illuminate\Cache\Events\CacheHit (129μs)
      • Illuminate\Cache\Events\CacheHit (110μs)
      • Illuminate\Cache\Events\CacheHit (124μs)
      • Illuminate\Cache\Events\CacheHit (116μs)
      • Illuminate\Cache\Events\CacheHit (137μs)
      • Illuminate\Cache\Events\CacheHit (100μs)
      • Illuminate\Cache\Events\CacheHit (126μs)
      • Illuminate\Cache\Events\CacheHit (176μs)
      • Illuminate\Cache\Events\CacheHit (243μs)
      • Illuminate\Cache\Events\CacheHit (123μs)
      • Illuminate\Cache\Events\CacheHit (139μs)
      • Illuminate\Cache\Events\CacheHit (102μs)
      • Illuminate\Cache\Events\CacheHit (114μs)
      • Illuminate\Cache\Events\CacheHit (95μs)
      • Illuminate\Cache\Events\CacheHit (111μs)
      • Illuminate\Cache\Events\CacheHit (96μs)
      • Illuminate\Cache\Events\CacheHit (111μs)
      • Illuminate\Cache\Events\CacheHit (95μs)
      • Illuminate\Cache\Events\CacheHit (153μs)
      • Illuminate\Cache\Events\CacheHit (107μs)
      • Illuminate\Cache\Events\CacheHit (124μs)
      • Illuminate\Cache\Events\CacheHit (249μs)
      • Illuminate\Cache\Events\CacheHit (243μs)
      • Illuminate\Cache\Events\CacheHit (198μs)
      • Illuminate\Cache\Events\CacheHit (200μs)
      • Illuminate\Cache\Events\CacheHit (177μs)
      • Illuminate\Cache\Events\CacheHit (195μs)
      • Illuminate\Cache\Events\CacheHit (157μs)
      • Illuminate\Cache\Events\CacheHit (228μs)
      • Illuminate\Cache\Events\CacheHit (203μs)
      • Illuminate\Cache\Events\CacheHit (1.05ms)
      • Illuminate\Cache\Events\CacheHit (175μs)
      • Illuminate\Cache\Events\CacheHit (198μs)
      • Illuminate\Cache\Events\CacheHit (161μs)
      • Illuminate\Cache\Events\CacheHit (207μs)
      • Illuminate\Cache\Events\CacheHit (173μs)
      • Illuminate\Cache\Events\CacheHit (191μs)
      • Illuminate\Cache\Events\CacheHit (163μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (161μs)
      • Illuminate\Cache\Events\CacheHit (185μs)
      • Illuminate\Cache\Events\CacheHit (166μs)
      • Illuminate\Cache\Events\CacheHit (189μs)
      • Illuminate\Cache\Events\CacheHit (165μs)
      • Illuminate\Cache\Events\CacheHit (192μs)
      • Illuminate\Cache\Events\CacheHit (169μs)
      • Illuminate\Cache\Events\CacheHit (230μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (237μs)
      • Illuminate\Cache\Events\CacheHit (246μs)
      • Illuminate\Cache\Events\CacheHit (205μs)
      • Illuminate\Cache\Events\CacheHit (161μs)
      • Illuminate\Cache\Events\CacheHit (178μs)
      • Illuminate\Cache\Events\CacheHit (161μs)
      • Illuminate\Cache\Events\CacheHit (190μs)
      • Illuminate\Cache\Events\CacheHit (165μs)
      • Illuminate\Cache\Events\CacheHit (201μs)
      • Illuminate\Cache\Events\CacheHit (169μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (160μs)
      • Illuminate\Cache\Events\CacheHit (187μs)
      • Illuminate\Cache\Events\CacheHit (157μs)
      • Illuminate\Cache\Events\CacheHit (186μs)
      • Illuminate\Cache\Events\CacheHit (158μs)
      • Illuminate\Cache\Events\CacheHit (184μs)
      • Illuminate\Cache\Events\CacheHit (160μs)
      • Illuminate\Cache\Events\CacheHit (180μs)
      • Illuminate\Cache\Events\CacheHit (155μs)
      • Illuminate\Cache\Events\CacheHit (179μs)
      • Illuminate\Cache\Events\CacheHit (159μs)
      • Illuminate\Cache\Events\CacheHit (181μs)
      • Illuminate\Cache\Events\CacheHit (191μs)
      • Illuminate\Cache\Events\CacheHit (221μs)
      • Illuminate\Cache\Events\CacheHit (169μs)
      • Illuminate\Cache\Events\CacheHit (181μs)
      • Illuminate\Cache\Events\CacheHit (160μs)
      • Illuminate\Cache\Events\CacheHit (189μs)
      • Illuminate\Cache\Events\CacheHit (156μs)
      • Illuminate\Cache\Events\CacheHit (209μs)
      • Illuminate\Cache\Events\CacheHit (168μs)
      • Illuminate\Cache\Events\CacheHit (236μs)
      • Illuminate\Cache\Events\CacheHit (168μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (156μs)
      • Illuminate\Cache\Events\CacheHit (174μs)
      • Illuminate\Cache\Events\CacheHit (148μs)
      • Illuminate\Cache\Events\CacheHit (175μs)
      • Illuminate\Cache\Events\CacheHit (149μs)
      • Illuminate\Cache\Events\CacheHit (171μs)
      • Illuminate\Cache\Events\CacheHit (152μs)
      • Illuminate\Cache\Events\CacheHit (172μs)
      • Illuminate\Cache\Events\CacheHit (149μs)
      • Illuminate\Cache\Events\CacheHit (176μs)
      • Illuminate\Cache\Events\CacheHit (152μs)
      • Illuminate\Cache\Events\CacheHit (235μs)
      • Illuminate\Cache\Events\CacheHit (171μs)
      • Illuminate\Cache\Events\CacheHit (168μs)
      • Illuminate\Cache\Events\CacheHit (141μs)
      • Illuminate\Cache\Events\CacheHit (195μs)
      • Illuminate\Cache\Events\CacheHit (163μs)
      • Illuminate\Cache\Events\CacheHit (206μs)
      • Illuminate\Cache\Events\CacheHit (164μs)
      • Illuminate\Cache\Events\CacheHit (178μs)
      • Illuminate\Cache\Events\CacheHit (146μs)
      • Illuminate\Cache\Events\CacheHit (164μs)
      • Illuminate\Cache\Events\CacheHit (141μs)
      • Illuminate\Cache\Events\CacheHit (170μs)
      • Illuminate\Cache\Events\CacheHit (140μs)
      • Illuminate\Cache\Events\CacheHit (158μs)
      • Illuminate\Cache\Events\CacheHit (137μs)
      • Illuminate\Cache\Events\CacheHit (191μs)
      • Illuminate\Cache\Events\CacheHit (151μs)
      • Illuminate\Cache\Events\CacheHit (196μs)
      • Illuminate\Cache\Events\CacheHit (150μs)
      • Illuminate\Cache\Events\CacheHit (183μs)
      • Illuminate\Cache\Events\CacheHit (150μs)
      • Illuminate\Cache\Events\CacheHit (192μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (234μs)
      • Illuminate\Cache\Events\CacheHit (161μs)
      • Illuminate\Cache\Events\CacheHit (171μs)
      • Illuminate\Cache\Events\CacheHit (153μs)
      • Illuminate\Cache\Events\CacheHit (170μs)
      • Illuminate\Cache\Events\CacheHit (148μs)
      • Illuminate\Cache\Events\CacheHit (165μs)
      • Illuminate\Cache\Events\CacheHit (144μs)
      • Illuminate\Cache\Events\CacheHit (165μs)
      • Illuminate\Cache\Events\CacheHit (144μs)
      • Illuminate\Cache\Events\CacheHit (191μs)
      • Illuminate\Cache\Events\CacheHit (166μs)
      • Illuminate\Cache\Events\CacheHit (932μs)
      • Illuminate\Cache\Events\CacheHit (173μs)
      • Illuminate\Cache\Events\CacheHit (195μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (184μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (183μs)
      • Illuminate\Cache\Events\CacheHit (239μs)
      • Illuminate\Cache\Events\CacheHit (198μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (181μs)
      • Illuminate\Cache\Events\CacheHit (160μs)
      • Illuminate\Cache\Events\CacheHit (184μs)
      • Illuminate\Cache\Events\CacheHit (160μs)
      • Illuminate\Cache\Events\CacheHit (182μs)
      • Illuminate\Cache\Events\CacheHit (158μs)
      • Illuminate\Cache\Events\CacheHit (184μs)
      • Illuminate\Cache\Events\CacheHit (161μs)
      • Illuminate\Cache\Events\CacheHit (222μs)
      • Illuminate\Cache\Events\CacheHit (180μs)
      • Illuminate\Cache\Events\CacheHit (203μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (187μs)
      • Illuminate\Cache\Events\CacheHit (159μs)
      • Illuminate\Cache\Events\CacheHit (187μs)
      • Illuminate\Cache\Events\CacheHit (156μs)
      • Illuminate\Cache\Events\CacheHit (182μs)
      • Illuminate\Cache\Events\CacheHit (157μs)
      • Illuminate\Cache\Events\CacheHit (179μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (207μs)
      • Illuminate\Cache\Events\CacheHit (162μs)
      • Illuminate\Cache\Events\CacheHit (203μs)
      • Illuminate\Cache\Events\CacheHit (160μs)
      • Illuminate\Cache\Events\CacheHit (204μs)
      • Illuminate\Cache\Events\CacheHit (161μs)
      • Illuminate\Cache\Events\CacheHit (182μs)
      • Illuminate\Cache\Events\CacheHit (156μs)
      • Illuminate\Cache\Events\CacheHit (210μs)
      • Illuminate\Cache\Events\CacheHit (164μs)
      • Illuminate\Cache\Events\CacheHit (187μs)
      • Illuminate\Cache\Events\CacheHit (160μs)
      • Illuminate\Cache\Events\CacheHit (181μs)
      • Illuminate\Cache\Events\CacheHit (155μs)
      • Illuminate\Cache\Events\CacheHit (180μs)
      • Illuminate\Cache\Events\CacheHit (157μs)
      • Illuminate\Cache\Events\CacheHit (180μs)
      • Illuminate\Cache\Events\CacheHit (158μs)
      • Illuminate\Cache\Events\CacheHit (181μs)
      • Illuminate\Cache\Events\CacheHit (158μs)
      • Illuminate\Cache\Events\CacheHit (179μs)
      • Illuminate\Cache\Events\CacheHit (156μs)
      • Illuminate\Cache\Events\CacheHit (294μs)
      • Illuminate\Cache\Events\CacheHit (196μs)
      • Illuminate\Cache\Events\CacheHit (196μs)
      • Illuminate\Cache\Events\CacheHit (165μs)
      • Illuminate\Cache\Events\CacheHit (180μs)
      • Illuminate\Cache\Events\CacheHit (159μs)
      • Illuminate\Cache\Events\CacheHit (181μs)
      • Illuminate\Cache\Events\CacheHit (156μs)
      • Illuminate\Cache\Events\CacheHit (190μs)
      • Illuminate\Cache\Events\CacheHit (160μs)
      • Illuminate\Cache\Events\CacheHit (205μs)
      • Illuminate\Cache\Events\CacheHit (161μs)
      • Illuminate\Cache\Events\CacheHit (185μs)
      • Illuminate\Cache\Events\CacheHit (153μs)
      • Illuminate\Cache\Events\CacheHit (187μs)
      • Illuminate\Cache\Events\CacheHit (161μs)
      • Illuminate\Cache\Events\CacheHit (200μs)
      • Illuminate\Cache\Events\CacheHit (164μs)
      • Illuminate\Cache\Events\CacheHit (189μs)
      • Illuminate\Cache\Events\CacheHit (156μs)
      • Illuminate\Cache\Events\CacheHit (193μs)
      • Illuminate\Cache\Events\CacheHit (155μs)
      • Illuminate\Cache\Events\CacheHit (225μs)
      • Illuminate\Cache\Events\CacheHit (187μs)
      • Illuminate\Cache\Events\CacheHit (187μs)
      • Illuminate\Cache\Events\CacheHit (157μs)
      • Illuminate\Cache\Events\CacheHit (178μs)
      • Illuminate\Cache\Events\CacheHit (155μs)
      • Illuminate\Cache\Events\CacheHit (191μs)
      • Illuminate\Cache\Events\CacheHit (157μs)
      • Illuminate\Cache\Events\CacheHit (188μs)
      • Illuminate\Cache\Events\CacheHit (158μs)
      • Illuminate\Cache\Events\CacheHit (179μs)
      • Illuminate\Cache\Events\CacheHit (155μs)
      • Illuminate\Cache\Events\CacheHit (176μs)
      • Illuminate\Cache\Events\CacheHit (155μs)
      • Illuminate\Cache\Events\CacheHit (183μs)
      • Illuminate\Cache\Events\CacheHit (157μs)
      • creating: site.layouts.app (490μs)
      • composing: site.layouts.app (25μs)
      • creating: components.canonical (508μs)
      • composing: components.canonical (110μs)
      • creating: components.open-graph (286μs)
      • composing: components.open-graph (99μs)
      • creating: site.headers.header (327μs)
      • composing: site.headers.header (80μs)
      • Illuminate\Cache\Events\CacheHit (1.71ms)
      • creating: components.footer (90μs)
      • composing: components.footer (97μs)
      • Illuminate\Cache\Events\CacheHit (936μs)
      • Illuminate\Cache\Events\CacheHit (304μs)
      • Illuminate\Cache\Events\CacheHit (262μs)
      • Illuminate\Cache\Events\CacheHit (261μs)
      • Illuminate\Cache\Events\CacheHit (192μs)
      • Illuminate\Cache\Events\CacheHit (180μs)
      • Illuminate\Cache\Events\CacheHit (184μs)
      • Illuminate\Cache\Events\CacheHit (316μs)
      • Illuminate\Cache\Events\CacheHit (325μs)
      • Illuminate\Cache\Events\CacheHit (199μs)
      • Illuminate\Cache\Events\CacheHit (194μs)
      • Illuminate\Cache\Events\CacheHit (182μs)
      • Illuminate\Cache\Events\CacheHit (196μs)
      • Illuminate\Cache\Events\CacheHit (184μs)
      • creating: components.forms.contact-us (311μs)
      • composing: components.forms.contact-us (167μs)
      • creating: components.forms.get-started (168μs)
      • composing: components.forms.get-started (74μs)
      • creating: components.forms.free-tool-download (130μs)
      • composing: components.forms.free-tool-download (67μs)
      • creating: components.forms.claim-free-worksheet (124μs)
      • composing: components.forms.claim-free-worksheet (65μs)
      • creating: components.forms.tutor-subscription-waitlist (123μs)
      • composing: components.forms.tutor-subscription-waitlist (64μs)
      • creating: components.forms.tutor-subscription-join (121μs)
      • composing: components.forms.tutor-subscription-join (64μs)
      • creating: components.forms.tutor-support (121μs)
      • composing: components.forms.tutor-support (262μs)
      • 321 x Illuminate\Cache\Events\CacheHit (22.14%)
        73.60ms
        10 x Illuminate\Database\Events\StatementPrepared (6.34%)
        21.07ms
        10 x Illuminate\Database\Events\QueryExecuted (5.32%)
        17.68ms
        1 x Illuminate\Foundation\Events\LocaleUpdated (1.34%)
        4.46ms
        1 x Illuminate\Routing\Events\Routing (0.42%)
        1.41ms
        1 x eloquent.booting: App\Models\SubjectCat (0.39%)
        1.30ms
        1 x Illuminate\Database\Events\ConnectionEstablished (0.34%)
        1.12ms
        1 x Illuminate\Cache\Events\KeyWritten (0.34%)
        1.11ms
        1 x Illuminate\Routing\Events\RouteMatched (0.17%)
        551μs
        1 x creating: components.canonical (0.15%)
        508μs
        1 x creating: site.layouts.app (0.15%)
        490μs
        30 x eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibraryFile (0.14%)
        474μs
        7 x eloquent.retrieved: App\Models\HomeworkLibrary\HomeworkLibrary (0.1%)
        327μs
        1 x creating: site.headers.header (0.1%)
        327μs
        1 x creating: components.breadcrumbs (0.1%)
        319μs
        1 x creating: components.forms.contact-us (0.09%)
        311μs
        1 x creating: components.open-graph (0.09%)
        286μs
        1 x Illuminate\Cache\Events\CacheMissed (0.08%)
        266μs
        2 x eloquent.retrieved: App\Models\Subject (0.08%)
        263μs
        1 x composing: components.forms.tutor-support (0.08%)
        262μs
        1 x creating: homework.show (0.08%)
        256μs
        1 x eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibrary (0.07%)
        230μs
        1 x eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibrary (0.07%)
        219μs
        2 x eloquent.retrieved: App\Models\SubjectCat (0.06%)
        215μs
        1 x creating: components.forms.get-started (0.05%)
        168μs
        1 x composing: components.forms.contact-us (0.05%)
        167μs
        1 x eloquent.booting: App\Models\HomeworkLibrary\HomeworkLibraryFile (0.05%)
        163μs
        1 x eloquent.booting: App\Models\Subject (0.05%)
        151μs
        1 x creating: components.forms.free-tool-download (0.04%)
        130μs
        1 x creating: components.forms.claim-free-worksheet (0.04%)
        124μs
        1 x creating: components.forms.tutor-subscription-waitlist (0.04%)
        123μs
        1 x composing: components.breadcrumbs (0.04%)
        121μs
        1 x creating: components.forms.tutor-support (0.04%)
        121μs
        1 x creating: components.forms.tutor-subscription-join (0.04%)
        121μs
        1 x composing: components.canonical (0.03%)
        110μs
        1 x composing: homework.show (0.03%)
        107μs
        1 x composing: components.open-graph (0.03%)
        99μs
        1 x composing: components.footer (0.03%)
        97μs
        1 x creating: components.footer (0.03%)
        90μs
        1 x composing: site.headers.header (0.02%)
        80μs
        1 x composing: components.forms.get-started (0.02%)
        74μs
        1 x eloquent.booted: App\Models\SubjectCat (0.02%)
        67μs
        1 x composing: components.forms.free-tool-download (0.02%)
        67μs
        1 x eloquent.booted: App\Models\Subject (0.02%)
        65μs
        1 x composing: components.forms.claim-free-worksheet (0.02%)
        65μs
        1 x composing: components.forms.tutor-subscription-waitlist (0.02%)
        64μs
        1 x composing: components.forms.tutor-subscription-join (0.02%)
        64μs
        1 x eloquent.booted: App\Models\HomeworkLibrary\HomeworkLibraryFile (0.02%)
        61μs
        1 x composing: site.layouts.app (0.01%)
        25μs
      14 templates were rendered
      • 1x homework.showshow.blade.phpblade
      • 1x components.breadcrumbsbreadcrumbs.blade.phpblade
      • 1x site.layouts.appapp.blade.phpblade
      • 1x components.canonicalcanonical.blade.phpblade
      • 1x components.open-graphopen-graph.blade.phpblade
      • 1x site.headers.headerheader.blade.phpblade
      • 1x components.footerfooter.blade.phpblade
      • 1x components.forms.contact-uscontact-us.blade.phpblade
      • 1x components.forms.get-startedget-started.blade.phpblade
      • 1x components.forms.free-tool-downloadfree-tool-download.blade.phpblade
      • 1x components.forms.claim-free-worksheetclaim-free-worksheet.blade.phpblade
      • 1x components.forms.tutor-subscription-waitlisttutor-subscription-waitlist.blade.phpblade
      • 1x components.forms.tutor-subscription-jointutor-subscription-join.blade.phpblade
      • 1x components.forms.tutor-supporttutor-support.blade.phpblade
      uri
      GET college-homework-library/{category}/{subject}/{id}
      middleware
      web, utm.parameters
      controller
      App\Http\Controllers\HomeworkLibraryController@show
      namespace
      where
      as
      homework.show
      file
      app/Http/Controllers/HomeworkLibraryController.php:79-176
      10 statements were executed, 4 of which were duplicates, 6 unique. Show only duplicated27.59ms
      • Connection Establishedtwenty4_siteHomeworkLibraryController.php#91
        Backtrace
        • 13. app/Http/Controllers/HomeworkLibraryController.php:91
        • 14. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 15. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 16. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
        • 17. vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • select * from `solutionslibrary` where `status` = 'published' and `price` > 0 and `solutionslibrary`.`id` = '17423' limit 1
        13.98mstwenty4_siteHomeworkLibraryController.php#97
        Bindings
        • 0: published
        • 1: 0
        • 2: 17423
        Backtrace
        • 16. app/Http/Controllers/HomeworkLibraryController.php:97
        • 17. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 18. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 19. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
        • 20. vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • select * from `subjects` where `subjects`.`id` in (394)
        1.24mstwenty4_siteHomeworkLibraryController.php#97
        Backtrace
        • 21. app/Http/Controllers/HomeworkLibraryController.php:97
        • 22. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 23. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 24. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
        • 25. vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • select * from `solutionslibrary_files` where `solutionslibrary_files`.`solutionlib_id` in (17423)
        1.06mstwenty4_siteHomeworkLibraryController.php#97
        Backtrace
        • 21. app/Http/Controllers/HomeworkLibraryController.php:97
        • 22. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 23. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 24. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
        • 25. vendor/laravel/framework/src/Illuminate/Routing/Route.php:205
      • select * from `subject_cats` where `subject_cats`.`id` = 3 limit 1
        1.24mstwenty4_siteHomeworkLibrary.php#201
        Bindings
        • 0: 3
        Backtrace
        • 20. app/Models/HomeworkLibrary/HomeworkLibrary.php:201
        • 26. app/Http/Controllers/HomeworkLibraryController.php:105
        • 27. vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54
        • 28. vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:43
        • 29. vendor/laravel/framework/src/Illuminate/Routing/Route.php:260
      • select * from `solutionslibrary` where `id` <> 17423 and `subject` = 394 and `status` = 'published' and `price` > 0 order by RAND() limit 6
        3.31mstwenty4_siteHomeworkLibraryRepository.php#30
        Bindings
        • 0: 17423
        • 1: 394
        • 2: published
        • 3: 0
        Backtrace
        • 14. app/Repositories/HomeworkLibraryRepository.php:30
        • 15. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 16. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 18. app/Repositories/HomeworkLibraryRepository.php:39
        • 19. app/Http/Controllers/HomeworkLibraryController.php:139
      • select * from `subjects` where `subjects`.`id` in (394)
        1.14mstwenty4_siteHomeworkLibraryRepository.php#30
        Backtrace
        • 19. app/Repositories/HomeworkLibraryRepository.php:30
        • 20. vendor/laravel/framework/src/Illuminate/Cache/Repository.php:397
        • 21. vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php:419
        • 23. app/Repositories/HomeworkLibraryRepository.php:39
        • 24. app/Http/Controllers/HomeworkLibraryController.php:139
      • select * from `solutionslibrary_files` where `solutionslibrary_files`.`solutionlib_id` = 17423 and `solutionslibrary_files`.`solutionlib_id` is not null and `publish` = 'question' order by `order` asc, `id` asc
        1.03mstwenty4_siteHomeworkLibrary.php#260
        Bindings
        • 0: 17423
        • 1: question
        Backtrace
        • 15. app/Models/HomeworkLibrary/HomeworkLibrary.php:260
        • 16. app/Transformers/HomeworkLibrary/HomeworkLibraryTransformer.php:58
        • 19. vendor/league/fractal/src/TransformerAbstract.php:128
        • 20. vendor/league/fractal/src/TransformerAbstract.php:107
        • 21. vendor/league/fractal/src/Scope.php:383
      • select * from `solutionslibrary_files` where `solutionslibrary_files`.`solutionlib_id` = 17423 and `solutionslibrary_files`.`solutionlib_id` is not null and `publish` = 'teaser' order by `order` asc, `id` asc
        1.92mstwenty4_siteHomeworkLibrary.php#260
        Bindings
        • 0: 17423
        • 1: teaser
        Backtrace
        • 15. app/Models/HomeworkLibrary/HomeworkLibrary.php:260
        • 16. app/Transformers/HomeworkLibrary/HomeworkLibraryTransformer.php:69
        • 19. vendor/league/fractal/src/TransformerAbstract.php:128
        • 20. vendor/league/fractal/src/TransformerAbstract.php:107
        • 21. vendor/league/fractal/src/Scope.php:383
      • select * from `solutionslibrary_files` where `solutionslibrary_files`.`solutionlib_id` = 17423 and `solutionslibrary_files`.`solutionlib_id` is not null and `publish` = 'solution' order by `order` asc, `id` asc
        1.29mstwenty4_siteHomeworkLibrary.php#260
        Bindings
        • 0: 17423
        • 1: solution
        Backtrace
        • 15. app/Models/HomeworkLibrary/HomeworkLibrary.php:260
        • 16. app/Transformers/HomeworkLibrary/HomeworkLibraryTransformer.php:80
        • 19. vendor/league/fractal/src/TransformerAbstract.php:128
        • 20. vendor/league/fractal/src/TransformerAbstract.php:107
        • 21. vendor/league/fractal/src/Scope.php:383
      • select * from `subject_cats` where `subject_cats`.`id` = 3 limit 1
        1.38mstwenty4_siteHomeworkLibrary.php#201
        Bindings
        • 0: 3
        Backtrace
        • 20. app/Models/HomeworkLibrary/HomeworkLibrary.php:201
        • 32. vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:110
        • 33. vendor/laravel/framework/src/Illuminate/View/Engines/PhpEngine.php:58
        • 34. vendor/livewire/livewire/src/ComponentConcerns/RendersLivewireComponents.php:69
        • 35. vendor/laravel/framework/src/Illuminate/View/Engines/CompilerEngine.php:70
      App\Models\HomeworkLibrary\HomeworkLibraryFile
      30HomeworkLibraryFile.php
      App\Models\HomeworkLibrary\HomeworkLibrary
      7HomeworkLibrary.php
      App\Models\Subject
      2Subject.php
      App\Models\SubjectCat
      2SubjectCat.php
          _token
          gtwjoIDuE83wDKYLDI2zPOC23iwff3tukVOcWTOO
          utm_source
          direct
          redirectUrl
          /college-homework-library/Computer-Science/MATLAB-for-Computer-Science/17423
          _previous
          array:1 [ "url" => "https://staging.dev.24houranswers.com/college-homework-library/Computer-Scienc...
          _flash
          array:2 [ "old" => [] "new" => [] ]
          PHPDEBUGBAR_STACK_DATA
          []
          path_info
          /college-homework-library/Computer-Science/MATLAB-for-Computer-Science/17423
          status_code
          200
          
          status_text
          OK
          format
          html
          content_type
          text/html; charset=UTF-8
          request_query
          []
          
          request_request
          []
          
          request_headers
          0 of 0
          array:21 [ "priority" => array:1 [ 0 => "u=0, i" ] "accept-encoding" => array:1 [ 0 => "gzip, deflate, br, zstd" ] "sec-fetch-dest" => array:1 [ 0 => "document" ] "sec-fetch-user" => array:1 [ 0 => "?1" ] "sec-fetch-mode" => array:1 [ 0 => "navigate" ] "sec-fetch-site" => array:1 [ 0 => "none" ] "accept" => array:1 [ 0 => "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7" ] "user-agent" => array:1 [ 0 => "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" ] "upgrade-insecure-requests" => array:1 [ 0 => "1" ] "sec-ch-ua-platform" => array:1 [ 0 => ""Windows"" ] "sec-ch-ua-mobile" => array:1 [ 0 => "?0" ] "sec-ch-ua" => array:1 [ 0 => ""HeadlessChrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"" ] "cache-control" => array:1 [ 0 => "no-cache" ] "pragma" => array:1 [ 0 => "no-cache" ] "x-amzn-trace-id" => array:1 [ 0 => "Root=1-680eb942-7165a9940c1208de0128108f" ] "host" => array:1 [ 0 => "staging.dev.24houranswers.com" ] "x-forwarded-port" => array:1 [ 0 => "443" ] "x-forwarded-proto" => array:1 [ 0 => "https" ] "x-forwarded-for" => array:1 [ 0 => "3.141.4.8" ] "content-length" => array:1 [ 0 => "" ] "content-type" => array:1 [ 0 => "" ] ]
          request_cookies
          []
          
          response_headers
          0 of 0
          array:5 [ "content-type" => array:1 [ 0 => "text/html; charset=UTF-8" ] "cache-control" => array:1 [ 0 => "no-cache, private" ] "date" => array:1 [ 0 => "Sun, 27 Apr 2025 23:09:55 GMT" ] "set-cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IkdKV1ZCUXd6aHowbkFZejBVRDVlM2c9PSIsInZhbHVlIjoiMGpLYkZ3aVQ4eUFwQ0ZwOVV5UXZCYUg5ajU5U3lkSkt4MmI3aXIvcnB4VnExblFMTnBvdTlHdk53RFZ2c05zb3BXdm5rS1JLM1lWdFJZNFBSRkxYRTBjaFZLazltay9ONEZFY1ZiMkVLcXBteDFMUnRvY3c2Z1l4OEM0SVB0b28iLCJtYWMiOiI4Njk4MWFhNWVlYTkyYzE2MzdiZWQ0MWQ4MGRkYzQ5OWZiYjU2MDMxZDY3MWRhYjg3NThjNjVkYmNhNzQ5YTg3IiwidGFnIjoiIn0%3D; expires=Mon, 28 Apr 2025 01:09:55 GMT; Max-Age=7200; path=/; domain=.24houranswers.com; samesite=laxXSRF-TOKEN=eyJpdiI6IkdKV1ZCUXd6aHowbkFZejBVRDVlM2c9PSIsInZhbHVlIjoiMGpLYkZ3aVQ4eUFwQ0ZwOVV5UXZCYUg5ajU5U3lkSkt4MmI3aXIvcnB4VnExblFMTnBvdTlHdk53RFZ2c05zb3BXdm5rS" 1 => "24houranswers_session=eyJpdiI6IlpPaThYVXlCeGp1TktJQXZySDZDUVE9PSIsInZhbHVlIjoiK1hQVDZRcm0zcGVPVVpzUkNDNUFVTEVDbkphT0tRcnVOMzhlUXpXS2MxM20wUEltazdpOGg5K1c1aGtuLzh4S2JPWm56NGlMYVYvMnpJU1k1Um5oQVI4R2Z2bmZPZGVBa1MvSHJtc0dIMWdLUVFEQzFDenp3VTJyYU1GZmFNa1EiLCJtYWMiOiJkMmEzMmFiOGE3MzQ0YTU3NzZhZmQ0MzIzNzhjZjc2OGVjZWRiZTY1Nzk1YzFmYjc4OTc1YjhlMjAwNjM3ZTMyIiwidGFnIjoiIn0%3D; expires=Mon, 28 Apr 2025 01:09:55 GMT; Max-Age=7200; path=/; domain=.24houranswers.com; httponly; samesite=lax24houranswers_session=eyJpdiI6IlpPaThYVXlCeGp1TktJQXZySDZDUVE9PSIsInZhbHVlIjoiK1hQVDZRcm0zcGVPVVpzUkNDNUFVTEVDbkphT0tRcnVOMzhlUXpXS2MxM20wUEltazdpOGg5K1c1aGtuLz" ] "Set-Cookie" => array:2 [ 0 => "XSRF-TOKEN=eyJpdiI6IkdKV1ZCUXd6aHowbkFZejBVRDVlM2c9PSIsInZhbHVlIjoiMGpLYkZ3aVQ4eUFwQ0ZwOVV5UXZCYUg5ajU5U3lkSkt4MmI3aXIvcnB4VnExblFMTnBvdTlHdk53RFZ2c05zb3BXdm5rS1JLM1lWdFJZNFBSRkxYRTBjaFZLazltay9ONEZFY1ZiMkVLcXBteDFMUnRvY3c2Z1l4OEM0SVB0b28iLCJtYWMiOiI4Njk4MWFhNWVlYTkyYzE2MzdiZWQ0MWQ4MGRkYzQ5OWZiYjU2MDMxZDY3MWRhYjg3NThjNjVkYmNhNzQ5YTg3IiwidGFnIjoiIn0%3D; expires=Mon, 28-Apr-2025 01:09:55 GMT; domain=.24houranswers.com; path=/XSRF-TOKEN=eyJpdiI6IkdKV1ZCUXd6aHowbkFZejBVRDVlM2c9PSIsInZhbHVlIjoiMGpLYkZ3aVQ4eUFwQ0ZwOVV5UXZCYUg5ajU5U3lkSkt4MmI3aXIvcnB4VnExblFMTnBvdTlHdk53RFZ2c05zb3BXdm5rS" 1 => "24houranswers_session=eyJpdiI6IlpPaThYVXlCeGp1TktJQXZySDZDUVE9PSIsInZhbHVlIjoiK1hQVDZRcm0zcGVPVVpzUkNDNUFVTEVDbkphT0tRcnVOMzhlUXpXS2MxM20wUEltazdpOGg5K1c1aGtuLzh4S2JPWm56NGlMYVYvMnpJU1k1Um5oQVI4R2Z2bmZPZGVBa1MvSHJtc0dIMWdLUVFEQzFDenp3VTJyYU1GZmFNa1EiLCJtYWMiOiJkMmEzMmFiOGE3MzQ0YTU3NzZhZmQ0MzIzNzhjZjc2OGVjZWRiZTY1Nzk1YzFmYjc4OTc1YjhlMjAwNjM3ZTMyIiwidGFnIjoiIn0%3D; expires=Mon, 28-Apr-2025 01:09:55 GMT; domain=.24houranswers.com; path=/; httponly24houranswers_session=eyJpdiI6IlpPaThYVXlCeGp1TktJQXZySDZDUVE9PSIsInZhbHVlIjoiK1hQVDZRcm0zcGVPVVpzUkNDNUFVTEVDbkphT0tRcnVOMzhlUXpXS2MxM20wUEltazdpOGg5K1c1aGtuLz" ] ]
          session_attributes
          0 of 0
          array:6 [ "_token" => "gtwjoIDuE83wDKYLDI2zPOC23iwff3tukVOcWTOO" "utm_source" => "direct" "redirectUrl" => "/college-homework-library/Computer-Science/MATLAB-for-Computer-Science/17423" "_previous" => array:1 [ "url" => "https://staging.dev.24houranswers.com/college-homework-library/Computer-Science/MATLAB-for-Computer-Science/17423" ] "_flash" => array:2 [ "old" => [] "new" => [] ] "PHPDEBUGBAR_STACK_DATA" => [] ]