// Numbas version: exam_results_page_options {"name": "Arbeidskrav 5", "metadata": {"description": "", "licence": "All rights reserved"}, "duration": 0, "percentPass": "60", "showQuestionGroupNames": true, "showstudentname": true, "question_groups": [{"name": "Laplace", "pickingStrategy": "all-ordered", "pickQuestions": "1", "questions": [{"name": "Flere Diff Likninger med invers Laplace transformasjon", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}, {"name": "Mathias Sandulescu", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3503/"}, {"name": "Kari Myklevoll", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4114/"}], "tags": [], "metadata": {"description": "
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

Finn løsningen x(t) til følgende likninger. Du har lov til å bruke en tabell. Skriv inn bare løsningen uten x(t)=... .

", "advice": "

See 'show steps'.

", "rulesets": {}, "variables": {"pro": {"name": "pro", "group": "dependent variables", "definition": "b*(1+d)", "description": "", "templateType": "anything"}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-2..2 except 0 except -1 except 1)", "description": "", "templateType": "anything"}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(2..7 except 0 except -1 except 1)", "description": "", "templateType": "anything"}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "a+random(1..3)", "description": "", "templateType": "anything"}, "d": {"name": "d", "group": "dependent variables", "definition": "a*b+a*c", "description": "", "templateType": "anything"}, "h": {"name": "h", "group": "Ungrouped variables", "definition": "a*random(0..4 except 0)", "description": "", "templateType": "anything"}, "c1": {"name": "c1", "group": "dependent variables", "definition": "a*d+1", "description": "", "templateType": "anything"}, "cb": {"name": "cb", "group": "dependent variables", "definition": "(-a-b)", "description": "", "templateType": "anything"}, "db": {"name": "db", "group": "dependent variables", "definition": "(a*b)", "description": "

db

