blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6bc1fe8ec2446ea131bef896773676986ed11071 | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH6/EX6.26/example626.sce | 779034aafc97529fbedfbbaaea067d91bb761988 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 126 | sce | example626.sce | //Example 6.26
//Find laplace transform x(t)=2e^(-3t)u(t)-e^(-2t)u(t)
clc;
syms t;
x=2*%e^(-3*t)-%e^(-2*t);
X=laplace(x); |
31932afeb65fc997059d38ac043f76311dbf309c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2495/CH4/EX4.11.5/Ex4_11_5.sce | d2327eb3fb568fc40f9d6ec61c43ff460487141d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 524 | sce | Ex4_11_5.sce | clear
clc
KD=4.7;//distribution coefficient
W1=20;//amount of ether added in cm^3
W2=50;//amount of solution in cm^3
M=0.20;//amount of aspirin in gm
w2=(M/(1+(W1*KD)/W2));//mass of aspirin in ether phase in gm
printf('w2=%.4f gm',w2)
w1=M-w2;//mass of aspirin in aqueous phase in gm
printf('\nw1=%.4f gm',w1)
... |
f19020df53fac46ab2ecb050e085116a24c26cd1 | f236ec615e69bf23816e88184d23766befc964ea | /report_eeg_blk/scilab_eeg_ann.sce | f91655ce83140d5154dd6b3545db57cc1e539c40 | [] | no_license | mikbuch/eeg_01_mwm_blink | 1feeaa6c5b581f2e7031076a84c88141aaca25cd | fd9cdb2abe17295420cf00be0fe6992dce05a91c | refs/heads/master | 2016-09-11T02:46:05.864520 | 2015-04-07T16:45:20 | 2015-04-07T16:45:20 | 29,982,651 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 46,631 | sce | scilab_eeg_ann.sce | \documentclass{article}
\usepackage{graphicx}
\usepackage{float}
\usepackage{polski}
\usepackage[utf8]{inputenc}
\usepackage{indentfirst}
\usepackage{listings}
\usepackage{pdfpages}
% these 2 packages have to be used like that
\usepackage{siunitx}
\usepackage{csvsimple}
\usepackage{mdframed}
\usepackage{alltt}
\... |
1c2c85e629a89c78a412732f6d7ed7fe2b83be2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /851/CH4/EX4.1/Example4_1.sce | 142ba3e6ce33abaa7be28821dd71be039b52a54d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 868 | sce | Example4_1.sce | //clear//
//Caption:Bound on Aliasing error for Time-shifted sinc pulse
//Example4.1:Maximum bound on aliasing error for sinc pulse
clc;
close;
t = -1.5:0.01:2.5;
g = 2*sinc_new(2*t-1);
disp(max(g),'Aliasing error cannot exceed max|g(t)|')
f = -1:0.01:1;
G = [0,0,0,0,ones(1,length(f)),0,0,0,0];
f1 = -1.04:0.0... |
f12267611dfd7429bdf5df661c5faa7a7f4af394 | 449d555969bfd7befe906877abab098c6e63a0e8 | /147/CH8/EX8.5/Example8_5.sce | 1b1697072787e679af2e99766157b189f593b917 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 216 | sce | Example8_5.sce | close();
clear;
clc;
Ibq = 40*10^(-6); //A
Vbb = 6; //V
Vbeq = 0.7; //for Si transistor
//By KVL around the base-emitter
//Vbb = Ibq*Rb + Vbeq;
Rb = (Vbb-Vbeq)/Ibq; //ohm
mprintf("Rb = %0.1f k ohm",Rb/1000); |
0ad4c4e0a226cb0bfa4865cfc8dd755996e6c8d0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /199/CH7/EX7.12/Example_7_12.sce | 817866c90ef3b07442234d4e613e1ded01ad609d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 413 | sce | Example_7_12.sce | // Chapter7
// Page.No-282
// Example_7_1
// Design of phase shift oscillator
// Given
clear;clc;
fo=200; // Frequency of oscillation
C=0.1*10^-6; // Assumption
R=0.065/(fo*C);
printf("\n Resistance R is = %.1f ohm \n",R) // Result
printf("\n Use Resistance R as 3.3 kohm \n")
R=3.3*10^3;
R1=10*R; // To prev... |
69817be85e28ecc2fe2536ce35c7bef8fb9259ec | 449d555969bfd7befe906877abab098c6e63a0e8 | /599/CH5/EX5.8/example5_8.sce | a8f2126e1f0174e0e8fe8b583005865c388d04c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,952 | sce | example5_8.sce |
clear;
clc;
printf("\t Example 5.8\n");
pa1=4.24 //data: vapour pressure of water at 30degree = 4.24 kpa
pa2=1.70 // vapour pressure of water at 30degree = 1.70 kpa
//part(i)
pt=100; //total pressure
ys_bar=pa1/(pt-pa1); //kg water vapour/k... |
81090b5c384a5c78706e85de1b943c1ce9428785 | 1effec70f42dbf473f60b45855c2902a9c162d63 | /scripts/exercice1.sce | 4df575e1c87ef1c9afe120facab006293ae7dab1 | [] | no_license | OlKakine/TP-Scilab-Analyse | fd7abdc2698e2f1344ddb8e4b0c5904653e76da1 | d99e1947127a05a6ff2c98e99f9e56cfa1afb29e | refs/heads/master | 2020-04-09T00:35:39.797674 | 2016-11-23T12:16:37 | 2016-11-23T12:16:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 82 | sce | exercice1.sce | clc; clf; clear;
x = 1e30;
y = 1e-8;
z = ((y + x) - x) / y
w = (y + (x - x)) / y
|
023f24791a17920980aa000a0a1a9f85d6926b10 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2705/CH2/EX2.6/Ex2_6.sce | 186ca15e2919c0c447a5417bc94ada8c526aa65f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 974 | sce | Ex2_6.sce | clear;
clc;
disp('Example 2.6');
// Given values
m_dot = 4.5; // mass flow rate of air, [kg/s]
Q = -40; // Heat transfer loss, [kJ/kg]
del_h = -200; // specific enthalpy reduce, [kJ/kg]
C1 = 90; // inlet velocity, [m/s]
v1 = .85; // inlet specific volume, [m^3/kg]
v2 = 1.45; // exit specific volume, [m^3/kg]
A2 =... |
8154e4a1304bca5739818ab5a27348ac11755ed5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH8/EX8.24/example8_24.sce | 33e54c32a74f981485bac5cfca6c8320a7a8859d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | sce | example8_24.sce | //Chapter 8
//Example 8_24
//Page 194
clear;clc;
l=600;
wi=1;
h=15;
w=1.925;
t=8000*2.2/5;
wt=w+wi;
d=2*h*t/(1+w)/l;
A=[1 1; -1 1];
b=[l; d];
X=A\b;
x1=X(1);
x2=X(2);
s2=wt*x2^2/2/t;
printf("x1 = %.0f m \n", x1);
printf("x2 = %.0f m \n\n", x2);
printf("S2 = %.2f m \n", s2);
|
58890e6ee764165876d10c49ec41cef31e0482bf | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH6/EX6.17/Ex6_17.sce | 04892232ef9a22afd657fb7d9dfaaa84a31c60ce | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,509 | sce | Ex6_17.sce | // chapter 6
// example 6.17
// Calculate firing angle and supply power factor
// page-341-342
clear;
clc;
// given
Vs=230; // in V (voltage supply)
f=50; // supply frequency
E_batt=200; // in V (battery emf)
r=0.5; // in ohm (internal resistance of battery)
Id=20; // in A (load current)
// calculate
Edc=E_batt+Id*r; /... |
15261395f59790167ff51396ffd111c659e8f930 | a2919a91aa01a261d8f362383439831d8f774a16 | /Phase2_functions/functions/fft2/fft2.sce | 6889a4227daebb942dc911e7af30c6059282b454 | [] | no_license | priyanka1111/Scilab-Image-Processing-Toolbox-using-OpenCV | d673451a979dee4ae67d23aa51c42aaa5a34c951 | d9d4ef736e88d172796aa59e113f5a6c9380f3f2 | refs/heads/master | 2020-12-30T11:15:31.975435 | 2020-10-03T09:30:19 | 2020-10-03T09:30:19 | 38,579,256 | 0 | 0 | null | 2020-10-02T04:49:55 | 2015-07-05T18:26:04 | C++ | UTF-8 | Scilab | false | false | 450 | sce | fft2.sce | //Author Priyanka Hiranandani NIT Surat
function[x] = fft2_ip(A, y, m, n)
if y==0 then
[p q z]=size(A);
else
z=size(A);
end
for i=1:z
if y==1 then
B=double(A(i));
else
B=double(A(:,:... |
7dc7925a324a793b573653e5a0bfcd601dcda795 | 39dec9ea0f4f481da6d07cbc5a145bc8216e09dc | /backend/manualdld/2013-08-30-2/2013-08-30-5-56aeth/AE-MAGEE.SCI | 825f45cf52218fab6a40becb7ffbafec34179cd2 | [] | no_license | sethfowler/particlecamp | a8551af17b1b4b17211919249a454d16e0c0d40b | 0186a61ff6bbc20e4037899d5b52123a700494cd | refs/heads/master | 2016-09-05T15:56:25.399832 | 2013-08-31T19:20:30 | 2013-08-31T19:20:30 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 37 | sci | AE-MAGEE.SCI | Magee Scientific Aethalometer System
|
a7157bddb3469d266aa7df7010bc83cddb90bf9f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3755/CH1/EX1.3/Ex1_3.sce | cac86118daafb102397fe5200814d4665c4e4bd5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 510 | sce | Ex1_3.sce | clear
//
//
//
//Variable declaration
N=6.02*10^26; //Avagadro Number
e=1.6*10^-19; //charge(coulomb)
x=9*10^9;
r0=0.324*10^-9; //equilibrium distance(m)
A=1.748; //madelung constant
n=9.5; //repulsive exponent value
//Calculations
U0=(A*e*x/r0)*(1-1/n);
... |
557d3baa490dace909c97a8ec180862e8179d1ca | 449d555969bfd7befe906877abab098c6e63a0e8 | /2279/CH3/EX3.14/eg_3_14.sce | 94cefa8505321a019edcb797056ec8ec598bf53e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,039 | sce | eg_3_14.sce | //Example 3.14
clear;
clc;
to = 2; //Assume the amount of time shift =2
T=10;
t=0:0.1:T;
for i=1:length(t)
if (t(i)>=0 & t(i)<1)
x1(i) = t(i);
x2(i)=0;
elseif (t(i)>=1 & t(i)<2) then
x1(i)=1;
x2(i)=t(i)-1;
elseif (t(i)>=2 & t(i)<3) then
x1(i)=2;
... |
e5d6a9bc72b86e96b93f9249a47412306209ac4d | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH11/EX11.1/example11_1.sce | b125505c1abffcf5e35cb90d82ef82da5511c9ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 187 | sce | example11_1.sce | //Chapter 11
//Example 11_1
//Page 273
clear;clc;
r1=1/2;
l=2000;
p=5*1e12;
r2=0.5+0.4;
r=p*log(r2/r1)/(2*%pi*l);
printf("Internal resistance of the cable is = %.2f MW \n\n", r/1e6);
|
2b8ad6f3dcbcb87d04bfb48dd351f5822ded5fa1 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/VW42LKU/ATWM1_Working_Memory_MEG_VW42LKU_Session2/ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | fb944e753c51663f076e7f09717d03400d480b6f | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,599 | sce | ATWM1_Working_Memory_MEG_Nonsalient_Cued_Run2.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run2";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monito... |
e108ff3534fc37fc0b60c73b4aa69e6f8a59ddef | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Measurements_And_Instrumentation_P._Sharma_876.zip/Electronic_Measurements_And_Instrumentation_P._Sharma_876/CH2/EX2.1/Ex2_1.sce | 635988aacd00b17384e7d06c0f601fda75de23af | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 356 | sce | Ex2_1.sce | errcatch(-1,"stop");mode(2);//caption:Find maximum and minimum value of resistor
//Ex2.1
R=100//magnitude of resistor(in ohm)
Lmin=-5//minimum limiting error(in %)
Lmax=5//maximum limiting error(in %)
Le=(R*Lmax)/100
Rmax=R+Le
disp(Rmax,'maximum value of resistor(in ohm)=')
Rmin=R-Le
disp(Rmin,'minimum v... |
4e38b060554744fda557e86382b2b2bed5917362 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH4/EX4.17/ex4_17.sce | a16ee725e13eeb66b1a1a9ad409cec4a4f52ce04 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 514 | sce | ex4_17.sce | // Exa 4.17
clc;
clear;
close;
// Given data
V_CC = 18;// in V
V_BE = 0.7;// in V
R_C = 3.3;// in kohm
R_C = R_C * 10^3;// in ohm
R_B = 210;// in kohm
R_B = R_B * 10^3;// in ohm
bita = 75;
R_C = 3.3;// in kohm
R_C = R_C * 10^3;// in ohm
R_E = 510;// in ohm
I_B = (V_CC-V_BE)/( R_C+R_B+bita*(R_C+R_E) );//... |
a50709b37342e80fb0d131b7c64c62330d144b75 | 449d555969bfd7befe906877abab098c6e63a0e8 | /63/CH16/EX16.8/Exa16_8.sci | 7fbcef9b1c4b17e7d6209985f6a31743bc6d4608 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 640 | sci | Exa16_8.sci | //Determine the maximum active tracking range of a deep space radar
A0t = 2.09e+3;
PtT = 5e+5;
A0b = 5.1e-1;
lambda = 0.12;
k = 1.38e-23;
T0 = 2.9e+2;;
dF = 5e+3;
Fb = 20;
RmaxT = sqrt((A0t*PtT*A0b)/(lambda^2*k*T0*dF*(Fb-1)));
A0b = 5.1e-3;
Ptb = 50;
A0t = 2.09e+3;
lambda = 0.12;
k = 1.38e-23... |
88b70cb01fd076748905d7fb70b8ef6b5c5b74b0 | 676ffceabdfe022b6381807def2ea401302430ac | /solvers/ADRSolver/Tests/Helmholtz3D_CubePeriodic_par.tst | e7b73b49c07a3ab315f13ecf0a3813d0f9fbe208 | [
"MIT"
] | permissive | mathLab/ITHACA-SEM | 3adf7a49567040398d758f4ee258276fee80065e | 065a269e3f18f2fc9d9f4abd9d47abba14d0933b | refs/heads/master | 2022-07-06T23:42:51.869689 | 2022-06-21T13:27:18 | 2022-06-21T13:27:18 | 136,485,665 | 10 | 5 | MIT | 2019-05-15T08:31:40 | 2018-06-07T14:01:54 | Makefile | UTF-8 | Scilab | false | false | 661 | tst | Helmholtz3D_CubePeriodic_par.tst | <?xml version="1.0" encoding="utf-8"?>
<test>
<description> 3D Helmholtz/Steady Diffusion Reaction with Periodic BCs P=3 </description>
<executable>ADRSolver</executable>
<parameters>--use-scotch Helmholtz3D_CubePeriodic.xml</parameters>
<processes>5</processes>
<files>
<file description="Sess... |
60929c01388768a4f823ab7ba27a2c4e1ad269bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1946/CH6/EX6.2/Ex_6_2.sce | bf6b85c37fea76dc027ca7f67086de629d17b5d6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 260 | sce | Ex_6_2.sce | // Example 6.2;//optical spacing
clc;
clear;
close;
h=0.5*10^-6;//Wavelength in meter
n=1.38;//refractive index
T=1000;//tEMPERTURE IN KELVIN
q=1.3*10^4;//logitudinal modes
L=(h*q)/(2*n);// optical spacing in meter
disp(L,"optical spacing in meter")
|
c697ad3ce2d9b0da4face437a77c7efbc8c781aa | af86eb5dd11a276a153a618491fd2a0af057d237 | /Communication Engineering - Scilab/Frequency Modulation.sce | 25f04a14b058856dff732667b6168f402e690db0 | [] | no_license | gsiddhad/Mathematics | c2b2b78536e0769ea65791128b12aceea3c6f720 | 4bf16c674d84d1498b874c0f3b3d4b31785aae47 | refs/heads/master | 2023-03-06T02:52:46.933057 | 2021-02-20T11:17:58 | 2021-02-20T11:17:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 406 | sce | Frequency Modulation.sce | clear all;
t=0:0.001:1;
A=5;
fc=50;
fm=5;
m=0.5;
x=A*sin(2*%pi*fm*t);
y=A*sin(2*%pi*fc*t);
Zfm=A*cos(2*%pi*fc*t+m*sin(2*%pi*fm*t));
subplot(3,1,1);
xlabel('Time');
ylabel('Amplitude');
title('Modulating Signal');
plot(t,x);
subplot(3,1,2);
xlabel('Time');
ylabel('Amplitude');
title('Carrier Signal');
plot(t,y);
subplot... |
a997fe504db6ab8acfc27aab8cec6a3743aa3890 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1100/CH8/EX8.6/8_6.sce | af50d4df6e9a49d5914d9b2104ac025796ae178c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | sce | 8_6.sce | clc
//initialisation of variables
Q= 826 //Btu/lb
T= 400 //F
T1= 1000 //F
T2= 2000 //F
T3= 80 //F
//CALCULATIONS
Sw= Q/(T+460)
Sg= (Q/T1)*(log(T1+460)-log(T2+460))
S= Sw+Sg
Q1= (T3+460)*S
Q2= Q+(T3+460)*Sg
n= Q1/Q2
n1= n*100
//RESULTS
printf ('Loss percent = %d ',n1+1)
|
3817610b1116f9929770f95096292200994965c4 | fdc5047b7bf8122bad1e621df236b0481226c36e | /virtualHartSci/demos/virtualHartSci.dem.gateway.sce | 92a1aefd4da14f8f58c970249ab15c05816fb3bd | [] | no_license | jpbevila/virtualHartSci | aea3c6ba23d054670eb193f441ea7de982b531cc | a3f5be6041d230bd9f0fd67e5d7efa71f41cfca5 | refs/heads/main | 2023-07-26T23:05:28.044194 | 2021-09-09T11:50:59 | 2021-09-09T11:50:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,480 | sce | virtualHartSci.dem.gateway.sce | // This help file was automatically generated using helpupdate
// PLEASE DO NOT EDIT
demopath = get_absolute_file_path("virtualHartSci.dem.gateway.sce");
subdemolist = [
"hrtVirtual", "hrtVirtual.sce"; ..
"hrtVirtual.dem", "hrtVirtual.dem.sce"; ..
"hrtTypeUInt2Hex", "hrtTypeUInt2Hex.sce"; ..
"hrtTypeUInt2Hex.dem", "hrt... |
0f49636c98a1bc64baef33ec2390b87578c0faf3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /716/CH3/EX3.6.b/3_11_Exercise_V_3_6b.sce | 589ebfe5cc1d428264759726c1b241f8aa979d96 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 181 | sce | 3_11_Exercise_V_3_6b.sce | //find final value x(0) using final value theorem such that X=L(x(t))
clc;
clear;
s=poly(0,"s");
X=s/(s.^2+4);
xinf=horner(s*X,0);
disp(xinf,'by final value theorem x(inf)='); |
2be9064d973e6ffbdb7e70377ffc8ff52c754605 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2783/CH1/EX1.1/Ex1_1.sce | f970f98ce9f9813180607174913fabb7e500e13c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 305 | sce | Ex1_1.sce | clc
//initialization of new variables
clear
M=29 // Molecular weight of air
R=8314.3 // J/mol K Gas constant
T=300 //K Temperature
P=1 //kg/cm^2 Pressure
g=9.8 //m/s^2 Acceleration due to gravity
//calculations
R=R/M
P=P*g*10^4
rho=P/(R*T)
//result
printf(' Density = %.3f kg/m^3 ',rho)
|
16d2c52a904e34af83b2f17e8d13fca3467dbdfa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH9/EX9.4/Ex9_4.sce | ae69a9fdf8306d60f03fa121194e5bf25b9be5b8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sce | Ex9_4.sce | clear
//Given
m=9*10**-31
v=3*10**7
q=1.6*10**-19 //C
B=6*10**-4
//Calculation
//
r=m*v/(q*B)
f=q*B/(2.0*%pi*m)
E=(0.5*m*v**2)/1.6*10**-16
//Result
printf("\n Energy is %0.2f Kev",E*10**32)
|
a9131243845d6eb1a0f8c6bf8dc8e22335f80cfa | 449d555969bfd7befe906877abab098c6e63a0e8 | /623/CH3/EX2.2.13/U2_C2_13.sce | 8b2e10c228953654c81065707968b0ba3cafae1a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,114 | sce | U2_C2_13.sce | //variable initialization
h=1.054*10^-34; //planck's constant (joule-second)
m=9.1*10^-31; //mass of electron (kg)
x_uncer=1*10^-10; ... |
d191a63c32a194d16391a5ea6d9633f5e1dc324c | 4a1effb7ec08302914dbd9c5e560c61936c1bb99 | /Project 2/Experiments/C45-C/results/C45-C.abalone-10-1tra/result8.tst | 3e986d7b2232303ebcb8ac27ddf153ebd88bf75e | [] | no_license | nickgreenquist/Intro_To_Intelligent_Systems | 964cad20de7099b8e5808ddee199e3e3343cf7d5 | 7ad43577b3cbbc0b620740205a14c406d96a2517 | refs/heads/master | 2021-01-20T13:23:23.931062 | 2017-05-04T20:08:05 | 2017-05-04T20:08:05 | 90,484,366 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,602 | tst | result8.tst | @relation abalone
@attribute Sex{M,F,I}
@attribute Length real[0.075,0.815]
@attribute Diameter real[0.055,0.65]
@attribute Height real[0.0,1.13]
@attribute Whole_weight real[0.002,2.8255]
@attribute Shucked_weight real[0.001,1.488]
@attribute Viscera_weight real[5.0E-4,0.76]
@attribute Shell_weight real[0.0015,1.005]... |
78ff80bfdb7ff00e923a75566a62ec3142eda679 | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/diffuse/diffuse_utils.sce | 593b8303ed9c3ca03ed1dde6dd8750da4f5c5a63 | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 9,084 | sce | diffuse_utils.sce | //General utility functions for diffusion modelling
//function to create an n1xn2xn3 array
//save xyz values
function saveconcs(filename, n1,n2,n3,steps, concs)
fd=mopen(filename, 'a')
mfprintf(fd, '%f %f %f %f\n', steps, n1,n2,n3)
for i=1:n1
for j=1:n2
for k=1:n3
mfprintf(fd... |
ecc53690f456e58ffefb4e6ee09aed2b6c1d811d | 33d7960e39a3e71591538dccbe1dd4014c377e78 | /Sample Solution/CompFin_2017_SS_Exercise_20_MathQF.sce | 3e5676ab3ebf832df50bf978755a8580491d738f | [] | no_license | wiiwins/Compfin | 529e2997994babb9e3795283ddbd8ec782131148 | 2629685421e970a369ec797b76dda3d2803bcbcf | refs/heads/master | 2020-05-18T01:25:39.357847 | 2019-06-27T11:21:46 | 2019-06-27T11:21:46 | 184,090,400 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,830 | sce | CompFin_2017_SS_Exercise_20_MathQF.sce | function V0 = EuCall_BS_ClosedForm(S0, r, sigma, T, K)
// Cumulative distribution function of the standard normal
// distribution.
function p = Phi(x)
p = cdfnor("PQ", x, zeros(x), ones(x));
endfunction
// Implement Black-Scholes formula as given in (3.23),
// where K and T can... |
329df9a415b4597e5bb4b5eab2e2caeca572548e | 449d555969bfd7befe906877abab098c6e63a0e8 | /617/CH16/EX16.7/Example16_7.sci | e8b91d6176033706ce85a8d4c74e2f69ccc463a4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,145 | sci | Example16_7.sci | clc();
clear;
// To calculate the amount of water evaporated in per hour for a square foot of water surface
u=3.82*10^-7; // Viscosity in lb-sec/ft^2
rho=2.3*10^-3; // Density in lbsec^2/ft^4
A=1; // Area in ft^2
Cp=0.24; ... |
4122bdc9d057d1c616c874b0df5003957da94fb9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH11/EX11.5/Example11_5.sce | 8580249b60f53bfa7eb7fe982bb38d0367ae69f4 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,057 | sce | Example11_5.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 4: OVERHEAD LINE INSULATORS
// EXAMPLE : 4.5 :
// Page number 185
clear ; clc ; close ; // Clear the work space and cons... |
fe535639e47bc3a84c797824e94c823159b44c8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH6/EX6.11.b/solution6_11.sce | 3c4104da0a10e345a362c39bb652b060759fc818 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,301 | sce | solution6_11.sce |
//Obtain path of solution file
path = get_absolute_file_path('solution6_11.sce')
//Obtain path of data file
datapath = path + filesep() + 'data6_11.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
//For upper screw
//Calculate the lead lUp (mm)
lUp = n * pUp
//Calculate the mean diameter dmUp (... |
198a96262bb31d45ee67f0654082cdcfe1c679a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/CH2/EX2.17/ex_17.sce | f818a0af8c81ca8b2bc7bae7f66ae4b02ba99ab5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,203 | sce | ex_17.sce | // The equation cos(x)-x*%e^x==0 has real roots.
// the graph of this function can be observed here.
xset('window',8);
x=-1:.001:2; // defining the range of x.
deff('... |
ac2b16a5ff7ec8b703cda38d377b43d6b161f49c | 04101e89f0980b65ec0350667a3cbf16ccd56630 | /Jacobi_GaussSeidel_ConjugateGradient.sce | 4fea7eba75c40733e4603308b95d6f6f00cc0c83 | [] | no_license | francissinco/Numerical-Analysis-in-Scilab | a810d30dc1ba032a6a9bc37a6f5345185781380e | 51f9d2da4d31e865be158bea2b7cf563ccbe21eb | refs/heads/master | 2021-01-10T11:45:15.197910 | 2016-05-06T10:34:45 | 2016-05-06T10:34:45 | 52,008,949 | 0 | 0 | null | 2016-05-06T10:34:45 | 2016-02-18T13:27:34 | Scilab | UTF-8 | Scilab | false | false | 1,651 | sce | Jacobi_GaussSeidel_ConjugateGradient.sce | //Francis Brylle G. Sinco
//MS Applied Mathematics
//Math 271.1
//University of the Philippines - Diliman
//16 September 2010
//This program implements the Jacobi, Gauss-Seidel, and Conjugate Gradient methods for finding the solution of a large system Ax=b, where A is a symmetric positive-definite matrix
n=30; //si... |
b0c83b56d7319dd4951a4177767d18d84d6be353 | 449d555969bfd7befe906877abab098c6e63a0e8 | /761/CH18/EX18.7/18_7.sce | 4915420fc14535cd7ec46bba8d238dbb5cf448e6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 263 | sce | 18_7.sce | clc;
// page no 682
// prob no 18.7
// refer ex no 18.3 and 18.6
Pr_dBm=-62;//power at the receiver in dBm
Pn_dBm=-100;//thermal noise power in dBm
// carrier to noise ratio in dB is given as
C_N=Pr_dBm -Pn_dBm;
disp('dB',C_N,'Carrier to noise ratio is'); |
0daba26417a92a58706413bcaebbb8c34ac6e48a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2234/CH1/EX1.18/ex1_18.sce | 81edb0294f7a638bdb3bf32f5021f805203ea170 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 166 | sce | ex1_18.sce | clc;
i=60; //current in ampere
v=12; //voltage in volt
t=3600; //time in sec
p=i*v*t; //calculating power
disp(p,"Number of joules = "); //displaying result |
f8c948631b15be9c06786b397b03a3121b6abaf7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1694/CH1/EX1.12/EX1_12.sce | 2740792541592c926a91e4d19abed5f5422123af | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 420 | sce | EX1_12.sce | clear;
clc;
printf("\nEx1.12\n");
//page no.-17
//given
a=4.04;.........//lattice constant in angstrom
disp("For <200> planes");
h=2;
k=0;
l=0;
d=a/sqrt((h^2)+(k^2)+(l^2))........//distance between planes in angstrom
disp("For <110 planes>");
h=1;
k=1;
l=0;
d=a/sqrt((h^2)+(k^2)+(l^2))
disp("For<... |
a4676e91c1a7d778f03dbeeea31115588db50f03 | 734830c483d7180158343b9b5599994878b8b197 | /trip-tests/autograder_trip04.tst | 8c3121d9e2d2b2608aadf908b4fd24bbcafedc39 | [] | no_license | aykamko/proj61b | b53a3b569f82522144e010505859aa3ab66585bb | 5f6688b70f907107512267712a325f907e5e627b | refs/heads/master | 2021-01-16T22:08:56.235971 | 2013-12-12T09:19:39 | 2013-12-12T09:19:39 | 13,669,280 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 77 | tst | autograder_trip04.tst | java -ea trip.Main -m trip-tests/autograder_map04 <<EOF
Syracuse, Tully
EOF
|
91992a5e56892ba1395556328be1724749c42738 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2015/CH6/EX6.5/6_5.sce | 04ba5576b63ef7e762f23d2367f2cfb91d8cf7b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 469 | sce | 6_5.sce | clc
//initialisation of variables
u=170 //blade velocity in m/s
ra=0.2 //ratio of blade speed to steam speed
cril=696 //m/s
co1=0.84 //velocity coefficient
co2=0.87 //velocity coefficient
co3=0.90 //velocity coefficient
cri2=232 //m/s
//CALCULATIONS
ci=u/ra
crol=cril*co1
ci2=crol*co2
cro2=cri2*co3
wd=(11... |
cf9136474640fd54af3400e4fb7520067f610731 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH11/EX11.4/Example11_4.sce | 26cc3248d97f4b34b9eaade8c1914ed2138a78a6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 379 | sce | Example11_4.sce | //Given that
r = 15 //in meter
g = 9.8 //in m.s^2
a = 11 * g //in m.s^2
//Sample Problem 11-4a
printf("**Sample Problem 11-4a**\n")
w = sqrt(a/r)
printf("The angular speed should be %frad/s\n", w)
//Sample Problem 11-4b
printf("\n**Sample Problem 11-4b**\n")
t = 120 //in sec
alpha = w/t
at = alpha*r... |
3d709b8c7fbb9aca3ed00eee5ec9402e75d45bfa | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH24/EX24.4/Ex24_4.sce | f37366a25415d1962278d205adc25de5a1d24ecd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 247 | sce | Ex24_4.sce | clear
//Given
v=2.1*10**7 //m/s
a=4.8*10**7 //C/Kg
Z=79
e=1.6*10**-19
m=9*10**9
//Calculation
r0=(2*m*Z*e*a)/v**2
//Result
printf("\n Distance of the closest approach is %0.1f *10**-14 m",r0*10**14)
|
bbdf8b3d51e3cc57a197f386127b50dccdf14a22 | 3969cd48d2c3a244c9a4b88e34c9e17600e47176 | /macros/fanbeam.sci | 89008612ffd5fcb218b87ffe5279a12bab852476 | [] | no_license | vbhatt-cs/Scilab-IPT | a362ad5968ac0b5ea3d9b8568ed688b0ea293505 | 78dc014d91c81043e4e81f3055c777ad6e7b0a75 | refs/heads/master | 2021-05-30T18:54:47.751439 | 2016-03-19T16:41:03 | 2016-03-19T16:41:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,532 | sci | fanbeam.sci | //Author: Varun Bhatt
//
//Fanbeam function produces fanbeam data (sinogram) from an image.
//
//Input parameters:
//I - Input image. Should be numeric or boolean matrix.
//D - Distance (pixels) from the fanbeam vertex to centre of rotation (which is centre pixel of the image).
// It should be such that the vertex r... |
20a101d18ff7aad12ff9f1465212d84671e0fc45 | 449d555969bfd7befe906877abab098c6e63a0e8 | /534/CH6/EX6.2/6_2_Napthalene_Sublimation.sce | e8bcdb3d4ca05a018bbb355ae1887b6be5d2952c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 614 | sce | 6_2_Napthalene_Sublimation.sce | clear;
clc;
printf('FUNDAMENTALS OF HEAT AND MASS TRANSFER \n Incropera / Dewitt / Bergman / Lavine \n EXAMPLE 6.2 Page 356 \n'); //Example 6.2
// Napthalene Sublimation rate per unit length
//Operating Conditions
h = .05; //[W/m^2.K] Heat Convection coefficient
D = .02; //[m] Diameter of ... |
d7212f0eae8cf091fe6c7e4097071e6412c9945d | 449d555969bfd7befe906877abab098c6e63a0e8 | /374/CH9/EX9.2/92.sci | 35f05e329f42bccbfd4ea77e115392db2244fc50 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 372 | sci | 92.sci | //chapter 9 example 2//
clc
clear
//length of multimode fibre=L1,measured output optical pwer at far end=Pf,measured output optical power at near end=Pn,fibre cut back to a length=L2,attenuation=adB//
L1=1.5;//in km//
L2=0.002;//in km//
Pn=385.4;//in microwatts//
Pf=50.1;//in micro watts//
k=log(Pn/Pf)*0.43;
adB=(10*k)... |
873c5055babe874d037cf923b6f0e729b073b717 | d3ba33088e5d34eaccff205f30b4515b9f598dcf | /RASP_Workspace/demo_files/VMM+WTA/version_w_pad/.vmmwta_test2/char_diodeADC.sce | 5c813d4c5386d4683928dd8fabeb05315e5043ec | [] | no_license | woodjamesdee/rasp30 | d707e480bf116ce278cf4b37b73de9d076e5ede1 | 7f9251e3ec8d8a6ef827b09009b08d575254bd2e | refs/heads/master | 2020-04-21T14:35:45.199183 | 2019-05-20T18:58:42 | 2019-05-20T18:58:42 | 169,640,192 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,902 | sce | char_diodeADC.sce | // Shift 2, 20th Jan
//vchar id i2vout adc
diode_ivdd25V=[
// 2.10 0.005e-9 0.688 hex2dec('0969');
2.15 0.050e-9 0.820 hex2dec('0baf');
2.18 0.120e-9 0.897 hex2dec('0d7b');
2.20 0.200e-9 0.951 hex2dec('0e9f');
2.25 1.220e-9 1.078 hex2dec('11df');
2.30 7.300e-9 1.206 hex2dec('1508');
2.35 38.77e-9 1.329 hex2dec('1... |
c5832c6aabf9d8c112d2d9513b8d5e5fbf441406 | 06a62d768e69fd9dda11b30011c252807e301813 | /lab/e1.sci | c5669e31b61bff2e65192dd3c3743482a398b9e5 | [] | no_license | vikram-niit/matlab | 36ce3d9539629128251eab060164ce81c03aa690 | da8aeb4d727c47474d37676650664bd028d7e41d | refs/heads/master | 2020-03-18T13:40:37.068765 | 2018-05-25T03:51:55 | 2018-05-25T03:51:55 | 134,800,217 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | sci | e1.sci | function res = e1(x)
term = 1;
sum = 1;
i=1;
trueValue = exp(x);
while error<10^-10
error = abs(trueValue - sum);
term = term * x / i;
sum = sum + term;
end
res = sum;
endfunction
|
6774cc320b2a7381c2a3f5f3b4f69ddf2d0023e5 | 6577008921680ddcc005d6cd1fbfc6e580f04740 | /Code/sekan.sci | 4ad00717f2bfb383cc944a74fa0e7454264d5539 | [] | no_license | bagasadif/Program-Scilab | a9539ddf00a5c75ca844d93e9b35309427a28722 | 94d09657ae48d130184c23c34af9a0f4a1a2ab18 | refs/heads/master | 2023-02-19T19:24:24.042558 | 2021-01-24T22:27:39 | 2021-01-24T22:27:39 | 332,569,383 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 880 | sci | sekan.sci | /*
Author : Bagas Adi Firdaus
Deskripsi : Program Penyelesaian Persamaan Tak Linear Metode Sekan
*/
function sekan()
x0=input('Masukkan tebakan awal x0 = ');
x1=input('Masukkan tebakan awal x1 = ');
tol=input('Masukkan nilai toleransi = ');
printf('\nMetode Sekan\n\n');
i = 0;
n = i+1;
fx0 = f(x0);
fx1 = f(x1);
wh... |
738f1b9164c7a8ea066c85f1b085477dccbafffc | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/demos/other/microdaq.dem.gateway.sce | 6228d999138a1df21fbee418a75d4f9695a580e5 | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 1,021 | sce | microdaq.dem.gateway.sce | // Copyright (c) 2015-2019, Embedded Solutions
// All rights reserved.
// This file is released under the 3-clause BSD license. See COPYING-BSD.
function subdemolist = demo_gateway()
demopath = get_absolute_file_path("microdaq.dem.gateway.sce");
subdemolist = ["Blinking LED (XCOS - external/simulation mode... |
a9c1417bd8149822db64a1949790a6a25f3c0d10 | d145a801b8f64afaf9dd0330b93936ca3343cbdb | /test_suite/esd.tst | ac5b0fd840a0b6b2473ab258bd895f9dcbfe60cf | [] | no_license | ChemCryst/crystals | 0fff27ff8576b7c7199e1eaa671407d50132b98e | 8087c68d7f05b903473cee1cb131c06f819dc660 | refs/heads/master | 2023-08-17T16:36:03.675124 | 2023-06-26T10:54:29 | 2023-06-26T10:54:29 | 152,602,292 | 2 | 0 | null | 2023-06-26T10:54:30 | 2018-10-11T14:09:45 | Roff | UTF-8 | Scilab | false | false | 6,580 | tst | esd.tst | \set time slow
\rele print CROUTPUT:
\ Test esd calculations for combined and linked parameters
\SET MIRROR OFF
\DISK
EXTEND 50
\list 29
\LIST 28
END
\LIST 1
REAL 6.094 5.512 11.762 90 76.12
\LIST 2
CELL 2
SYM X,Y,Z
SYM -X,1/2+Y,1/2-Z
END
\LIST 3
READ 2
SCAT C 0 0 2.13 20.8439 1.02 10.2075 1.5886 .5687 .865 51... |
9e3a953ebfa0732670885033213f632f68b5f8bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2774/CH2/EX2.1/Ex2_1.sce | d576eee83607552015a9a38f220f5b72d067948d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,133 | sce | Ex2_1.sce | clc
//solution
// initialization of variables
m=10; // mass of saturated water in kg
// All the necessary values are taken from table C.2
// part (a)
P=0.001; // Pressure in MPa
vf=0.001; // specific volume of saturated liquid at 0.001 Mpa in Kg/m^3
vg=129.2;// specific volume of saturated vapour at 0... |
8ee67978a038b7a48e06032d583bdd0b917aeb4e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1727/CH2/EX2.12/2_12.sce | 66c3445d97a7d04af3d7b884bf27826bc3430405 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 359 | sce | 2_12.sce | clc
//Initialization of variables
g=1000*9.81 //kg/m^3
hc=20 //m
Ax=40*1 //m^2
y1=0 //m
y2=40 //m
//calculations
Fx=g*hc*Ax
function[f] =fy(y)
f=(12*y)^(1/3)
endfunction
Fy=intg(y1,y2,fy)
Fy=g*Fy(1)
F=sqrt(Fx^2 +Fy^2)
//results
printf("Net force = %d kN",F/1000)
//The answer is a bit different due ... |
5d084e29210bec40351d3b214af5ca861332c31f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3809/CH23/EX23.17/EX23_17.sce | 0565e8c917b0202c6b78de0695801dae87db0aa0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 211 | sce | EX23_17.sce | //Chapter 23, Example 23.17
clc
//Initialisation
x=26 //decimal number to be convert
//Calculation
z1=dec2bin(x) //conversion to binary
//Results
printf("Binary of 26 = %s",z1)
|
79c03a0399238681ae9a00a869d5dc5041bae2a0 | 638792a4fe4462b8d15e3374e76b149c6f5ee3e0 | /FISH/MCT_FISH_A.sce | 3d75755fe9d7e025dd86d296ed71aa10d7368d79 | [] | no_license | katielavigne/fMRI_tasks | 8cdb3bc63486a2b44118bc8b4c67b5799cd5080b | abd1f0b089f454531723186d50afdfa17912321c | refs/heads/main | 2023-09-01T12:59:35.488292 | 2021-11-03T12:26:15 | 2021-11-03T12:26:15 | 424,210,826 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,578 | sce | MCT_FISH_A.sce | scenario = "fMRI-only version for MCT project - Run B";
#scenario_type = trials;
scenario_type = fMRI;
#scenario_type = fMRI_emulation;
scan_period = 2000;
pulses_per_scan = 1;
pulse_code = 1;
#pcl_file="MCT_EEG_fMRI_fish_greenlakeisfocal.pcl";
pcl_file="MCT_FISH_A.pcl";
#write_codes = true;
#pulse_width=10;
acti... |
8333f1af50c5f1dbb745397bf5b1cd1e68f8578c | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/CH10/EX10.5/ex10_5.sce | 55d75a41cb90c6709353f3fd7be3adcf1ac1d671 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 526 | sce | ex10_5.sce | //ex10.5
R_C=10*10^3;
C3=0.1*10^-6;
R_L=10*10^3;
A_v_mid=50;
f_c=1/(2*%pi*(R_L+R_C)*C3);
disp(f_c,'lower critical frequency in hertz')
//at midrange capacitive reactance is zero
X_C3=0;
attenuation=R_L/(R_L+R_C);
disp(attenuation,'attenuation at midrange frequency')
//at critical frequency, capacitive re... |
5b04d36d85f8da17b7cd158675c932096bfdd829 | ef9a2839953f3586e66c1cf824c9de199f52d088 | /mcc_generated_files/X2CCode/baudrate.sce | 8a28edd503c9be4b15f381c0f1570353c406bf2f | [] | no_license | MCHP-X2Cdemos/mc_foc_sl_fip_dsPIC33ck_mclv2.x | 72f1e06eb18738796d59938474c6d533bd07bb1e | d77e18983439d895b83b6d63fdaad4c8fdb028e7 | refs/heads/master | 2023-03-20T10:54:54.157111 | 2021-03-11T22:01:12 | 2021-03-11T22:01:12 | 288,478,027 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 175 | sce | baudrate.sce | FOSC = 64000000
BAUD = 921600
FACT = 16
BRG = round((FOSC/BAUD)/FACT -1)
CALCBAUD = FOSC/(FACT*(BRG+1))
ERROR = (CALCBAUD - BAUD)/BAUD
disp('BRG',BRG)
disp('Error',ERROR)
|
f531c4d59e0d81229443c733110373986ca3dc7f | e28bd20fb430c3bdacde74d5950991850ae0ca5e | /codes/dm2.sce | 286b4a718f44d7abdd1a997db53cca31cb062a68 | [] | no_license | JohnMada/dm2vibration | 7b19094335f5465a19b165fbcf76a05b63bd17da | ae69057a0a02ae5d34056e64122ff9f2484f7b86 | refs/heads/master | 2021-01-13T03:13:17.354990 | 2017-01-09T02:38:11 | 2017-01-09T02:38:11 | 77,625,158 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 380 | sce | dm2.sce | // DM2 vibrations
// Programme principal
// Yedhir MEZACHE
// Jonathan RAVAHIMANANA
// Hasinantenaina RAZAFIMAHALEO
clear;
clc;
//exec("dm2.sci",-1);
//xdel(winsid());
M = read('results/matrice_2d_m',2,2); // Matrices obtenue a l'aide de python
K = read('results/matrice_2d_k',2,2); //
[V, w] = spec(inv(M... |
755505d58355d0316f3e97665e142bf49812feb5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1670/CH4/EX4.17/4_17.sce | 659bda4d1c4e5c5e239da00c8b68798c0c57f3ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 341 | sce | 4_17.sce | //Example 4.17
//Gerschgorin Circles
//Page no. 118
clc;clear;close;
A=[1,2,3;2,4,6;3,6,1];
j=2;
k=3;
printf('The Gerschgorin Circles are : \n\n A =' )
for i=1:3
printf('\t|z-%i| = |%i| + |%i| = %i\n',A(i,i),A(i,j),A(i,k),A(i,j)+A(i,k))
if j~=1 then
j=j-1
end
if i==2 then
... |
8dccdfbd897a1bb75bc4f7463d22b8acee1bcd61 | e04f3a1f9e98fd043a65910a1d4e52bdfff0d6e4 | /New LSTMAttn Model/.data/lemma-split/DEVELOPMENT-LANGUAGES/uralic/est.tst | eb4abded8590fdf636615167aad9caa05982aa4b | [] | no_license | davidgu13/Lemma-vs-Form-Splits | c154f1c0c7b84ba5b325b17507012d41b9ad5cfe | 3cce087f756420523f5a14234d02482452a7bfa5 | refs/heads/master | 2023-08-01T16:15:52.417307 | 2021-09-14T20:19:28 | 2021-09-14T20:19:28 | 395,023,433 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 204,603 | tst | est.tst | aju N;FRML;PL
aju N;IN+ESS;SG
aju N;IN+ESS;PL
aju N;COM;PL
aju N;AT+ABL;PL
aju N;TRANS;SG
aju N;NOM;PL
aju N;GEN;SG
aju N;FRML;SG
aju N;AT+ALL;SG
aju N;COM;SG
aju N;IN+ALL;PL
aju N;AT+ALL;PL
aju N;TRANS;PL
aju N;TERM;PL
aju N;AT+ESS;PL
aju N;IN+ABL;PL
aju N;PRIV;SG
aju N;PRT;SG
aju N;PRT;PL
aju N;GEN;PL
aju N;PRIV;PL
a... |
10547a60a99f3763ae74011289abd1443f220807 | c0c48c5a363ac2c0bf21e72833d72a99771dc6ce | /Simulation_Codes/lab10_18i190002/LAB10/input3.sce | 6d3ab74745a62e5c66b3be25f55ce804d61ea1f6 | [] | no_license | shubham1166/Operarions_Research_Projects | 3b6664b83d89b2a005b5194489bfd0d95cafe3d8 | 8f28eea93d9e4ff3d6a8e95160c3f9464ce2fc34 | refs/heads/main | 2023-03-14T02:48:42.359247 | 2021-03-03T05:51:28 | 2021-03-03T05:51:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,900,008 | sce | input3.sce | S = [0.965790 0.034210
0.807998 0.192002
0.228777 0.771223
0.666145 0.333855
0.498587 0.501413
0.101541 0.898459
0.559626 0.440374
0.474555 0.525445
0.260462 0.739538
0.359562 0.640438
0.487916 0.512084
0.399846 0.600154
0.519902 0.480098
0.077508 0.922492
0.252867 0.747133
0.805367 0.194633
0.836800 0... |
16e2b06ec3b70f812e1f869613fee12bbbe4cb0e | 89019820ed684cab108f9e2ba182353e5a3bde8b | /input1.sci | 58b473df3f60a0c2a1c6b1535c182e92d7e4cabd | [] | no_license | LuizAlbino/MC_NPT_HGO-SW | 42243632503527e5286f544c5f15de60dac856e6 | 81cc90e83246afa2f4b642a774ed6686c4cea954 | refs/heads/main | 2023-07-08T06:05:54.374255 | 2021-08-13T12:24:14 | 2021-08-13T12:24:14 | 388,113,429 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 109 | sci | input1.sci | n_particles= 500
eta0= 0.01d0
pressure= 0.0260d0
temp= 2.1819d0
ke= 3.4953d0
coord= 3
initang= 0
steps= 1000
|
9873e6bd858827f51ecd7e554c01ede3a9c1a3c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1775/CH2/EX2.6/Chapter2_Example6.sce | 90217347d89fd0664e955235e8ead17c45b31bd9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 539 | sce | Chapter2_Example6.sce | //Chapter-2, Illustration 6, Page 61
//Title: Gas Power Cycles
//=============================================================================
clc
clear
//INPUT DATA
rv=14;//Compression ratio
c=0.06;//Cut-off percentage
y=1.4;//Ratio of specific heats
//CALCULATIONS
rc=1.78;//Cut-off ratio
nth=(1-(((rc^y... |
645fa356475dff18cf4ae34a10b8d2db04216d1b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2342/CH5/EX5.15/EX5_15.sce | f85fbc7e737b6c801bb9f5b6d3d68fb93b66e24e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 553 | sce | EX5_15.sce | // Exa 5.15
format('v',6)
clc;
clear;
close;
// Given data
k= 0.05;// in mA/V^2
V_T= 1;// in V
V_DD= 6;// in V
R_S= 9.1;//in kΩ
//V_GS= V_DD-I_D*R_S
//I_D= k*(V_DD-I_D*R_S)^2
//I_D^2*R_S^2-I_D*(2*V_DD*R_S+1/k)+V_DD^2
A= R_S^2;// assumed
B=-(2*V_DD*R_S+1/k);// assumed
C= V_DD^2;// assumed
I_D= [A B C];
... |
b28e156ec346054dfa117b9671c67f54be684597 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_College_Physics(volume_2)_R._A._Serway_And_J._S._Faughn_2072.zip/College_Physics(volume_2)_R._A._Serway_And_J._S._Faughn_2072/CH19/EX19.9/Ex19_9.sce | 4bc9bf8108f8b127d8cb0404bc23004ce1214121 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 235 | sce | Ex19_9.sce | errcatch(-1,"stop");mode(2);//Example 19.9
N=100//turns
l=.1//in m
n=N/l//in turns/m
mo=4*%pi*10^-7//Tm/A
I=.5//in A
B=n*I*mo
q=1.6*10^-19//in c
v=375//in m/s
F=q*v*(B/2)
disp(B,"Magnetic field in T=")
disp(F,"Force in N=")
exit();
|
92f3c746afb97c8b55ece607c2d42e3b90c8214b | 449d555969bfd7befe906877abab098c6e63a0e8 | /53/CH5/EX5.1/example_1.sce | fa9150c1cab0f9802e5381cc694fc55c31e7115c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 911 | sce | example_1.sce | //caption:shunt voltage feedback circuit
//example5.1
printf("Given:");
printf("R=10 Kohms,\nR1=20Kohms,\nR2=5Kohms,\nhfe=100Kohms,hie=1Kohm,\nRc=1Kohm");
R=10000;
R1=20000;//in ohms
R2=5000;
Rc=1000;
hfe=100;
Bg=-1/R;
hie=1000;
printf("Therefore Bg=%1.5f\n",Bg);
printf("RT=input current coupling factor*-hf... |
3c247e3312e556807679c447f45ad0defd011460 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3701/CH4/EX4.4/Ex4_4.sce | 4edb735a19a4a5537d98a8ea9fd2344be98c7835 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 379 | sce | Ex4_4.sce | ////Given
E=-3.4 //total energy in ev
h=6.63*10**-34 //Js
m=9.1*10**-31
e=1.6*10**-19
//Calculation
//
K=-E
v=h/(sqrt(2*m*K*e))
//Result
printf("\n (a) Kinetic energy %0.3f ev",K)
printf("\n (b) de ... |
2556d24b90f715b12a93de4a8e7a26f7d669df8d | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH10/EX10.3/example10_3.sce | 61f6e247df279cae6e3daf90b2b170cecbf6132c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 901 | sce | example10_3.sce | //Chapter 10
//Example 10_3
//Page 235
clear;clc;
load_kw=5000;
v_r=22;
pfr=0.8;
r=4;
xl=6;
vr=22*1000/sqrt(3);
z=r+%i*xl;
i=load_kw*1000/3/vr/pfr;
vr_phasor=vr+%i*0;
i_phasor=i*(pfr-%i*sin(acos(pfr)));
vs_phasor=vr_phasor+i_phasor*z;
vs=abs(vs_phasor);
lv=vs*sqrt(3);
reg=(vs-vr)/vr*100;
loss=3*i^2*r;
n=load_kw/(loa... |
64bbdeabfdc77e70a781dbb6a05e0167a20cf40d | bb30bb4c59326f7819c15fe66feca6ad5151c89b | /TP1/hmc-tp.sce | 49463d1d0b6f6196bfc4207138e0c6393a80b49d | [
"MIT"
] | permissive | AmineKheldouni/Modeling-the-Hazard | 1f0f15e8faa3a8b6a2f39cfe1f102410b51c0ee7 | 68d9f6da23450db5488c1af473471b376945395e | refs/heads/master | 2020-04-14T22:29:35.105793 | 2019-01-04T23:32:38 | 2019-01-04T23:32:38 | 164,164,692 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,635 | sce | hmc-tp.sce | funcprot(0);
// Notations
// A : matrice de transition de S (taille 2x2)
// B : proba conditionnelle de Y sachant S (taille 2x4)
// filt : proba conditionnelle de S sachant Y (taille 4x2)
// base : nombre entre 1 et 4 indexant la base (ACGT)
// Lit le fichier ADN (NE PAS MODIFIER)
function [adn]=lecture_adn(toto)
A ... |
befbb189d55512e7a1c745ff2cde07c8b7ed0d8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /830/CH4/EX4.02.7/Reconstruction.sce | 706488820abf3bb92564b435122f0c30df698302 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 983 | sce | Reconstruction.sce | //Graphical//
//Example 4.02.7 Sampling a Nonbandlimited Signal
//Plotting Discrete Time Fourier Transform of
//Discrete Time Signal x(nT)= exp(-A*T*abs(n))
clear;
clc;
close;
// Analog Signal
A =1; //Amplitude
Dt = 0.005;
t = -2:Dt:2;
//Continuous Time Signal
xa = exp(-A*abs(t));
//Discrete Time Signal... |
3d75e0ff5d5a96ad34f86a249a2b255f145c71d3 | 786b8b062cc8e4ad6a2a39294d02777c4ec4cb78 | /FreeEDA/LPCSim/LPCSim/getlib.sci | ac01e7c511fbde54ec5bff5494a2e95dd7e0e202 | [] | no_license | FOSSEE/FreeEDA | fc379b9927e63f0b29e66f69284beddff07d43c8 | 0c9f3b3885338be0420773ac2007d8ac54aa7412 | refs/heads/master | 2021-01-18T15:16:58.922680 | 2014-12-09T10:59:41 | 2014-12-09T10:59:41 | 23,788,370 | 6 | 3 | null | 2014-09-26T09:05:17 | 2014-09-08T11:29:52 | Python | UTF-8 | Scilab | false | false | 313 | sci | getlib.sci | // MNA based Circuit Simulator
// Yogesh Dilip Save
// Research Scholor
// IIT Bombay, Mumbai-400076
function I=func(voltage,parameter)
exec('myr.sci',-1);
I=myr_func(voltage,parameter);
endfunction
function Gj=jacobian(voltage,parameter)
exec('myr.sci',-1);
Gj=myr_Jacobian(voltage,parameter);
endfunction
|
db27db035352de10931b5f34612063712ce36e34 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH14/EX14.11/Ex14_11.sce | 24ce862aa7cfdcd77d8deb1f159d692d61206dec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,132 | sce | Ex14_11.sce | // Problem no 14.11,Page No.338
clc;clear;
close;
H=8 //m //height of dam
a=1 //m //top width
b=4.5 //m //Bottom width
rho_mason=24 //KN/m**3 //weight of mason
rho_earth=20 //KN/m**3 //density of water
phi=30 //Degree //angle of repose
mu=0.5 //Coeffecient of friction
BC=120 //KN/m**2
//Calculations
//Let Length of... |
1417240596c652e8a4eb3536da34aa4727749332 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2384/CH2/EX2.19/ex2_19.sce | 5c7173c11301dbd5d4e323c9174085dd3821d703 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 543 | sce | ex2_19.sce | // Exa 2.19
clc;
clear;
close;
format('v',5)
// Given data
R1 = 36;// in ohm
R2 = 12;// in ohm
R3 = 8;// in ohm
V1 = 90;// in V
V2 = 60;// in V
R_T = (R2*R3)/(R2+R3)+R1;// in ohm
I_T = V1/R_T;// in A
I1 = (R2/(R2+R3)) * I_T;// in A
R = (R1*R3)/(R1+R3);// in ohm
R_T = R2+R;// in ohm
I_T = V2/R_T;// in A ... |
dcd60e669b842743015e18814c69e1ad2eb6087a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3681/CH16/EX16.2/Ex16_2.sce | a3725604519327a206ae6408ba87c4c5d4bce2e3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 501 | sce | Ex16_2.sce | // Calculating the inductance
clc;
disp('Example 16.2, Page No. = 16.6')
// Given Data
N = 25;// Number of turns
Ac = 1;// Cross sectional area of the core (in cm square)
u0 = 4*%pi*10^(-7);// Permeability of free space
ur = 200;// Relative permeability
lc = 15;// (in cm)
// Calculation of the inductance
L = ... |
83f33394a776dbb874fc4e4f7ba700cddce49377 | 99b88a8b86c9ba133f1838fdb89798ab0121134a | /app/pid_calculate.sci | ca33bde738c53ba8b903af28e91a3d548aa1d186 | [] | no_license | feng42/Interface_scilab_mbdyn | aae1dd4d7ad13c4440be8ac4e6cb9d5d42cea512 | 604c543f8033fd5e0eed175dc66e5d0e44f5197e | refs/heads/master | 2020-04-26T21:35:30.077586 | 2019-04-27T05:32:31 | 2019-04-27T05:32:31 | 173,845,932 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,469 | sci | pid_calculate.sci | function [yout,last] = pid_calculate(pid_cfg, pre, cur, trg)//,u_last)
_dt = pid_cfg(1);
_max = pid_cfg(2);
_min = pid_cfg(3);
_Kp = pid_cfg(4);
_Ki = pid_cfg(5);
_Kd = pid_cfg(6);
_pre_error = pre(1,:);
_integral = pre(2,:);
size(_integral)
input_size = size(trg);
nums ... |
94e31a37790b24695d88c52faf8962dd85b0c275 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH4/EX4.13/Example413.sce | 2d3f83344edd951174f39deb73acb7b9cb74a753 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,903 | sce | Example413.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 4, Example 13")
disp("Let: rh = hub radius")
disp(" rt = tip radius")
disp("The flow area of the impeller inlet annulus is:")
rh ... |
85a003c06afb999dab42cdea2ccc88022124fb50 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/RP41.prev.tst | dd8e668af8047b77998a8896c155a5b9b1677f5e | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,789 | tst | RP41.prev.tst | # x^2 + 4 = m^2 + n^2 ?
0 2^2
1 5 = (1)^2 + (2)^2 proper representation by 1^2 + 2^2
2 2^3
3 13 = (2)^2 + (3)^2 proper representation by 2^2 + 3^2
4 2^2*5 = (2)^2 + (2^2)^2
5 29 = (2)^2 + (5)^... |
638266b4e13eb6f358981ecee191df5587cc3f14 | 63e41587daefcf8180d9ee0a356e14531008e696 | /gui_final.sci | 7fb25eba7efd378349adadaf4ba4548cee6fe23c | [] | no_license | rutup1595/gui-codes | 10f7415b3a0cb456043e19e9273d78c4860fcaae | 880b91beac114d16b1c854b27a770903c9ced6fe | refs/heads/master | 2020-12-05T08:39:00.817311 | 2019-08-16T05:00:40 | 2019-08-16T05:00:40 | 67,854,154 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 15,772 | sci | gui_final.sci | // sys=1/(s+2+s^3)
// sys=((s+3)*(s))/(s+2+s^4)
// sys=(s+4)/(s^2+8*s+9)
global margin_x margin_y;
global frame_w frame_h plot_w plot_h;
// Window Parameters initialization
frame_w = 200; frame_h = 550;// Frame width and height
plot_w = 150; plot_h = frame_h;// Plot width and heigh
margin_x = 150; ... |
461ed3bb9612e61acfbd272085dfc9fa6291240c | a32457bc76e1a5fe9898d7f84b937381d3bcb80d | /experiment7.sce | fbf7e1febf52b0c9c7ab07a705502b78d11a057b | [] | no_license | kunalsparkx10/signal-and-systems | 90d80c4b279b3c44ddd328fbf088ddbbc1ca9b5f | 97164f97bd59b1d8b302efeab6a7f6a2640c0a57 | refs/heads/main | 2023-01-14T10:44:22.315838 | 2020-11-25T18:24:57 | 2020-11-25T18:24:57 | 316,021,693 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 857 | sce | experiment7.sce | //part-1
clc;
j=sqrt(-1)
x_mag1=[];
x_phase1=[];
w1=[w1 w];
x=1/(1-0.5*exp(-j*w))
for w=-2*%pi:0.01:2*%pi
x_mag=abs(x);
x_phase=phasemag(x)
x_mag1=[x_mag1 x_mag]
x_phase1=[x_phase1 x_phase];
w1=[w1 w]
end
plot(w1,x_mag1)
figure;
plot(w1,x_phase1)
//part-2
clc;
j=sqrt(-1)
... |
d4acbaad97b89f239affee922556d91ff7b1ef1b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1793/CH13/EX13.2/13Q2.sce | 1defa2788b69dd550811c9b8cfdd98fdff7ea602 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 466 | sce | 13Q2.sce | clc
//c=0
a=36
G=16
Ka=(1-sind(a))/(1+sind(a))
//at z=0 Tp=0
z=6
To=G*z
Ta=Ka*To
Pa=z*Ta/2
printf('a)Rankine active force per unit length of the wall = %f kN/m',Pa)
printf(' and the location of the resultant is z = 2m\n')
p=36
G=16
Kp=(1+sind(a))/(1-sind(a))
//at z=0 Tp=0
z=6
To=G*z
Tp=Kp*To
Pp... |
e131e0e54babdd2f160d53d62cdac45037e47490 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2837/CH23/EX23.4/Ex23_4.sce | c8ced23f33453bb1dbc2fc0e7bb9f521ca5dc0db | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 396 | sce | Ex23_4.sce | clc
clear
//Initalization of variables
pa=14.7
pv=0.0356
pv2=0.04
cp=0.24
t1=70 //F
t2=15 //F
R=53.35
V=8000 //ft^3
//calculations
sh=0.622*pv/(pa-pv2)
hm2=cp*t1+ sh*1092.3
hm1=cp*t2+sh*1068.4
Q=hm2-hm1
m=144*(pa-pv2)*V/(R*(t2+460))
Q2=Q*m
//results
printf("Heat added per min = %d Btu/min",Q2)
disp(... |
210d75ecd038205549fbc14d6994edb89fa68fcf | 33f77c32fb16283501d950b6fc6b43a07914f32e | /scilab_autopilot/lib/math/quat/quat_conj.sce | f9e5cb5d0db0b933c0d22cc6912e147f1880e0b9 | [] | no_license | CLUBMODELISMECEADSTOULOUSE/autopilot | 26b79d6a2a632f08989a5528e82f553616617646 | a6ffae2f8a86fbc79e636ddd5173af104e1af9cd | refs/heads/master | 2021-01-21T00:59:06.271128 | 2015-10-25T09:31:54 | 2015-10-25T09:31:54 | 34,409,237 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 365 | sce | quat_conj.sce | // Conjugate of a quaternion
//
// Return a quaternion with the opposite vectorial part.
//
// INTPUT
// - q: the intput quaternion
//
// OUTPUT
// - qRes: the conjugate
//
// USAGE
// qRes = quat_conj(q);
//
// HISTORY
// 28/03/2014: T. Pareaud - Creation
function [qRes] = quat_conj(q)
qRes=[quat_getScal(q) ; vec... |
9834bdbe53dfea22e636e708983c6fda09013ebb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH3/EX3.4/ex3_4.sce | aa9e3e181c001a19a42e46949b5d73dd41d4bd7f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 478 | sce | ex3_4.sce | clc;
D=20; // Diameter of the sphere in cm
m=2.54; // Mass of gas filled in sphere in gram
p=10; // Pressure of gas in bar
T=25; // Temperature of gas in Degree Celcius
R=8.3144*10^3; // Universal gas constant in J/kmol K
V=(3.14*(D*10^-2)^3)/16; // Volume of das in sphere in m^3
M=(m*10^-3*R*(T+273))/(p*10^5*V)... |
0b3d1909b7838f9145f59e2160d6ecd1b63368a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1367/CH5/EX5.10/5_10.sce | 311720bfb65287c6f7b4bab4da0b47f75c8f535b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 278 | sce | 5_10.sce | //Find Dimension of unit cell
//Ex:5.10
clc;
clear;
close;
w=0.0708;//wavelength in nm
h=1;
k=0;
l=0;
s=0.0132;//a common divisor i.e.sin^2(theta)=0.0132
a=sqrt((w^2*(h^2+k^2+l^2))/(4*s));//in nm
a1=10^3*a;//in pm
disp(a1,"Dimension of unit cell (in Picometer) = "); |
b5ee29df68266b93cd1cd99dcd875393c7e1e581 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH1/EX1.1/exa1_1.sce | 0af113a66f3b948dc05724be377192c9455675e8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 396 | sce | exa1_1.sce | // Example 1.1
// charge Transfer and Average Current
function[i]=f(t)
i=10*sin(%pi*t/2)
endfunction // Current as a function of time
q_T=intg(0,6,f); // Total charge is given by integrating area under the curve of // current vs time
i_av=q_T/6;
disp(q_T,"total charge Tran... |
c0fbb183a582f7e2213f5a816016e59c9775bb53 | 449d555969bfd7befe906877abab098c6e63a0e8 | /575/CH7/EX7.4.2/7_4_2.sce | 464d7ef5fd0850676702f0738206bbeb9e657265 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 417 | sce | 7_4_2.sce | clc
pathname=get_absolute_file_path('7_4_2.sce')
filename=pathname+filesep()+'742.sci'
exec(filename)
printf(" All the values in the textbook are Approximated hence the values in this code differ from those of Textbook")
Ek=mdot*10^(-3)*(u2^2-u1^2)/2
Ep=mdot*g*deltaZ/10^3
Qdot=Qdot/(0.239*3600)
Hdot=Qdot-Ws-Ek-... |
1ba009697b82a24a77eda60228937e9353e53422 | 449d555969bfd7befe906877abab098c6e63a0e8 | /623/CH1/EX1.1.24/U1_C1_24.sce | 43fc914ad996f0e870a4416ec21dfd05880a617d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 419 | sce | U1_C1_24.sce | //variable initialization
n=0.01 //fractional increase in momentum
c=3*10^8; //speed of light (meter/second)
//calculation of velocity of particle
Beta=(n*(2-n))^(1/2); //calculation of Beta
v=Beta*c; //velocity of particle (m... |
6fafc76279be0284687d103550b3b6d983fc8876 | 449d555969bfd7befe906877abab098c6e63a0e8 | /746/DEPENDENCIES/10_03.sci | 4418e53e3b7068e7ae178a28ecda904a9bfb5e80 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 578 | sci | 10_03.sci | //Rate of flow in gm:
Q=[0 500 800 1000 1100 1200 1400 1500];
//Suction pressure in psig:
ps=[ 0.65 0.25 -0.35 -0.92 -1.24 -1.62 -2.42 -2.89];
//Discharge pressure in psig:
pd=[53.3 48.3 42.3 36.9 33 27.8 15.3 7.3];
//Motor Current in amps:
I=[18 26.2 31 33.9 35.2 36.3 38 39];
//Acceleration due to gravity in f... |
1a6d5ad015cd5251216fdd5ecdde61a698abc1e8 | b34461c9ddff1ba130b67023d6e568ada42830dc | /scripts/normalisation.sci | 1b93f02682a1208983618ed7f3fb25d1dad7457d | [] | no_license | AdrienKegler/Projet-Exolife | f72287fdc41a07b88f03b8346dafab93b4539b07 | 249f0861dc4ba3f2a7639ea60b7d12b45e717933 | refs/heads/master | 2020-05-25T14:05:45.213740 | 2017-03-17T09:16:20 | 2017-03-17T09:16:20 | 84,937,694 | 0 | 0 | null | 2017-03-15T10:15:55 | 2017-03-14T10:45:25 | Scilab | UTF-8 | Scilab | false | false | 336 | sci | normalisation.sci |
function image_out=normalisation(matrice,n_min,n_max)
SizeX = size(matrice,"r");
SizeY = size(matrice,"c");
image_out= zeros(SizeX,SizeY);
for i = 1:SizeX,
for j = 1:SizeY,
pixel_value = matrice(i,j);
image_out(i,j)= ((pixel_value-n_min)*255)/(n_max-n_min);
end;
end... |
84e7164da6c3e2583e15a1893fa10e499d164ea9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3701/CH2/EX2.15/Ex2_15.sce | 64e9b5f9284a5d9eb3c5c548a0fe3550c9c9f56e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 341 | sce | Ex2_15.sce | ////Given
E=0.9 //Mev
a=120 //degree
m=9.1*10**-31 //Kg
c=3*10**8 //m/s
//calculation
b=((m*c**2)/1.6*10**-19)*10**32
energy=E/(1+2*(E/b)*(3/4.0))
//Result
printf("\n energy of scattered photon ... |
de8ee5fa6e7d65cda294dad52ac6e6add65b5add | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH22/EX22.6/22_6.sce | 9975673807a3e55e215597a361e0bd5f7beeff37 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 129 | sce | 22_6.sce | //Velocity of B
//refer fig.2.9
omega=(2)/(3*sind(60)) //rad/sec
vB=3*0.770*cosd(60) //m/sec
printf("\nvB=%.3f m/sec",vB)
|
a43a04f76e219682293575a4ea4d5f0377a21435 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH4/EX4.3/Chapter4_Example3.sce | 05c205ba0f5c95d8c24caac83c0ed40585f0bf58 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 744 | sce | Chapter4_Example3.sce | clc
clear
//Input data
m=100;//Mass of water in gms
tw=40;//The temperature of water in degree centigrade
mi=52;//Mass of Ice in gms
Lw=100;//Latent heat of fusion of water in cals per gram
Li=80;//Latent heat of fusion of Ice in cals per gram
//Calculations
h=Lw*tw;//Heat lost by water when its temper... |
fc9f445ea74d02c399bc4aed4cd454e0f28bb497 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Linear_Algebra_And_Its_Applications_G._Strang_70.zip/Linear_Algebra_And_Its_Applications_G._Strang_70/CH1/EX1.5.1/1_5_1.sci | 4ef21d89f1407c78b4e8291c6cf664c17acd12cf | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 186 | sci | 1_5_1.sci | errcatch(-1,"stop");mode(2);//page 34
;
;
A=[1 2;3 8];
disp(A,'A=')
[L,U]=lu(A);
disp(L,'L=');
disp(U,'U=')
disp('LU=')
disp(L*U)
disp('This shows that LU=A')
//end
exit();
|
6920cf3ab79066b29642dac0e2bd74c662bb6d15 | 449d555969bfd7befe906877abab098c6e63a0e8 | /269/CH7/EX7.13/example13.sce | 69f7e948e0a86d3e232855d79214967ec1259d5c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 174 | sce | example13.sce | Syms t,s
//by network equations
disp('by network equations i(s)=1/(s+1)^2+1')
[A]=pfss((1*s^0+0)/((s+1)^2+1))
b=ilt(A(1),s,t)
disp('The inverse laplace is')
disp(b)
|
aa1d6b01dd298522f7b3f41a38fa0f15081bcfcc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH10/EX10.5/Ex10_5.sce | cbb9b2021f65503b9fe52b69c3d2903ad47157a1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 310 | sce | Ex10_5.sce | clc;
clear;
T0=293 //temperature of the surrounding
T1=373 //temperature of the black body in case 1
T2=303 //temperature of the black body in case 2
//calculation
E1_by_E2=(T1^4-T0^4)/(T2^4-T0^4)
mprintf("The ratio of how much body cools in the first case to the second case is = %2.1f",E1_by_E2)
|
8e95783a758153a6f14ebefa5df24888f5d7abb4 | 6e257f133dd8984b578f3c9fd3f269eabc0750be | /ScilabFromTheoryToPractice/CreatingPlots/testplot3dcontour.sce | b05f12bf31193c867f321b12c5693986e1fc649b | [] | no_license | markusmorawitz77/Scilab | 902ef1b9f356dd38ea2dbadc892fe50d32b44bd0 | 7c98963a7d80915f66a3231a2235010e879049aa | refs/heads/master | 2021-01-19T23:53:52.068010 | 2017-04-22T12:39:21 | 2017-04-22T12:39:21 | 89,051,705 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 501 | sce | testplot3dcontour.sce | // grid definition
x=[-1:0.1:1];y=x;
// surface computation
[X,Y]=meshgrid(x,y);
Z=X.^2-Y.^2;
//surface display
clf;
F=gcf();F.color_map=hotcolormap(64);
subplot(121)
// plots a surface in 3D
plot3d1(x,y,Z)
// remove the facet plot
E=gce();E.color_mode=-1;
// add the contour lines to the surface
contour(x,y,Z,7,f... |
0d677c5218635c291fa69dd7293d720bb7914209 | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH6/EX6.6.1/exa6_6_1.sce | 19cfe6052daebda3a1cd5a397ded744798ccfe5a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,629 | sce | exa6_6_1.sce | // Example 6-6-1
// Design of a lead compensator using root locus
clear; clc;
xdel(winsid()); //close all windows
// please edit the path
// cd "/<your code directory>/";
// exec("rootl.sci");
s = %s;
G = syslin('c',10 , s*(s+1) ); //open loop system
R = [ -1.5 -1.5];
I = [2.5981 -2.5981]; // desired closed loop... |
70b08b80588ee9049a4046b57e5298062398e382 | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH2/EX2.11/2_11.sce | b7c27dca562f3e1d6b08e12e40c350d3acad10b4 | [] | no_license | apelttom/20-semester_PhD_thesis | edc0b55580bae9d364599932cd73cf32509f4b7a | ff28b115fcf5e121525e08021fa0c02b54a8e143 | refs/heads/master | 2018-12-26T22:03:38.510422 | 2018-12-14T20:04:11 | 2018-12-14T20:04:11 | 106,552,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 293 | sce | 2_11.sce | clc;
R_=8314.5;
m_=26;//kg/k mole
y=1.26;
R=R_/m_;
cv=R/[(y-1)*1000];
cp=y*cv;
T1=315+273;//K
p2=1.5;//bar
p1=3;//bar
T2=T1*p2/p1;
Q=cv*(T2-T1);
disp("heat rejected in part a:");
disp("kJ/kg",-Q);
T2=20;//K
T1=280;//K
m_=1;
Q=m_*cp*(T2-T1);
disp("heat rejected in part b");
disp("kW",-Q);
|
ed97a7dc62386dc0ab235515c96e43023956cafd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2459/CH11/EX11.19/Ex11_19.sce | 9fb46ec0e10666fa8d8c23ee0dcba90707998152 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 207 | sce | Ex11_19.sce | //chapter11
//example11.19
//page223
Rc=2 // kilo ohm
Ri=1 // kilo ohm
gain_beta=50
// for single stage, R_AC=Rc so voltage gain becomes
Av=gain_beta*Rc/Ri
printf("voltage gain = %.3f \n",Av)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.