", "templateType": "anything"}, "ac": {"name": "ac", "group": "dependent variables", "definition": "1/(a+1)/(b+1)", "description": "", "templateType": "anything"}, "bc": {"name": "bc", "group": "dependent variables", "definition": "1/(a+1)/(a-b)", "description": "", "templateType": "anything"}, "cc": {"name": "cc", "group": "dependent variables", "definition": "-ac-bc", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": "100"}, "ungrouped_variables": ["a", "b", "c", "h"], "variable_groups": [{"name": "dependent variables", "variables": ["d", "pro", "c1", "cb", "db", "ac", "bc", "cc"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

$x'+(\\var{c})x=(\\var{d}) e^{\\var{b}t}$ gitt at $x(0)=\\var{a}$.

", "stepsPenalty": 0, "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

$L\\{t\\}=\\frac{1}{s^2}$

\n

$L\\{e^{at}\\}=\\frac{1}{s-a}$

"}], "answer": "{a}*e^({b}*t)", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "valuegenerators": [{"name": "t", "value": ""}]}, {"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

$x''+(\\var{cb})x'+(\\var{db})x = e^{-t}$ gitt at $x(0)=0$ og $x'(0)=0$.

\n

Laplacetransformer diff-likningen og skriv et utrykk for $X(s)$ som en brøk med 1 i telleren. Skriv bare brøken uten $X(s)$. Du skal delbrøkoppspalte svaret i neste oppgavedel.

", "stepsPenalty": 0, "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

$L\\{\\sin(at)\\}=\\frac{a}{s^2+a^2}$

\n

$L\\{e^{at}\\}=\\frac{1}{s-a}$

"}], "answer": "1/(s+1)/(s-{a})/(s-{b})", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "valuegenerators": [{"name": "s", "value": ""}]}, {"type": "jme", "useCustomName": false, "customName": "", "marks": "1", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": "0", "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

$x''+(\\var{cb})x'+(\\var{db})x = e^{-t}$ gitt at $x(0)=0$ og $x'(0)=0$.

\n

Delbrøkoppspalt brøken fra deloppgave b).

", "stepsPenalty": "0", "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

$L\\{\\sin(at)\\}=\\frac{a}{s^2+a^2}$

\n

$L\\{e^{at}\\}=\\frac{1}{s-a}$

"}], "answer": "{ac}/(s+1)+{bc}/(s-{a})+{cc}/(s-{b})", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": "0.001", "failureRate": 1, "vsetRangePoints": "5", "vsetRange": ["0", "1"], "checkVariableNames": false, "maxlength": {"length": "0", "partialCredit": "0", "message": ""}, "minlength": {"length": "0", "partialCredit": "0", "message": ""}, "valuegenerators": [{"name": "s", "value": ""}]}, {"type": "jme", "useCustomName": false, "customName": "", "marks": "1", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": "0", "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

$x''+(\\var{cb})x'+(\\var{db})x = e^{-t}$ gitt at $x(0)=0$ og $x'(0)=0$.

\n

Ta $L^{-1}$ av det delbrøkoppspaltete utrykket og skriv løsningen av difflikningen uten $x(t)=$.

", "stepsPenalty": "0", "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

$L\\{\\sin(at)\\}=\\frac{a}{s^2+a^2}$

\n

$L\\{e^{at}\\}=\\frac{1}{s-a}$

"}], "answer": "{ac}*e^(-t)+{bc}*e^({a}t)+{cc}*e^({b}t)", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": "0.001", "failureRate": 1, "vsetRangePoints": "5", "vsetRange": ["0", "1"], "checkVariableNames": false, "maxlength": {"length": "0", "partialCredit": "0", "message": ""}, "minlength": {"length": "0", "partialCredit": "0", "message": ""}, "valuegenerators": [{"name": "t", "value": ""}]}]}]}, {"name": "Fourier", "pickingStrategy": "all-ordered", "pickQuestions": "1", "questions": [{"name": "Norsk Trigonometric form of a Fourier series Evaluate ak & bk", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}, {"name": "Mathias Sandulescu", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3503/"}], "tags": [], "metadata": {"description": "

Calculating particular harmonic components of a Fourier series expansion.

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

En funsksjon $f(t)$ er gitt ved:

\n

  \\(f(t)=\\left[ \\begin{array}{cc}\\,\\,\\var{a}&\\,\\,-\\var{L}<t<-\\simplify{{L}/2}\\\\\\,\\,\\var{b}&\\,\\,-\\simplify{{L}/2}<t<\\simplify{{L}/2}\\\\\\,\\,\\var{c}&\\,\\,\\simplify{{L}/2}<t<\\var{L}\\end{array}\\right] \\,\\,\\,\\, \\text{der} f(t+\\simplify{2*{L}})=f(t)\\)

", "advice": "

 \\(f(t)=\\left[ \\begin{array}{cc}\\,\\,\\var{a}&\\,\\,-\\var{L}<t<-\\simplify{{L}/2}\\\\\\,\\,\\var{b}&\\,\\,-\\simplify{{L}/2}<t<\\simplify{{L}/2}\\\\\\,\\,\\var{c}&\\,\\,\\simplify{{L}/2}<t<\\var{L}\\end{array}\\right] \\,\\,\\,\\,f(t+\\simplify{2*{L}})=f(t)\\)

\n

\n

We derived the formulae for a trigonometric Fourier series of a periodic function having period \\(2L\\)

\n

\\(2L=\\simplify{2*{L}}\\implies L=\\var{L}\\)

\n

We can either evaluate \\(a_0=\\frac{1}{L}\\int_{-L}^{L}f(t)dt\\) or use the shortcut:

\n

\\(\\frac{a_0}{2}=\\) the average value of the wave over one complete cycle \\(=\\frac{Area}{Base}\\)

\n

\\(\\frac{a_0}{2}=\\frac{\\var{a}*\\simplify{{L}/2}+\\var{b}*\\var{L}+\\var{c}*\\simplify{{L}/2}}{\\simplify{2*{L}}}=\\simplify{({a}+2*{b}+{c})/4}\\)

\n

\n

The formula for the Fourier coefficient \\(a_k\\) is given by:  \\(a_k=\\frac{1}{L}\\int_{-L}^{L}f(t)cos\\left(\\frac{{k}\\pi}{L}t\\right)dt\\)

\n

\n

\\(a_k=\\frac{1}{\\var{L}}\\left(\\int_{-\\var{L}}^{-\\frac{\\var{L}}{2}}\\var{a}cos\\left(\\frac{{k}\\pi}{\\var{L}}t\\right)dt+\\int_{-\\frac{\\var{L}}{2}}^{\\frac{\\var{L}}{2}}\\var{b}cos\\left(\\frac{{k}\\pi}{\\var{L}}t\\right)dt+\\int_{\\frac{\\var{L}}{2}}^{\\var{L}}\\var{c}cos\\left(\\frac{{k}\\pi}{\\var{L}}t\\right)dt\\right)\\)

\n

\\(a_k=\\frac{1}{\\var{L}}\\left(\\frac{\\var{a}*\\var{L}}{{k}\\pi}sin\\left(\\frac{{k}\\pi}{\\var{L}}t\\right)|_{-\\var{L}}^{-\\frac{\\var{L}}{2}}+\\frac{\\var{b}*\\var{L}}{{k}\\pi}sin\\left(\\frac{{k}\\pi}{\\var{L}}t\\right)|_{-\\frac{\\var{L}}{2}}^{\\frac{\\var{L}}{2}}+\\frac{\\var{c}*\\var{L}}{{k}\\pi}sin\\left(\\frac{{k}\\pi}{\\var{L}}t\\right)|_{\\frac{\\var{L}}{2}}^{\\var{L}}\\right)\\)

\n

\\(a_k=\\frac{\\var{a}}{{k}\\pi}sin(-\\frac{{k}\\pi}{2})-\\frac{\\var{a}}{{k}\\pi}sin(-{k}\\pi)+\\frac{\\var{b}}{{k}\\pi}sin(\\frac{{k}\\pi}{2})-\\frac{\\var{b}}{{k}\\pi}sin(-\\frac{{k}\\pi}{2})+\\frac{\\var{c}}{{k}\\pi}sin({k}\\pi)-\\frac{\\var{c}}{{k}\\pi}sin(\\frac{{k}\\pi}{2})\\)

\n

\\(a_k=-\\frac{\\var{a}}{{k}\\pi}sin(\\frac{{k}\\pi}{2})+\\frac{\\var{b}}{{k}\\pi}sin(\\frac{{k}\\pi}{2})+\\frac{\\var{b}}{{k}\\pi}sin(\\frac{{k}\\pi}{2})-\\frac{\\var{c}}{{k}\\pi}sin(\\frac{{k}\\pi}{2})\\)

\n

\\(a_k=\\frac{\\simplify{-{a}+2{b}-{c}}}{{k}\\pi}sin(\\frac{{k}\\pi}{2})\\)

\n

\\(a_\\var{k}=\\simplify{(-{a}+2{b}-{c})/({k}*pi)sin({k}*pi/2)}\\)

\n

The formula for the Fourier coefficient \\(b_k\\) is given by:  \\(b_k=\\frac{1}{L}\\int_{-L}^{L}f(t)sin\\left(\\frac{{k}\\pi}{L}t\\right)dt\\)

\n

\\(b_k=\\frac{1}{\\var{L}}\\left(\\int_{-\\var{L}}^{-\\frac{\\var{L}}{2}}\\var{a}sin\\left(\\frac{{k}\\pi}{\\var{L}}t\\right)dt+\\int_{-\\frac{\\var{L}}{2}}^{\\frac{\\var{L}}{2}}\\var{b}sin\\left(\\frac{{k}\\pi}{\\var{L}}t\\right)dt+\\int_{\\frac{\\var{L}}{2}}^{\\var{L}}\\var{c}sin\\left(\\frac{{k}\\pi}{\\var{L}}t\\right)dt\\right)\\)

\n

\\(b_k=\\frac{1}{\\var{L}}\\left(-\\frac{\\var{a}*\\var{L}}{{k}\\pi}cos\\left(\\frac{{k}\\pi}{\\var{L}}t\\right)|_{-\\var{L}}^{-\\frac{\\var{L}}{2}}-\\frac{\\var{b}*\\var{L}}{{k}\\pi}cos\\left(\\frac{{k}\\pi}{\\var{L}}t\\right)|_{-\\frac{\\var{L}}{2}}^{\\frac{\\var{L}}{2}}-\\frac{\\var{c}*\\var{L}}{{k}\\pi}cos\\left(\\frac{{k}\\pi}{\\var{L}}t\\right)|_{\\frac{\\var{L}}{2}}^{\\var{L}}\\right)\\)

\n

\\(b_k=-\\frac{\\var{a}}{{k}\\pi}cos(-\\frac{{k}\\pi}{2})+\\frac{\\var{a}}{{k}\\pi}cos(-{k}\\pi)-\\frac{\\var{b}}{{k}\\pi}cos(\\frac{{k}\\pi}{2})+\\frac{\\var{b}}{{k}\\pi}cos(-\\frac{{k}\\pi}{2})-\\frac{\\var{c}}{{k}\\pi}cos({k}\\pi)+\\frac{\\var{c}}{{k}\\pi}cos(\\frac{{k}\\pi}{2})\\)

\n

\\(cos(-\\theta)=cos(\\theta)\\)

\n

\\(b_k=-\\frac{\\var{a}}{{k}\\pi}cos(\\frac{{k}\\pi}{2})+\\frac{\\var{a}}{{k}\\pi}cos({k}\\pi)-\\frac{\\var{b}}{{k}\\pi}cos(\\frac{{k}\\pi}{2})+\\frac{\\var{b}}{{k}\\pi}cos(\\frac{{k}\\pi}{2})-\\frac{\\var{c}}{{k}\\pi}cos({k}\\pi)+\\frac{\\var{c}}{{k}\\pi}cos(\\frac{{k}\\pi}{2})\\)

\n

\\(b_k=\\frac{\\var{c}-\\var{a}}{{k}\\pi}cos(\\frac{{k}\\pi}{2})+\\frac{\\var{a}-\\var{c}}{{k}\\pi}cos({k}\\pi)\\)

\n

\\(b_\\var{k}=\\simplify{({c}-{a})/({k}*pi)cos({k}*pi/2)}+\\simplify{(-{c}+{a})/({k}*pi)cos({k}*pi)}\\)

\n

\n

Recall the amplitude of the \\(\\var{k}\\)th harmonic component is given by \\(\\sqrt{(a_\\var{k})^2+(b_\\var{k})^2}\\)

", "rulesets": {}, "variables": {"k": {"name": "k", "group": "Ungrouped variables", "definition": "random(5 .. 19#2)", "description": "", "templateType": "randrange"}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(6 .. 11#1)", "description": "", "templateType": "randrange"}, "L": {"name": "L", "group": "Ungrouped variables", "definition": "random(2 .. 11#1)", "description": "", "templateType": "randrange"}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(12 .. 24#1)", "description": "", "templateType": "randrange"}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1 .. 5#2)", "description": "", "templateType": "randrange"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "L", "k", "b", "c"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

Finn verdien på det første leddet i til Fourier serien \\(\\frac{a_{0}}{2}\\). Angi svaret ditt med tre desimaler.

\n

\\(\\frac{a_{0}}{2}\\) = [[0]]

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "({a}/2+{b}+{c}/2)/2", "maxValue": "({a}/2+{b}+{c}/2)/2", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "3", "precisionPartialCredit": 0, "precisionMessage": "Du har feil antall desimaler.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

Finn et utrykk for Fourier koefissienten \\( a_{k}\\) og så regn ut \\(a_{\\var{k}}\\). Angi svaret ditt med tre desimaler.

\n

\\( a_{\\var{k}}\\) = [[0]]

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "1", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "(-{a}+2*{b}-{c})*sin({k}*pi/2)/(k}*pi)", "maxValue": "(-{a}+2*{b}-{c})*sin({k}*pi/2)/(k}*pi)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "3", "precisionPartialCredit": 0, "precisionMessage": "Du har feil antall desimaler.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

Finn et utrykk for Fourier koefissienten \\( b_{k}\\) og så regn ut \\(b_{\\var{k}}\\). Angi svaret ditt med tre desimaler.

\n

\\( b_{\\var{k}}\\) = [[0]]

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "1", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "({c}-{a})cos({k}*pi/2)/({k}*pi)+({a}-{c})cos({k}*pi)/({k}*pi)", "maxValue": "({c}-{a})cos({k}*pi/2)/({k}*pi)+({a}-{c})cos({k}*pi)/({k}*pi)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "3", "precisionPartialCredit": 0, "precisionMessage": "Du har feil antall desimaler.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

Regn ut amplituden til den \\(\\var{k}\\)te harmoniske komponenten. Angi svaret ditt med tre desimaler.

\n

Amplituden = [[0]]

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "sqrt(((-{a}+2*{b}-{c})*sin({k}*pi/2)/(k}*pi))^2+(({c}-{a})cos({k}*pi/2)/({k}*pi)+({a}-{c})cos({k}*pi)/({k}*pi))^2)", "maxValue": "sqrt(((-{a}+2*{b}-{c})*sin({k}*pi/2)/(k}*pi))^2+(({c}-{a})cos({k}*pi/2)/({k}*pi)+({a}-{c})cos({k}*pi)/({k}*pi))^2)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "3", "precisionPartialCredit": 0, "precisionMessage": "Du har feil antall desimaler.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}]}]}], "navigation": {"allowregen": true, "reverse": true, "browse": true, "allowsteps": true, "showfrontpage": true, "showresultspage": "oncompletion", "onleave": {"action": "none", "message": ""}, "preventleave": true, "startpassword": ""}, "timing": {"allowPause": true, "timeout": {"action": "none", "message": ""}, "timedwarning": {"action": "none", "message": ""}}, "feedback": {"showactualmark": true, "showtotalmark": true, "showanswerstate": true, "allowrevealanswer": true, "advicethreshold": 0, "intro": "", "feedbackmessages": []}, "contributors": [{"name": "Mathias Sandulescu", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3503/"}], "extensions": [], "custom_part_types": [], "resources": []}