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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
861f4cfa72dea07fbfc3f0042e3b82e5780782dd | 449d555969bfd7befe906877abab098c6e63a0e8 | /788/CH13/EX13.11.b/13_11_soln.sce | c6d6f29a0b28e0ca57693e5114da5c02587905ce | [] | 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 | 389 | sce | 13_11_soln.sce | clc;
pathname=get_absolute_file_path('13_11_soln.sce')
filename=pathname+filesep()+'13_11_data.sci'
exec(filename)
// Solution:
// upstream temperature in Rankine,
T1=T1+460; //deg R
// absolute downstream pressure,
p2=p2+14.7; //psia
// flow capacity constant,
Cv=(Q/22.7)*sqrt(T1/(p2*del_p));
// Results:
printf("\n ... |
ebe1dc9e23757e5da869b512d6f6617e6e93cc23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3636/CH2/EX2.3/Ex2_3.sce | 039dbc5e89995bfa9a85f8141af0f1ed3123ee1e | [] | 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 | 456 | sce | Ex2_3.sce | clear;
clc;
//Atomic weigths
Si=28.1
Ga=69.7
As=74.9
Na=6.02*10^23 // Avagadro Number in mol^-1
//(a)Si
a=5.43*10^-8 //in cm
n=8 //no. of atoms/cell
//(b)GaAs
a1=5.65*10^-8 //in cm
//Calculation
N=8/a^3 //Atomic Concentration in atoms/cc
N1=4/a1^3 //Atomic Concentration in atoms/cc
Density=(N*Si)/(... |
ba9de301fdb22533034e0285f48aea03bb4bd869 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH7/EX7.11/Example_7_11.sce | 9510a506b77472150c63577f2aff8785bf4f5ef7 | [] | 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 | 550 | sce | Example_7_11.sce | //Scilab Code for Example 7.11 of Signals and systems by
//P.Ramakrishna Rao
clear;
clc;
clear x y n;
x=[0,0,2,0,0];
y=[0,0,1,1,0];
n=-2:2;
c = gca();
c.y_location = "origin";
c.x_location = "origin";
plot2d2(n,x,2);
title('x(t)')
xlabel('t')
figure(1);
n=-2:2;
c = gca();
c.y_location = "origin";
c.x_... |
371976356217d53b4b1c0ba9a546583da0e0f2e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2441/CH4/EX4.5/Ex4_5.sce | d4df3b31917a191ec02fa73b94e2a300600b3304 | [] | 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 | 985 | sce | Ex4_5.sce | //Exa 4.5
clc;clear;close;
format('v',6);
I=100;//A///Current
V=11;//kV
Xs=4;//ohm/phase
f=50;//Hz
pf=0.8;//Power factor Lagging
//Calculation
theta=acosd(pf);//degree
disp("Part(a)");
E=V*1000/sqrt(3)+I*(cosd(theta)-%i*sind(theta))*%i*Xs;//V
del=atand(imag(E)/real(E));//degree
E=abs(E);//V/phase
disp(E,"... |
4c4927ceadaff07b190a9e74d60cb991c5ae6e1d | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/local/2dof_controller/dc/mpc/scilab/gpc_wt.sce | d666277b21bd90742cb088adc37c84b02c3c1d9a | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 196 | sce | gpc_wt.sce | // Updated(19-7-07)
// 12.4
A=[1 -0.8]; dA=1; B=[0.4 0.6]; dB=1;
rho = 0.8; k = 1;
N1 = 0; N2 = 3; Nu = 2;
getf gpc_N.sci;
[K,KH1,KH2,Tc,dTc,Sc,dSc,R1,dR1] = ...
gpc_N(A,dA,B,dB,k,N1,N2,Nu,rho)
|
cbfb03d9b0ecb89c14416a41c21c7f9bc1803de2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2354/CH8/EX8.1/8_1.sce | f7b72017f7c45dcf19ce96d87899ff3f7f38e629 | [] | 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 | 644 | sce | 8_1.sce | //example 8.1
clc; funcprot(0);
// Initialization of Variable
h1=2758.0;
h2=1794.8;
h3=173.88;
h4=h3+1.0084/1000*(8-0.008)*1000;
neta=(h1-h2-h4+h3)/(h1-h4);
disp(neta*100,"thermal efficiency in %");
bwr=(h4-h3)/(h1-h2);
disp(bwr*100,"back work ratio in %");
mdot=100*1000*3600/(h1-h2-h4+h3);
disp(mdot,"mass ... |
b0830e8aab346e05ede471bc4c419790a912240b | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH40/EX40.09/40_09.sce | 5a247543ee6b677a31b6e33461eff711e506ca69 | [] | 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 | 508 | sce | 40_09.sce | //Problem 40.09: Two parallel wires, each of diameter 5 mm, are uniformly spaced in air at a distance of 50 mm between centres. Determine the capacitance of the line if the total length is 200 m.
//initializing the variables:
e0 = 8.85E-12;
er = 1;
D = 0.05; // in m
d = 0.005; // in m
l = 200; // in m
//cal... |
0f61436075b163257608fd53212060a5158a487e | 599a2df49866719b0402643a60ea89f394a845ca | /DEMO1/environment/AIRPORT/AIRPORT.tst | 093b8e4a520b791167bd4161f198fe97cdcdbb97 | [] | no_license | JOYYUANSH88/DEMO | 56983a1831555d03d9c320a5d122dc2cac95cfd6 | f08b4b0e9876d7294548d6dfa1db73c3fd8ec313 | refs/heads/master | 2020-03-24T20:25:32.012242 | 2018-07-31T10:40:31 | 2018-07-31T10:40:31 | 142,977,138 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 357 | tst | AIRPORT.tst | -- VectorCAST 18.sp2 (07/02/18)
-- Test Case Script
--
-- Environment : AIRPORT
-- Unit(s) Under Test: airport
--
-- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT
TEST.SCRIPT_FEATURE:MIXED_CASE_NAMES
TEST.SCRIPT_FE... |
46d60a2203f82ade0731453b496ce8bb03be1ef1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2507/CH12/EX12.7/Ex12_7.sce | cb3404f139437ce82353bac40048348658dcea45 | [] | 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,616 | sce | Ex12_7.sce | clc
clear
printf("Example 12.7 | Page number 422 \n\n");
//Find
//(a) Actual air
//(b) Excess air
//(c) Percentage theoritical air
//(d) Mass fractions
//(e) Dew point
//Part(a)
printf("Part(a)\n")
mC = 0.65 //kg //mass of C per kg coal
mA = 0.15 //kg //mass of Ash per kg coal
CR = 0.05 //kg //mass of ... |
90290d18dd5d090e4fa7176796cc004461a4caac | ebd6f68d47e192da7f81c528312358cfe8052c8d | /swig/Examples/test-suite/scilab/preproc_runme.sci | a54815a34928f468c0cd37752e764df9a9dae659 | [
"LicenseRef-scancode-swig",
"GPL-3.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-3.0-only",
"Apache-2.0"
] | permissive | inishchith/DeepSpeech | 965ad34d69eb4d150ddf996d30d02a1b29c97d25 | dcb7c716bc794d7690d96ed40179ed1996968a41 | refs/heads/master | 2021-01-16T16:16:05.282278 | 2020-05-19T08:00:33 | 2020-05-19T08:00:33 | 243,180,319 | 1 | 0 | Apache-2.0 | 2020-02-26T05:54:51 | 2020-02-26T05:54:50 | null | UTF-8 | Scilab | false | false | 254 | sci | preproc_runme.sci | exec("swigtest.start", -1);
if endif_get() <> 1 then swigtesterror(); end
if define_get() <> 1 then swigtesterror(); end
if defined_get() <> 1 then swigtesterror(); end
if 2 * one_get() <> two_get() then swigtesterror(); end
exec("swigtest.quit", -1);
|
87fd267e278d155f0d3b63f230e2b643cc2f182e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH11/EX11.9/Chapter11_Example9.sce | 331a0b39213b5b2079414d783646a7d59811ca38 | [] | 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 | 960 | sce | Chapter11_Example9.sce | //Chapter-11, Example 11.9, Page 494
//=============================================================================
clc
clear
//INPUT DATA
T=100;//Temperature of dry steam in degree C
Do=0.025;//Outer diameter of the pipe in m
Ts=84;//Surface temmperature of pipe in degree C
Tf=(T+Ts)/2;//Film temperature in... |
e7b802e30267bc050310ba92df3681cc6b347d63 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3.1/Unix-Windows/scilab-2.3/macros/scicos/standard_outputs.sci | abc054bd7318132f49573a6f9654b78b63d6850a | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 909 | sci | standard_outputs.sci | function [x,y,typ]=standard_outputs(o)
//get position of inputs ports and clock inputs port for a standard block
// the output ports are located on the right (or left if tilded) vertical
// side of the block, regularly located from bottom to top
// the clock output ports are located on the bottom horizontal side
/... |
ba8c344acf5ff85ae5c8485b5de425d55a570c98 | 4ddcc4e4acac0192329e4214a1fe13e7db9341ee | /Morse1.sci | 8940e3c443361dd3ba929611b2a37459c4e5dbfe | [] | no_license | Aditisharma1993/Introduction-to-Variational-Monte-Carlo-approach | ea9cf6c23061df50ba9db0d6fa023036a3957973 | 24a559cb8698ffa96617a5beb25ae3214464326c | refs/heads/main | 2023-02-04T08:38:25.562650 | 2020-12-27T15:21:30 | 2020-12-27T15:21:30 | 324,772,402 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,140 | sci | Morse1.sci | function [ECmInv,EeV] = HCl(var,J)
//Written by Aditi and O.S.K.S. Sastri
//var is vector consisting of De, b and Re values.
//Typical input for var for HCl is [5,1,1.27455]
//J is rotational quantum number.
//J = 0 gives pure vibrational levels
//J = 1 gives energy eigen values corresponding to
//first excit... |
3a6be5a106c6d9af5a1fa1dbbcdc0ae0f2c6bfd4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /605/CH13/EX13.1/13_1.sce | 91cbf1030bba0500a8d7bdd53b3e8981ba88b74b | [] | 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 | 183 | sce | 13_1.sce |
P=10000
V=1000
W1=4*%pi*10^6
Wc=2*%pi*10^8
a=P/V^2
printf("\na=%.2f",a)
//(b)=
A=1000+2*225+2*150+2*75
peak_power=a*A^2
printf("\nA=%.0f V\npeak_power=%.0f W",A,peak_power) |
45f321dffa17d7aa9f04a2c7761561634a9db4ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /1787/CH2/EX2.3/Exa2_3.sce | c1be6dad5a1b73cb928472ef44fe08d0272db599 | [] | 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 | 221 | sce | Exa2_3.sce | //Exa 2.3
clc;
clear;
close;
//given data
n=10^24;//electrons/m^3
e=1.6*10^-19;//constant
v=1.5*10^-2;//in m/s
A=1;//in cm^2
A=1*10^-4;//in m^2
I=e*n*v*A;//in Ampere
disp(I,"Magnitude of current in Ampere : "); |
2143c54c60b010e009e71708d0521eb662ac04c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH16/EX16.12/16_12.sce | 3f5bbe10c0c0bb02a45f00957459a3ba677129fb | [] | 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,399 | sce | 16_12.sce | //Problem 16.12: A motor has an output of 4.8 kW, an efficiency of 80% and a power factor of 0.625 lagging when operated from a 240 V, 50 Hz supply. It is required to improve the power factor to 0.95 lagging by connecting a capacitor in parallel with the motor. Determine (a) the current taken by the motor, (b) the supp... |
26dc12821ea5f96e9f4877f6879cfcc5026c8c12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2504/CH12/EX12.4/12_4.sce | a0d86c7294b14f674d9d81d41f9b8808da08b15c | [] | 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 | 342 | sce | 12_4.sce | clc
//initialisation of variables
clear
W= 38 //rev/sec
w= 62.4 //lbf/ft^3
m= 2000 //lbm/sec
g= 32.2 //ft/sec^2
ps= 5000 //lbf/ft^2
S3= 4.6
e= 0.91
//CALCULATIONS
S1= W*(w*m^2/(g*ps)^3)^0.25
D= S3*(m^2/(w*g*ps))^0.25
//RESULTS
printf ('S1 = %.3f',S1)
printf ('\n Diameter = %.2f ft',D)
printf ('\n ef... |
9d52a07bbabf3ab37e783e0832e52688b07dc9b3 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/corrmtx/corrmtx12.sce | 582e87ac1f2aa28fdf07ab0a4c99cf836f4845bb | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 175 | sce | corrmtx12.sce | //no i/p args are passed to the function
X=corrmtx();
//output
//!--error 4
//Undefined variable: varargin
//at line 88 of function corrmtx called by :
//X=corrmtx();
|
bf4d67aaa54f9d9e7c22cf591853820cfeb22c71 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH10/EX10.18/10_18.sce | b0de5c216f44a771364c9fa24872454c65605d96 | [] | 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 | 580 | sce | 10_18.sce | clc;
clear;
h=6.63*10^-34 //Plancks constant in J-s
c=3*10^8 //velocity of light in m/s
m=9.1*10^-31 //mass in kg
lambda_1=100*10^-12 //wavelength in m
e=1.6*10^-19 //charge in C
//calculation
delta_lambda=(h/(m*c)) //wavelength in m
mprintf("The compton shift is = %1.2e m\n",delta_lambda)
lambda_0=lamb... |
390c0aca1f21e1e5fd8ee9e42680666d3f0bbf4d | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/util/zeros.sci | c88d03ac2f5f3cb6f0c4573eb6cd2399200c60ca | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 137 | sci | zeros.sci | function z=zeros(n,m)
// Copyright INRIA
[lhs,rhs]=argn(0)
if rhs==1 then
z=0*ones(n);return;end
if rhs==2 then
z=0*ones(n,m);return;end
|
1c59e3fe5c9db5219bca43bfc6dfd44d9b75192e | 4246b94d92c336e870b60035d41bf5616e22c38e | /arqtrain/arqtrain/futebol.tst | 47e300364b9800fe3c3c923e910e122582f2d239 | [] | no_license | rsboos/FuzzySoccerRobot | c14e7d16c0bac0caacdb17e7bcd1853df7d943da | 2c80729320bc0f72c2d2bea2e0de4d9ce163b36b | refs/heads/master | 2021-01-12T12:52:42.678400 | 2016-09-29T11:25:08 | 2016-09-29T11:25:08 | 69,389,223 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,627 | tst | futebol.tst | 8 2 100
335.000 1.571 0.000 385.000 -2.061 0.000 0 0 -0.375 0.750
335.006 1.566 0.000 384.994 -1.086 0.005 -0.375 0.750 -0.345 0.750
335.064 1.552 -0.000 384.944 -1.100 0.014 -0.345 0.750 -0.285 0.750
335.102 1.528 0.000 384.910 -1.124 0.024 -0.285 0.750 -0.225 0.750
335.126 1.494 -0.000 384.885 -1.157 0.033 -0.225 0.7... |
fbf8409a58bd29bc2868958b5d0a3f5370c575b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /680/CH7/EX7.09/7_09.sce | 5c63cb071d146d9dae311d99bf00421f6fbb1507 | [] | 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,103 | sce | 7_09.sce | //Problem 7.09:
//initializing the variables:
F1 = 50000; // in lb/h
F2 = 60000; // in lb/h
F3 = 80000; // in lb/h
F4 = 60000; // in lb/h
F5 = 40000; // in lb/h
F6 = 35000; // in lb/h
Cp1 = 0.65; // in Btu/lb.degF
Cp2 = 0.58; // in Btu/lb.degF
Cp3 = 0.78; // in Btu/lb.degF
Cp4 = 0.70; // in Btu/lb.degF
Cp... |
11943d90508795b6a31d9c097d70b6445d352dc6 | 180e6114e33b1701c31283dcbb71516689b9b7bf | /Ex_10_11_cscan.sci | 09cffa2af1f6d9557b1d8bdda5e467463774131d | [
"MIT"
] | permissive | nikita9604/Distance-by-Disk-Scheduling-Algorithms | 6ddbe15f169355cfc7d21a9c54e4d3a61780115d | fb84cb8318937f07daba53f97ec3ae4b80d211a1 | refs/heads/main | 2023-01-18T17:21:41.857905 | 2020-11-28T10:35:42 | 2020-11-28T10:35:42 | 316,706,477 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,233 | sci | Ex_10_11_cscan.sci | //This Source file is written by Nikita Rath (18BLC1131), VIT Chennai
//Function for C-SCAN
function [] = cscan(a,head,n)
printf("Order of Track ");
seek_count = 0;
ihead = head;
maximum = 4999;
temp1 = 1;
temp2 = 1;
//Traversing through requests
for i = 1:n
//Reque... |
848260c6023966c0db34e6d39f7e8961e2a889ae | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH14/EX14.9/exa14_9.sce | 8f39952c248490bebc157aff722d68c1f1f3d79d | [] | 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 | 447 | sce | exa14_9.sce | // Example 14.9
// Calculating a Transfer Function
// From figure 14.21 and ABCD parameters that we found in example 14.7 we have,
// since V_1=V_s
// Z_s=0;
s=%s;
disp("H(s)=I_2/V_1")
disp("=> H(s)=-1/A*Z_L+B")
A=1-2/s;
B=-20/s;
Z_L=2.5*s// Assume
H_s=-1/(A*Z_L+B);
P_s=(s^2-2*s-8); // denominator of H_s
... |
0f814fe4ed905c16e250fc87a4618608007860dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1055/CH12/EX12.4/ch12_4.sce | ba8123690c01fbeb6d5bf3ed7b9a7f9dc77895de | [] | 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 | 261 | sce | ch12_4.sce | //Determine the maximum value of transmitted wave
clear
clc;
Z=350;//surge impedencr (ohms)
C=3000*(10^-12);// earth capacitance(F)
t=2*(10^-6);
E=500;
E1=2*E*(1-exp((-1*t/(Z*C))));
mprintf("the maximum value of transmitted voltage=%.0f kV \n",E1);
|
7df3d67968bc400f1e098dffaa9c94e5b1f2b702 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/BV2.prev.tst | bdab5c284caa007a11905ed072503148842ced04 | [
"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 | 56 | tst | BV2.prev.tst | [1,2,-5] + [1,1,1,7] = [2,3,-4,7], original = [1,2,-5]
|
042af1f257262333c9185bfa8c5258991d2d34d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3812/CH8/EX8.2.a/8_2_a.sce | 44a674131b0e87cb3a12040fdb4c529d4ee81817 | [] | 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 | 8_2_a.sce | //Example 8_2 <a>
//determine the nyquist rate of x(t)=sinc(200*pi*t)
//sinc(t)=cos(t)/t
//cos3(t)=3/4[cos(200)+1/4cos(600)]
clc;
clear all;
wp=200;
F1=wp/2;
Fs=2*F1;
disp('Nyquist Rate=');
disp(Fs);
|
5e4bfbfa55ef8b804b9c02526a2c9d8ad2312b85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1847/CH2/EX2.39/Ch02Ex39.sce | f74275481f3f11c016ef23996d25023fa6c1e408 | [] | 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 | 719 | sce | Ch02Ex39.sce | // Scilab Code Ex2.39:: Page-2.29 (2009)
clc; clear;
t = 0.75e-06; // Thickness of the glass plate, m
mu = 1.5; // Refractive index of the glass plate
lambda1 = 4000e-010; // First wavelength of visible range, cm
lambda2 = 7000e-010; // Last wavelength of visible range, cm
r = 0; // Angle of refraction... |
0fe67974e0a379f3c169dbca4f81c6ad86a053db | ae90aa32e949a5eab9665f526f886f05860161d2 | /code/nand2tetris/08/FunctionCalls/FibonacciElement/FibonacciElement.tst | f92caaf936212141c8e0791691a9fc1f3bfbba73 | [
"CC-BY-SA-3.0",
"MIT"
] | permissive | cccbook/sp | 4097ab760cfb013b689dc4739a439de29d85d324 | aff23e6b18ba6221022b14b024fd562427c46d9a | refs/heads/master | 2022-05-22T03:31:33.324045 | 2019-06-06T07:04:37 | 2019-06-06T07:04:37 | 156,299,694 | 257 | 96 | MIT | 2022-03-19T08:48:32 | 2018-11-05T23:56:37 | Assembly | UTF-8 | Scilab | false | false | 466 | tst | FibonacciElement.tst | // This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/08/FunctionCalls/FibonacciElement/FibonacciElement.tst
// FibonacciElement.asm is the result of translating both Main.vm and Sys.vm.
load FibonacciElement.asm,
ou... |
386746389eb4c4794f3a7c81fee1fa0f13290ef7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH5/EX5.5/Ex5_5.sce | 0733379deff4108797fa79fbbae457a32b6a99a5 | [] | 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,451 | sce | Ex5_5.sce | clear all; clc;
disp("Since the pressure changes are small compared with the barometric pressure,constant densities are assumed that is rho3 =rho2=rhoa where rhoa=pa/(RTa)")
p_a=14.6
T_a=535
R=53.3
rho_a=(p_a*144)/(R*T_a)//144 is the conversion factor
printf("rhoa= %0.4f lbm/ft^3",rho_a)
A2=5*6.5
printf("\n... |
6620e86a689d37d6f996f43be912cd51f8015b4f | f78a758dc17a311b355e12366d1315f7a9c2b763 | /GM/GMW3172 2010/9.2.17 Crank Pulse Capability and Durability 2.tst | f4e251585d06b85d18d3620191ec89312d718cd8 | [] | no_license | CZPFOX/Standards | 9dbf036f7e3e5767c23872c884ae7da83e66f81c | af34157e6e447d1a2b39136b9f3734feb663d9bb | refs/heads/master | 2020-06-18T12:58:06.033918 | 2019-07-11T02:55:42 | 2019-07-11T02:55:42 | 196,309,147 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,604 | tst | 9.2.17 Crank Pulse Capability and Durability 2.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AutoTestC version="2.0.0">
<Pulse>CUSTOM WAVE</Pulse>
<Title>Waveform 3</Title>
<Organization>GM</Organization>
<Standard>GMW3172 2010</Standard>
<Item>9.2.17 Crank Pulse Capability and Durability</Item>
<voltage>14</voltage>
<count>49... |
0438eaa35f17e15a76cebf8e447b9723964cd1d6 | af301357b0dfd5c5ca0825378008dd7924e7d5db | /Sistemas.sci | 7db83db7515b935530c40f2fe9fd7c41ee613f3d | [] | no_license | fonte-nele/Metodos-Numerico-Scilab | c544f1a9951f33708f62bdee38a7cddf7699625b | 62a2be7afb3a1f7901bc5f005500475f52f2caae | refs/heads/master | 2020-06-10T11:31:42.291337 | 2019-07-03T18:10:03 | 2019-07-03T18:10:03 | 193,640,719 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,339 | sci | Sistemas.sci | clc;clear;
printf("\nBalanço de Massa\nMétodos Decomposição LU e Jacobi\n\n")
/*ordem = input("Qual a ordem da matriz? ")
printf("Preencha os valores da matriz dos coeficientes:\n")
for i = 1:ordem
printf("Linha %d\n", i)
for j = 1:ordem
printf("Coluna %d", j)
A(i, j) = input("Valor: ")
end... |
988a588814c7d7ad9f7b595e8752a1474bad2eb5 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_ea_usi/~BivLCM-SR-bfas_ea_usi-PLin-VLin.tst | d13951af4f01520f04da7285abd74c7f7e63bb88 | [] | no_license | psdlab/life-in-time-values-and-personality | 35fbf5bbe4edd54b429a934caf289fbb0edfefee | 7f6f8e9a6c24f29faa02ee9baffbe8ae556e227e | refs/heads/master | 2020-03-24T22:08:27.964205 | 2019-03-04T17:03:26 | 2019-03-04T17:03:26 | 143,070,821 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 11,974 | tst | ~BivLCM-SR-bfas_ea_usi-PLin-VLin.tst |
THE OPTIMIZATION ALGORITHM HAS CHANGED TO THE EM ALGORITHM.
ESTIMATED COVARIANCE MATRIX FOR PARAMETER ESTIMATES
1 2 3 4 5
________ ________ ________ ________ ________
1 0.409234D+00
... |
aa352fa9ba81f32fa6a5a47ed32e25d1fe599041 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/falltime/falltime7.sce | 7dd6496f97460f732cfa9ec566ef5264361710b5 | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 330 | sce | falltime7.sce | x=[2.30256624769934;
2.29071803023829;
2.26283604900314;
2.35145015316178;
2.27686291358213;
2.29805616201205;
2.32805830340568;
2.30878734371402;
2.29343801980763;
2.23019030245799];
fs=4e6;
t=(1/fs);
[F,LT,UT]=falltime(x,fs);
disp(F);
disp(LT);
disp(UT);
//output
// 0.0000002
//
// 0.0000022
//
// 0.0000... |
1759054d6cd6995ca1fb8cac7bc11e61a23c9876 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH5/EX5.1/Ex5_1.sce | 943575825889f4966bd5146750980ecaecfbf70c | [] | 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 | 586 | sce | Ex5_1.sce | // Problem 5.1,Page no.121
clc;clear;
close;
b=100 //mm //width of timber joist
d=200 //mm //depth of joist
L=3 //m //Length of beam
sigma=7 //KN/mm**2 //bending stress
w_1=5 //KN/mm**2 //unit weight of timber
//Calculations
w=0.1*0.2*1*5*100 //N/m //self weight of the joist
I_xx=1*12**-1*100*200**3 //mm**4 //M.I of... |
39b55ff9ece7231242d43dc232bc48c524e8c9d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /491/CH11/EX11.1/11_1.sce | 3d224d29a748abb56cf82b79a9189b64968779d5 | [] | 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 | 664 | sce | 11_1.sce | E = 29000; // Modulus of elasticity in ksi
spl = 42 ; // Proportional limit in ksi
L = 25 ; // Total length of coloum in ft
n = 2.5 ; // factor of safety
I1 = 98 ; // Moment of inertia on horizontal axis
I2 = 21.7 ; // Moment of inertia on vertical axis
A = 8.25 ; // Area of the cross section
Pcr2 = (4*%pi^2*E*I... |
63ade8fdcbce4a197b8dd90b96bd643bc0e39b2d | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/print.man.tst | 27c445f6f4635691206cf944b4a15f51616da4c7 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 110 | tst | print.man.tst | clear;lines(0);
a=rand(3,3);p=poly([1,2,3],'s');l=list(1,'asdf',[1 2 3]);
print(%io(2),a,p,l)
write(%io(2),a)
|
11a10a730176e81a493ccec15a7e784833a4b54d | e806e966b06a53388fb300d89534354b222c2cad | /macros/erode.sci | 336e2202a00999cb0033aaaac745fda8e1e76b7c | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 303 | sci | erode.sci | function [out]=erode(input_image ,kernel,actualkernel,anchorX,anchorY)
input_image1=mattolist(input_image);
a=opencv_erode(input_image1 ,kernel,actualkernel,anchorX,anchorY);
dimension=size(a)
for i = 1:dimension
out(:,:,i)=a(i);
end
endfunction;
|
10d96318df9ffd73a7dc4bc815bce00d09ed8aee | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/macros/microdaq_blocks/mdaq_dio_get.sci | 4299264e436abbe7abe0a97b248c0e2ad0c68571 | [
"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 | 2,236 | sci | mdaq_dio_get.sci | function [x,y,typ] = mdaq_dio_get(job,arg1,arg2)
dio_get_desc = ["This block reads MicroDAQ DIO input state.";
"";
"DIO pin: 1...32";
"";
"Set block parameters:"];
x=[];y=[];typ=[];
select job
case 'set' then
x=arg1
model=arg1.model;
graphics=arg1.graphics;
... |
f80a57ea89a92acd2341ca76ef59310dbcf37ea2 | e806e966b06a53388fb300d89534354b222c2cad | /macros/convexhull.sci | 0937f555eec4158d1c81ea60bbec288d9cbae179 | [] | no_license | gursimarsingh/FOSSEE_Image_Processing_Toolbox | 76c9d524193ade302c48efe11936fe640f4de200 | a6df67e8bcd5159cde27556f4f6a315f8dc2215f | refs/heads/master | 2021-01-22T02:08:45.870957 | 2017-01-15T21:26:17 | 2017-01-15T21:26:17 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 139 | sci | convexhull.sci | function [out]=convexhull(pstData,clkwise,returnpoints)
out=opencv_convexhull(pstData,clkwise,returnpoints);
endfunction;
|
dae7e9c1571830fa01e436f485693eba167f086d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1694/CH7/EX1.7/EX1_7.sce | a554924df8a6fe382889863c76a3df94991a92c5 | [] | 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 | 434 | sce | EX1_7.sce | clear;
clc;
printf("\nEx1.7\n");
//page no.-9
//given
rho=2700;.......//density of potassium bromide in kg/m^3
m=119;.........//molecular wt.
n=4;...........//molecules per unit cell for F.C.C.
N=6.02*10^26;...//avagadro no.
M=(n*m)/N;..........//mass in each unit cell
//as density=mass/volume, so volume i... |
306a56e0bae8cbc034052684a25c1557a26ebccd | e16ed2b1e5415e101f10dbee6680d11e6fdb5e6d | /MPages/dcp_mp_acm_worklist/script/DCP_Patient_list_MPage_Scripts.tst | 118d3671ea5788ae2949990bf7db529414dbe74c | [] | no_license | mikeysjob/ccl | 484145533a1e880c9369022c02c9756c86cfdce2 | 2e7b7cbc7a5bad0f035f744e1bab07a19d250f9a | refs/heads/master | 2023-02-09T23:40:06.341187 | 2021-01-06T17:31:02 | 2021-01-06T17:31:02 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,573 | tst | DCP_Patient_list_MPage_Scripts.tst | ;Create new list
/*declare json = vc go
set json = '{"LISTREQUEST":{"patient_list_id":0.0,"name":"Test List 1","description":"","patient_list_type_cd":2177315703.0,"\
owner_prsnl_id":18811197.0,"arguments":[{"argument_name":"ACMPRSNLGROUPS","argument_value":"","parent_entity_id":20705740.0,"\
parent_entity_name":"PRSNL... |
9ca502f1aec147b1fb636f7c40459cbe1f85aaa7 | f782561b1f8fe3d916355f7823306c0ddfcd4e1c | /Assignment 8/TestCaseIntegerArithmetic.tst | 374c04ea7f757c226d21625de474cfe6ca483cd9 | [] | no_license | rohit01010/Computer-System-Design | 17866493199ecea3e65c15558d6e598b552fd537 | 24609e7712e0f996ebc468c7d45d5cfafad0da87 | refs/heads/main | 2023-06-21T21:28:29.274768 | 2021-07-19T16:23:52 | 2021-07-19T16:23:52 | 387,509,305 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 369 | tst | TestCaseIntegerArithmetic.tst | load HackComputer.hdl;
output-file TestCaseIntegerArithmetic.out;
//Loading program to instruction memory
ROM32K load TestCaseIntegerArithmetic.hack;
//Expression being evaluated is d=a+b-c with -
//a=100
//b=50
//c=10
//Value of d is stored at address 19
output-list RAM64[19]%D1.3.1;
set reset 1;
tick,tock;
set r... |
43d32c6009fea45397ebb691af5e2da4e3b882bb | cab1992a709a3eb977bef46f17eadab0c7bbbc5f | /modeling_simulation/ofc_smtransf.sce | ac1f9c6cb3dc33dffe1657420c9560c466dd286b | [] | no_license | andreinakagawa/neuroscience | 80ab70cfc2c7df7d7891373cc9c889b4b8f83dd6 | 681125f0e1248269665749ed8bf17d5cfe6c2fda | refs/heads/master | 2021-06-07T09:37:51.810764 | 2017-10-05T11:32:03 | 2017-10-05T11:32:03 | 15,914,740 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,899 | sce | ofc_smtransf.sce | //------------------------------------------------------------------------------
// FEDERAL UNIVERSITY OF UBERLANDIA
// Faculty of Electrical Engineering
// Biomedical Engineering Lab
// Uberlandia, Brazil
//------------------------------------------------------------------------------
// Author: Andrei Nakagawa, MSc
/... |
e727f074fa33e58a79df0f81e971b68da907bf94 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH2/EX2.51/ex51.sce | 064d172ed8f9155e25bd68447ce828b114f88976 | [] | 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 | 316 | sce | ex51.sce | clear
clc
disp("2*x1*x2+2*x1*x3-2*x2*x3 ")
disp("The matrix of the given quadratic form is ")
A=[0 1 1;1 0 -1;1 -1 0]
disp("let R represents the matrix of transformation and P represents a diagonal matrix whose values are the eigen values of A.then ")
[R P]=spec(A)
disp("so,canonical form is -2*x^2+y^2+z^2") |
eb8b6b6799e3590543a92f2c0fe094d2dcc07110 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/genlib.man.tst | db612b1c6314ea69bc46cb9f598c4bd145a54d87 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 62 | tst | genlib.man.tst | clear;lines(0);
genlib('auto1','SCI/macros/auto')
disp(auto1)
|
1cfbc9891064f2dcbef375badebc0c7d9e0dad31 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1709/CH10/EX10.1/10_1.sce | cc50f27f8e647d2f3e73263724070d57454a4e91 | [] | 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 | 199 | sce | 10_1.sce | clc
//Initialization of variables
m=2
M=28
M2=32
PN=300 //psia
Pt=400 //psia
//calculations
nN=m/M
PO=Pt-PN
nO=nN*PO/PN
mO=M2*nO
//results
printf("Mass of oxygen added = %.3f lbm",mO)
|
4f06622c43c6e007052c094a1f81a341e04da4db | f04d3d47f893de08cd99a31b4870112915b80d5b | /Datasets/australian/data5.tst | 034593e9f0d8b73e32076476fe89858b59ecd8c7 | [] | no_license | MesumRaza/MyWorkInPython | f5364b8514943e44c7200123653da9f4551251b1 | bd8c9b3ca2fb02ae6d2b626054fa3cd32c28b330 | refs/heads/master | 2021-08-19T21:46:41.412995 | 2017-11-27T13:37:52 | 2017-11-27T13:37:52 | 111,728,604 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,355 | tst | data5.tst | 0 0.651579 0.0119643 0.5 0.153846 0.5 0.0350877 1 0 0 1 0.5 0.126 0.02197 class0
1 0.037594 0.0298214 0.5 0.461538 0.375 0.00298246 1 0 0 0 0 0.1 0 class0
1 0.286917 0.0892857 0.5 0.923077 0.875 0.0964912 1 1 0.0895522 0 0.5 0.08 0.02072 class1
1 0.518797 0.895893 0.5 0.615385 0.375 0.0614035 1 1 0.0447761 0 0.5 0.06 0... |
665df5c75fc026211b4e8940246c265790395bb9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /174/CH2/EX2.2/example2_2.sce | 04c4ab0b376d83613fcd9709393cead7e9a42097 | [] | 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 | 560 | sce | example2_2.sce | // To convert flux density to different units
// Modern Electronic Instrumentation And Measurement Techniques
// By Albert D. Helfrick, William D. Cooper
// First Edition Second Impression, 2009
// Dorling Kindersly Pvt. Ltd. India
// Example 2-2 in Page 29
clear; clc; close;
// Given data
B_cm = 20; // flu... |
36b7cb21779591d53a2a521d95822c202ea25e63 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.3/macros/percent/%lsslp.sci | 0998ebd77ca445fe16316ed354c26686d9c3f725 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 192 | sci | %lsslp.sci | function [sr]=%lsslp(s,p)
//sr=%lsslp(s,p) <=> sr=s\p
// p polynomial matrix
// s syslin list
//!
//origine S Steer INRIA 1992
sr=s\tlist(['lss','A','B','C','D','X0','dt'],[],[],[],p,[],[])
|
d2408956342be88c43c1d2e18686c4b6632289ad | 449d555969bfd7befe906877abab098c6e63a0e8 | /1133/CH8/EX8.32/Example8_32.sce | 643f04818ebc031c43d16bc8044c692e7bfd7929 | [] | 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 | 533 | sce | Example8_32.sce | //Example 8.32
clc
disp("Cascading four 74161 (each 4-bit) counters we get 16 (4 x 4) bit counter as shown in fig 8.63.")
disp("Therefore, we get 2^16 = 65,536 modulus counter")
disp("However, we require divide-by-40,000 counter. The difference between 65,536 and 40,000 is 25,536, which is the number of states thos... |
b9840d275a3208adc4dddf1c98ba5aea701109a9 | b6b875fb04ec6df2c0fb0d28f36962fa9aebb2bf | /TD4/Scripts/Service 3/serveur3_histo.sce | 28e13016bc68505d2ab95b58528fc2f908346598 | [] | no_license | MFrizzy/Modelisation | 51794b2edf421f9d2206cb73972d8d8d7b1e9759 | 0ca819afbcbe00f58f3bbaa8fc97164ae2c1d3cb | refs/heads/master | 2021-08-29T12:02:20.042037 | 2017-12-13T22:39:21 | 2017-12-13T22:39:21 | 106,943,303 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 539 | sce | serveur3_histo.sce | clf;
clear;
clc;
load('C:\Users\tangu\OneDrive\Documents\GitHub\Modelisation\TD4\NetworkData.sod')
// Extraction des temps de service
index_bool = ( data(:, 3) == 3 )
tabS3 = data(index_bool, :)
t_s3 = tabS3(1:$,4);
deciles=perctl(t_s3,10:10:90);
for i=2:10
ClassesDeciles(i)=deciles(i-1)
end
ClassesDeciles(1)=min... |
a381d5caf1b63c68cff0325a02d67150fe743b26 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH22/EX22.1/example22_1.sce | 309428687d617a917ee46c9285929d76abadcef4 | [] | 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 | 306 | sce | example22_1.sce | clc
// Given that
d = 12e-6 // diameter in m
d_ = 90e-9 // diameter of nanoparticle in m
// Sample Problem 1 on page no. 22.13
printf("\n # PROBLEM 1 # \n")
r = d / 2
r_ = d_ / 2
k = r / 3
k_ = r_ / 3
R = k_ / k
printf("\n The ratio of the value of Nb/Ns of spherical particle and nanoparticle = %e .",R)
|
ff6f9a5c14d1f6671275720242bbd82b1db130ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /281/CH12/EX12.4/example12_4.sce | 54de3ae47cc157f5b49739115d667c2a7b587436 | [] | 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,007 | sce | example12_4.sce | disp('chapter 12 ex12.4')
disp('given')
disp("output =10V to 15V")
Vomax=15
disp("max load current=4000mA")
Il=.4
disp("Vsmin=Vomax+3 V")
Vsmin=Vomax+3
disp('volts',Vsmin)
disp("allowing Vrs=3V(p to p)")
Vrs=3
disp("Vs=Vsmin+Vrs/2")
Vs=Vsmin+Vrs/2
disp('volts',Vs)
disp("ZENER CIRCUIT")
disp("let Vz=Vo/2")
Vz=Vomax/2
d... |
95886c0179991db799d2f4420c8b2d9947454283 | cb3612e7507309a5c30d1ea7f640c0ccde8f8bf9 | /unattended_rivalry.sce | 8e36486e63d65472d2c58c4409f79d77dc293416 | [] | no_license | aforehand/thesis | b797c6646b5f6bc48d58c3df318c014038fc6c84 | 8189db373898e264544a5d9d52fc00296ea4abb6 | refs/heads/master | 2021-01-01T04:54:01.627632 | 2017-07-26T16:46:02 | 2017-07-26T16:46:02 | 97,270,443 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 13,269 | sce | unattended_rivalry.sce | scenario = "Unattended Rivalry";
response_matching = simple_matching;
active_buttons = 2;
button_codes = 1,2;
default_font = "Calibri";
default_font_size = 18;
default_text_color = 100,100,100;
default_clear_active_stimuli = false;
response_logging = log_all;
write_codes = true;
pulse_width = 6;
response_po... |
a0482a8ea045df9b24bc3841190570681c134f27 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1904/CH7/EX7.3/7_3.sce | 878a7f9a877024ce4529dce47210c24f21f1ce79 | [] | 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 | 788 | sce | 7_3.sce | //To Calculate the Voltage Drop and Verify The Cable Selected
//Page 329
clc;
clear;
pf=0.9; //Power Factor
Vb=120; //Base Voltage
//From The Tables
r=0.334; //Resistance per thousand feet
x=0.0299; //Reactance per thousand feet
K1=0.02613; //Voltage Drop
//Assumed Cable
I=100; //Secodary line Current
Ls=... |
e6c7667872cb342e9f0143b8154cbc51767219d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH1/EX1.5.c/Example1_5_c.sce | 08cd6aa2f8ed077a334a4f1646c9d9330b9ed52f | [] | 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 | 394 | sce | Example1_5_c.sce | //Example 1.5 (c)
//To Determine Whether Given Signal is Periodic or not
clear;
clc ;
close ;
t=0:0.01:10;
x1=cos(2*%pi*t/3);
subplot(1,2,1);
plot(t,x1);
xlabel('t');
ylabel('x(t)');
title('CONTINUOUS TIME PLOT');
n=0:0.2:10;
x2=cos(2*%pi*n/3);
subplot(1,2,2);
plot2d3(n,x2);
xlabel('n');
ylabel('x(n)')... |
13a74315e7687f4dcff4d0f6ef4aacb1fe5267c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH5/EX5.9/example5_9.sce | c5bab49fc3f692742a0ea399b89ae3a4ea772543 | [] | 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 | 412 | sce | example5_9.sce |
//example 5.9
//calculate input h.p of pump
clc;
//given
A=20; //area of field
H=129; //level to the highest land
h1=120.2; //water level in well during discharge
Du=800; //duty for rise;
eita=0.6; //efficiency of the pump
Q=A/Du;
w=Q*1000;
lift=H-h1;
//design... |
7c18521127bc7d0856cbd0dcb13f1ee6ad4a3f18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /593/CH11/EX11.8/ex11_8.sce | b2e80ff116ec1dc5ecb931f49e2e41bd6461a431 | [] | 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,214 | sce | ex11_8.sce | clear;
//clc();
// Example 11.8
// Page: 287
printf("Example-11.8 Page no.-287\n\n");
//***Data***//
T_i = 50;//[F] Initial temperature of the system
T_f = 20;//[F] Final temperature of the system
M_gas = 115;//[g/mol] Molecular weight of gasoline at room temperature
M_water = 18;//[g/mol] Molecular we... |
2663ea8b2d1d63047b4c3121bc0aaf7b8133a287 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1067/CH23/EX23.03/23_03.sce | 84362596894cc9227aa72fa15023cf9ac55df105 | [] | 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 | 380 | sce | 23_03.sce | clear;
clc;
vf=1;
r=1250e3;
V=600;
x1=.5;
x2=.5;
x3=.02;
ia2=vf/(x1+x2+x3);
ia=3*ia2;
ia1=ia2;
ia0=ia1;
iab=r/(sqrt(3)*V);
iab=round(iab/10)*10;
ia=round(ia*100)/100;
If=ia*iab;//the difference in result is due to erroneous calculation in textbook.
printf("fault current If=%fA",If);
disp("the differenc... |
a319726ca27bdf16189354465eec4b3b27dce265 | 28a8d47c4d79b231f8bebc28925792a290f67e9f | /db/others/sql/dynamic_sql/test_type.tst | 17fd687588980ef342f8f262e4c8a91c308cefa5 | [] | no_license | ZVlad1980/doo | a1fe7d18ccfd0acf6ced7dbb33927c86a925aae8 | e81be8f524b78b9a6ec06b7f83a8c13354fc6412 | refs/heads/master | 2021-08-17T02:03:54.553822 | 2017-11-20T17:21:03 | 2017-11-20T17:21:03 | 111,440,129 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 489 | tst | test_type.tst | PL/SQL Developer Test script 3.0
21
-- Created on 08.09.2014 by ZHURAVOV_VB
declare
-- Local variables here
a anydata;
o xxdoo_cntr_contractor_typ;
c xxdoo_cntr_contractors_typ;
--
procedure show(a anydata) is
l_type_code pls_integer;
l_type anytype;
begin
l_type_code := a.GetType(l_... |
90a2bf787e5c3bf872b5e645ed992f416eeefe45 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1752/CH8/EX8.2/exa_8_2.sce | cd0ca0fb7e4902e13e79c1bb27c9ccc79a74d104 | [] | 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 | 644 | sce | exa_8_2.sce | //Exa 8.2
clc;
clear;
close;
//given data
t_hi=160;// in degree C
t_ci=25;// in degree C
t_ho=60;// in degree C
Mh=2;// in kg/s
Mc=2;// in kg/s
Cph=2.035; // in kJ/kg degree C
Cpc=4.187;// in kJ/kg degree C
U=250;// in W/m^2 K
d=0.5;// in m
// Energy balance Mh*Cph*(t_hi-t_ho) = Mc*Cpc*(t_co-t_ci)
t_co=... |
183f73ba92f00f994f9100d558d22e88ad4310d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH4/EX4.5/Example45.sce | 4015f7fc870ab71adaf415b9ce091932951e7648 | [] | 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 | 647 | sce | Example45.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 5")
disp("Impeller tip speed is given by")
D = 0.914;
N = 9000;
U2 = %pi*D*N/60
disp("Since the exit is radial and no sli... |
2cfb006aeee33f77348eb9ef6ea42c9e3b1168d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /38/CH2/EX2.8/8.sce | 61182b7f2f1f953c7b775aa91c6064af9b34e78b | [] | 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 | 249 | sce | 8.sce | // Caption: Finding per unit system
clear;
close;
clc;
Z_baseH=2400/20.8;
Z_baseX=240/208;
I_x=5.41/208;//per unit at low voltage side
Z_eqH=(1.42+%i*1.82)/115.2;//per unit
disp(Z_eqH,'equivalent impedence referred to high voltage side') |
e765d095d6f7e29c2694d32fd30de743e720b063 | 449d555969bfd7befe906877abab098c6e63a0e8 | /683/CH12/EX12.5/W_5.sce | 1df88106d519b2af2383f82c830edddc63614173 | [] | 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 | 315 | sce | W_5.sce | // sum 12-5
clc;
clear;
h=10;
t=10/sqrt(2);
Ta=80;
x=((50*25)+(50*0))/(50+50);
y=x;
ra=sqrt(x^2+37.5^2);
Ixx=(7.07*50^3/12)+(50*7.07*(12.5^2))+(50*7.07*12.5^2);
IG=2*Ixx;
e=100+(50-12.5);
Tr=16.09*10^-3;
P=Ta/Tr;
P=P*10^-3;
// printing data in scilab o/p window
printf("P is %0.3f KN ",P); |
679dd1f8d0597256f51bb649f79e04ec797fb49f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3760/CH3/EX3.43/Ex3_43.sce | 1755e5c5373c595d1593aee8fc8b2edb8a6cbde7 | [] | 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 | Ex3_43.sce | clc;
t=1/2; //ratio of continuous rating to one hour rating
p=2; // ratio of new KVA rating to old KVA rating
al=2*(p*t);
printf('Ratio of core loss to ohmic loss is %f ',al);
|
2e9ce964af57c1f328fedb2cb03defafaa94edab | 4d6665df181a576d17b4899b006151b1e6d54804 | /Eigen.sce | 08211ae3bba0e6aa55d17d01d1e7ba8216c33b0f | [] | no_license | Udbhavps/La-Scilab-Assignment | b3a7a9c31e07e1abc83685c74d93dc2d8fa681b2 | 8deb5fe83fca574dbb6fc7ee96b417bcec9d91c4 | refs/heads/master | 2022-09-21T15:31:29.258278 | 2020-06-03T18:11:42 | 2020-06-03T18:11:42 | 239,132,393 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,143 | sce | Eigen.sce | clc;close;clear;
function [A]=Eigen(A)
lam = poly(0,'lam')
lam = lam
charMat = A-lam*eye(3,3)
disp(charMat,'The characteristic matrix is')
charPoly = poly(A,'lam')
disp(charPoly,'the characteristic polynomial is')
lam = spec(A)
disp(lam,'the eigen values of A are')
function... |
7df5218607a84286ca73d10c0861a41cdb023f7b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1382/CH2/EX2.38.a/EX_2_38_a.sce | 65b2788390b9d823a425a5bc8cfcc2a674e6ea75 | [] | 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 | 268 | sce | EX_2_38_a.sce | // Example 2.38.a:S
clc;
clear;
close;
Beta=180;//Common emitter D.C. Current gain
Re=1;// Collector resistance in killo ohms
R1=5.76;// resistance in killo ohms
R2=34.67;// resistance in killo ohms
S=1+Beta;
disp(S,"Stability factor in fixed bias case is")
|
8e5a4095a8359f9371ffc2a2e12af83d503b29e7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2279/CH5/EX5.1/Ex5_1.sce | cd9426dd7ccf7bec71eb11bcc445811584b5093c | [] | 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,092 | sce | Ex5_1.sce |
//Continuous Time Fourier Series Coefficients of
//a periodic signal x(t) = sin(2*Wot)
clear;
close;
clc;
t = 0:0.01:1;
T = 1;
Wo = 2*%pi/T;
xt = sin(2*Wo*t);
for k =0:4
C(k+1,:) = exp(-sqrt(-1)*Wo*t.*k);
a(k+1) = xt*C(k+1,:)'/length(t);
if(abs(a(k+1))<=0.01)
a(k+1)=0;
end
end
a ... |
5af661f3e3750aac95462d7990a2476ea883ae7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3838/CH2/EX2.3.a/EX2_3_a.sce | d2bd8c46648e62ec3c11f3c2efda4c796a1da325 | [] | 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 | EX2_3_a.sce | //ex_2.3.a even and odd signals of x(t)
clear;
clc;
close;
t = 0:0.01:5;
x=exp(t)
figure
a=gca();
xtitle('x(t)')
plot2d(t,x)
figure
a=gca();
xtitle('even signal')
plot2d(t,x/2)
t1=-5:1/100:0;
plot2d(t1,x($:-1:1)/2)
a.y_location='origin'
figure
a=gca();
xtitle('odd signal')
plot2d(t,x/2)
t1=-5:1/100... |
d53922ca5759f6154e5255efbdffa76ec857473d | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH2/EX2.2/example_2_2.sce | bcccd9fc0f886f695abb5d38bcfc8813efee4bf5 | [] | 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 | 55 | sce | example_2_2.sce | syms t s w;
y=laplace('sin(w*t)',t,s);
disp(y,"ans=") |
a05a7412ba9e8efa1d6b93e8d9cae9015253d357 | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/EnCh/ench12.tst | fece4ad6f21631e6082abc02bb9f63fa502a1d05 | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 7,269 | tst | ench12.tst | aaltonen
abano
abra
achille
adina
adjani
adnet
agate
agnello
agneta
agostini
agustin
ahrweiler
ahuja
ajit
alberdi
albertini
albo
albornoz
alcaide
alem
alesana
alessio
alia
alina
alken
allegri
alvear
alvina
amaral
amati
amendola
ananta
anda
anderer
andrada
andros
anis
anja
anka
ansari
anselmo
ansgar
antes
antin
antje
ap... |
2eb621b33cb5b07f016fcbcf546a3c4552eb8f02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /14/CH10/EX10.2/example_10_2.sce | 9caadbe1e736ceac3c07c2a0cdb5ff1241fee741 | [] | 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 | 914 | sce | example_10_2.sce | //Chapter 10
//Example 10.2
//Page 256
//loadedfault
clear;clc;
//Given
Pgm = 30e6;
Vgm = 13.2e3;
Xgm = 0.20;
Xl = 0.10;
Pm = 20e6;pfm = 0.8;Vt_m = 12.8e3;
Pbase = Pgm;
Vbase = Vgm;
Vf = Vt_m / Vbase;
Ibase = Pbase / (sqrt(3) * Vbase);
I_L = (Pm / (pfm * sqrt(3) * Vt_m)) * (cos(36.9 * %pi/180) + %i * sin(36.9 * %pi / 1... |
fbef4e91627a262c6efa2bfe15f20ebf382d1317 | 717ddeb7e700373742c617a95e25a2376565112c | /3411/CH9/EX1.3.u2/Ex1_3_u2.sce | 694bb0345ab9c154020304f60740869c7b22e95e | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 357 | sce | Ex1_3_u2.sce | //Example 1_3_u2
clc();
clear;
//To calculate the uncertenity in momentum
h=6.63e-34
deltax=2*%pi*10^-9
deltap=h/(2*deltax) //units in Kg ms^-1
printf("The uncertenity in momentum is delta p=")
disp(deltap)
printf("Kg ms^-1")
//In text book the answer is printed wrong as 0.53*10^-15 Kg ms^-1 the corr... |
334ffab8357f5415252157ce920ca6350472e73c | 1b3c63cb7f854378c5f1991637692ae2bf8265ac | /stack/stack.sci | 6714570077350db93274d8554cb3b79524e7db7a | [] | no_license | FOSSEE-Internship/FOSSEE-Control-Systems-Toolbox | 9900107267e5f508f77858d128e01293966e9e10 | 2878a38e4e55806b1777f9da2e0395f321e1c952 | refs/heads/master | 2020-12-02T18:20:34.659219 | 2017-10-26T12:26:57 | 2017-10-26T12:26:57 | 96,516,803 | 0 | 1 | null | 2017-10-26T13:44:56 | 2017-07-07T08:24:44 | Scilab | UTF-8 | Scilab | false | false | 4,739 | sci | stack.sci | function [out]=stack(n,varargin)
//build model (cell)array by stacking models along array dimensions
//
//Calling Seqence
//out=stack(n,sys1,sys2.....)
//
//Parameters
//sys : siso or mimo lti system or system array(cell).
//n : arraydimension
//out:(cell)array of input syst... |
3f63ee03d2ee77e9b390feb9876403023c06cc5c | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH12/EX12.17/Example12_17.sce | a98d3b97f11f45b1b9644f8fa2768f8df6c5ffe4 | [] | 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 | Example12_17.sce | //Example 12.17
//Program to calculate:
//(a)The optimium receiver bandwidth
//(b)The peak to peak signal power to rms noise ratio
clear;
clc ;
close ;
//Given data
Tr=12*10^(-9); //s - SYSTEM RISE TIME
fo=20*10^6; //Hz - NOMINAL PULSE RATE
fd=5*10^6; //Hz - P... |
b1fae72b0e3ae37fd3295f78d4bf3737d5d9152b | a5f0fbcba032f945a9ee629716f6487647cafd5f | /Experimentation/6 Automated_3/tests/linear_regression2.sce | f544b3203fcae3c309f21a1e02ec98b835313260 | [] | no_license | SoumitraAgarwal/Scilab-gsoc | 692c00e3fb7a5faf65082e6c23765620f4ecdf35 | 678e8f80c8a03ef0b9f4c1173bdda7f3e16d716f | refs/heads/master | 2021-04-15T17:55:48.334164 | 2018-08-07T13:43:26 | 2018-08-07T13:43:26 | 126,500,126 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 277 | sce | linear_regression2.sce | // Demo script for linear regression
getd('../')
data_url = 'https://raw.githubusercontent.com/franklinwillemen/Machine_Learning/master/Regression/Simple_Linear_Regression/Salary_Data.csv'
machineLearnURLDownload(data_url)
machineLearnCustomURL('custom', 'preprocessing.py'); |
f32eabef56d36a511cf47396ac293633ebcf8720 | fd6e45f66c41ad779a3d47c3bf8ebfa140d3d657 | /P3 - Non-linear equations /Ejercicio 1.sci | 2b731ba1c2053eb5758002d4a6552bf8d8e74425 | [] | no_license | jere1882/Numerical-Analysis-Assignments | 7f474e2020d010f9f9c3dceff5e48c03b0d38652 | 1074f92ca93d0a402259f92a0f61f105f25e5230 | refs/heads/master | 2021-09-06T20:00:36.411386 | 2018-02-10T18:04:38 | 2018-02-10T18:04:38 | 121,039,769 | 0 | 0 | null | null | null | null | ISO-8859-1 | Scilab | false | false | 844 | sci | Ejercicio 1.sci |
// EJERCICIO 1 Determine gráficamente valores aproximados de las primeras tres raíces positivas de f(x)=cos(x)cosh(x)+1
deff ('y = f(x)', 'y = cos(x).* cosh(x)+1');
x=0:.01:15; // el 15 sale de ir probando a ver donde estan las raíces.
a=gca(); ... |
3ed14543fd34f3fdb3898eeb93c495ae054a9384 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH20/EX20.24/20_24.sce | bdd04556ea3cc35913a8bd0a5a6cd8511c3fb75a | [] | 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 | 843 | sce | 20_24.sce | //Problem 20.24: An a.c. source of 24 V and internal resistance 15 kohm is matched to a load by a 25:1 ideal transformer. Determine (a) the value of the load resistance and (b) the power dissipated in the load.
//initializing the variables:
tr = 25; // teurn ratio
V = 24; // in Volts
R1 = 15000; // in Ohms
Rin ... |
42276d3c74bff9b46f4ddb2633d7fbf8031ad5c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1511/CH5/EX5.5/ex5_5.sce | fb68c738b179ec3f17c126ccf6234869415f615e | [] | 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 | 309 | sce | ex5_5.sce | // Example 5.5 page no-287
clear
clc
b=50 //Beta
vcc=10 //V
rc= 250 //ohm
ib=0.4 //mA
ic=21 //mA
vce=vcc-((ic+ib)*rc/1000)
vce=floor(vce*10)/10//aproximated to
printf("\nVce = %.1fV",vce)
vbe=0.6
rb=(vce-vbe)/ib
s=(b+1)/(1+(b*rc/(rc+rb*1000)))
printf("\nRb = %.0f K-Ohm\nS = %d",rb,ceil(s))
|
863b73ecb7e3e120216a8cb0e53ec12f4a552d44 | df82401a4fbb64f37b3ed00aa17d82600996f811 | /sistemas lineares - jacobi.sce | 59b489b34e3d2c3255e968ccd77c9b64d134aeec | [] | no_license | ItaloOliveiraF/Algoritmos | 9600fa8e95fed942414250e92e93286320548795 | ff32fb26414e14d7b55b39cba7025eb2f844ea5b | refs/heads/master | 2020-04-04T19:11:32.124542 | 2018-10-26T02:59:35 | 2018-10-26T02:59:35 | 156,195,729 | 1 | 0 | null | 2018-11-05T09:56:50 | 2018-11-05T09:56:49 | null | UTF-8 | Scilab | false | false | 733 | sce | sistemas lineares - jacobi.sce | clear;
clc;
// Implementação resolução pelo método de Jacobi
function [x, Er]= jacobi(A,b,x0,n)
[l,c]=size(A)
erro = 1;
cont = 1;
x = x0;
while (cont <= n)
xa = x
for i = 1:l
soma=0;
for j = 1:l
if(j~=i) then
... |
1587f010ce46427ec613ed89d77279a0c6f12e76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /797/CH5/EX5.6.s/5_06_solution.sce | f71e09fec596f128ce60853133ba59bf06bc57d6 | [] | 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 | 245 | sce | 5_06_solution.sce | //Solution 5-06
WD=get_absolute_file_path('5_06_solution.sce');
datafile=WD+filesep()+'5_06_example.sci';
clc;
exec(datafile)
V_2 = sqrt(2 * g * z_1); //Toricelli equation
printf("Water leaves the tank with initial velocity of %1.2f m/s", V_2);
|
a6dd5458c4b71b998a7b3984381ec0f2c34a33a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1280/CH4/EX4.3/4_3.sce | c6797805a01a29196bf87ce5a45722db74b120cb | [] | 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 | 208 | sce | 4_3.sce | clc
//initialisation of variables
d= 0.275 //in
p= 15
p1= 20
p3= 8
//CALCULATIONS
Fs= (d*p/100)+(d*p1/100)-(d*p3/100)
Fs1= Fs*100/d
//RESULTS
printf ('final available squeeze = %.2f percent',Fs1)
|
4be62ccdd41bc8c16e6f0582b99bcb26915f4969 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH14/EX14.12.5/Ex14_5.sce | 1c3ba4b12da426496e5c1dd65ddb8deec4510996 | [] | 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,085 | sce | Ex14_5.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 14 Integrated Circuits and Operational Amplifiers
clc
clear
R1=1*1000//R1=input resistance in ohms in the inverting amplifier circuit
Rf=50*1000//Rf=feedback resistance in ohms
A=-(Rf/R1)//AV=voltage gain of the inverting amplifier circuit
disp(A,"The voltag... |
16219b52cf4e04ddc6ba85b90e455fc4f59a93d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH13/EX13.6/exa13_6.sce | e0456e7c466f8cca8051a4f209503c1f738bce0a | [] | 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 | 628 | sce | exa13_6.sce | // Example 13.6
// Inversion with complex Poles
s=%s;
t=0:0.001:10
num=15*s^2-16*s-7;
den=(s+2)*(s^2+6*s+25);
F_s=num/den;
pfe=pfss(F_s); // partial fraction of the transfer function
// from pfe(1) we get
B=10;
C=-66;
alpha=3;// from pfe(1)
beta=sqrt(25-9);//Comparing the denominator of pfe(1) with standard... |
b1b24c3ff8b010b6347ab18f8f2a8eb4a231c0af | 449d555969bfd7befe906877abab098c6e63a0e8 | /215/CH16/EX16.4/ex16_4.sce | 3f6628e962195d6638b4efdcc479ab005b0a44e8 | [] | 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 | 415 | sce | ex16_4.sce | clc
//Example 16.4
disp('Given')
disp('R1=2 ohm R2=3 ohm L=1H C=125mF')
R1=2;R2=3 ; L=1;C=125*10^-3;
w0=sqrt(1/(L*C)-(R1/L)^2)
printf("w0=%d rad/s \n",w0)
//Input admittance is 1/R2+i*w*C+1/(R+I*w*L)
Y=1/3+%i/4+1/(2+%i*2)
printf("Y= %3.4f S \n",Y)
//Now input impedance at resonance
Z=1/Y
printf("Z= %3.4f o... |
333928dfead46f43a576156ff1b69afdfdf1eee2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1634/CH1/EX1.31/example1_31.sce | 7d2f076085495278ddb4c2cc20826fa313ea2d8c | [] | 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 | 590 | sce | example1_31.sce |
//exapple 1.31
clc; funcprot(0);
// Initialization of Variable
longP=112+20/60+15/3600;//longitude of place
GST=8+10/60+28/3600;//GST at GMM
lst=18+28/60+12/3600;//local sidereal time
dot=longP/15;//difference in time
gmm=lst+dot-GST;//SI at GMM
i=gmm*9.8565/3600;//error
gmm=gmm-i;//LST at L.M.N
LMT=gmm... |
e663a390456894643b8db877dab376cba42e61f3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH20/EX20.2/example20_2.sce | 61adf06b8cc957ba605055a4c111cad07d2b3dfd | [] | 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 | 377 | sce | example20_2.sce | clc
// Given that
V = 30e3 // voltage in V
lambda_min = 0.414e-10 // shortest wavelength in m
e = 1.6e-19 // charge on an electron in C
c = 3e8 // speed of light in m/sec
// Sample Problem 2 on page no. 20.7
printf("\n # PROBLEM 2 # \n")
printf("Standard formula used \n ")
printf("h*c/lambda = eV \n")
h = (e * V * lam... |
b7b3731f26a6e7bcaed37e07d82e8c8683d5c3a4 | cb3c54411a4f3432c21524a69262b6655ba46ac1 | /Algebra/TrabalhoAlgebra-M1.sce | 46a8c156f51efdd7a8aacc0c3ff32f6f2a7c6cc7 | [] | no_license | draetus/faculdade_trabalhos | ae85c0c89888c2ad956c6aa7147a801d0cdf4f9a | e9971b4478112fbe7333ad71d1b4f1620b384eb6 | refs/heads/master | 2022-12-30T19:39:42.191109 | 2020-10-16T13:12:03 | 2020-10-16T13:12:03 | 87,357,566 | 4 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 4,600 | sce | TrabalhoAlgebra-M1.sce | loadmatfile("matriz.txt")
//Funcao que calcula a linha com maior numero de zeros
nlin = 0
cont2 = 0
for i = 1:4
cont = 0
for j = 1:4
if matriz(i,j) == 0 then
cont = cont + 1
end
end
if cont > cont2 then
nlin = i
cont2 = cont
for j = 1:4... |
2b0650ef495ad8c028d06e5cce20003ae8de5a29 | 717ddeb7e700373742c617a95e25a2376565112c | /2474/CH7/EX7.3/Ch07Ex03.sce | f10b939c560bdb83235b91d69038ce29bad16208 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 295 | sce | Ch07Ex03.sce | // Scilab code Ex7.3: Pg.292 (2008)
clc; clear;
l_1 = 2; // Orbital quantum number
l_2 = 3; // Orbital quantum number
printf("\nThe possible values of l are:");
for l = (l_2-l_1):1:(l_1 + l_2)
printf(" %d ", l);
end;
// Result
// The possible values of l are: 1 2 3 4 5 |
1424ce4ab9219ec0b056bc1e35569b4829f83114 | 717ddeb7e700373742c617a95e25a2376565112c | /3428/CH21/EX14.21.1/Ex14_21_1.sce | 5147f322faf5a1b43b15e36a4d25ce8d9fc51fc7 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 249 | sce | Ex14_21_1.sce | //Section-14,Example-1,Page no.-PC.7
//To find the temperature at which pressure of gas will reach the bursting value.
clc;
//PV=nRT
P=10
V=(10^-3)*(1/10^-3)
n=((5*10^-3)/30)
R=0.0821
T=((P*V)/(n*R))
disp(T,'Required temperature(K)')
|
c5d9bac544d5504004ec9745bee25dfaff3aa2ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /965/CH7/EX7.62/62.sci | 27fe986ee1488fde007ea5155cc79a04104ef523 | [] | 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 | 373 | sci | 62.sci | clc;
clear all;
disp("heat lost by man")
d=0.35;// m
h=1.65;//m
ts=28;// degree C
ta=12;// degree C
U=30*1000/3600;// m/s
tf=(ts+ta)/2; // film temperature
k=2.59*10^(-2);// W/m.C
v=15*10^(-6);// m^2/s
Pr=0.707;
Re=U*d/v;
disp("Nu=C*Re^n*Pr^(1/3)")
C=0.027;
n=0.805;
Nu=C*Re^n*Pr^(1/3);
hs=Nu*k/d
Q=hs... |
ddcfce04c23ccc92531de54adfc12580f6c80228 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2175/CH2/EX2.1/2_1.sce | 9a128ac7a331e0d34299e012b3389b32c718266b | [] | 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 | 268 | sce | 2_1.sce | clc;
x=0.9;
vg=0.1104;
v=x*vg;
disp("specific volume is:");
disp("m^3/kg",v)
hf=885;
h_fg=1912;
h=hf+x*h_fg;
disp("specific enthalpy is:");
disp("kJ/kg",h);
uf=883;
ug=2598;
u=(1-x)*uf+x*ug;
disp("specific internal energy is:");
disp("kJ/kg",u);
|
671ea839e7dbbc4486fa7525b34bc110abe223c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1475/CH7/EX7.14/Example_7_14.sce | 606fd93837bd68a4491e25a3427b4599f51dd0f8 | [] | 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 | 240 | sce | Example_7_14.sce | // Example 7.14 Apply the geometric mean to find general index from the following
clc;
clear;
I=[118 120 97 107 111 93];
W=[4 1 2 6 5 2];
IN=sum(log(I).*W)/sum(W);
GI=exp(IN)
disp(GI,"General Index",IN,"Log General Index number =")
|
91276237f280ba1ed3e9c7a896474dc8f6eb05e7 | 3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc | /Pack/Área 2/M12/códigos_respostas/derivadas_primeira_ordem_q9.sci | 5eb7c48c4f9de875b61e55dcdc29982eac5cbf8d | [
"MIT"
] | permissive | JPedroSilveira/numerical-calculus-with-scilab | 32e04e9b1234a0a82275f86aa2d6416198fa6c81 | 190bc816dfaa73ec2efe289c34baf21191944a53 | refs/heads/master | 2023-05-10T22:39:02.550321 | 2021-05-11T17:17:09 | 2021-05-11T17:17:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 371 | sci | derivadas_primeira_ordem_q9.sci | //Fx(xn+0.8h) = [C1Fn-1 + C2Fn + C3Fn+1] / H
// ESSE AQUI A GENTE USA PRA DERIVADA PRIMEIRA HEEEIN
x =[0 1/9 2] // corresponde a n+0,n + 1/9 e n + 2
xc= 0 // onde é calculada a derivada. (xn+0), ficaria = 0
b(1)=0
b(2)=1
b(3)=2*xc //tem que usar aqui xc
for i=1:3
M(1,i)=1
M(2,i)=x(i)
M(3,i)=x(i)^... |
2ff6388a907c90f671e1bb239ebf2c4503f5ea76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /83/CH14/EX14.3/example_14_3.sce | 7b53d0abe555432521c9f415f9ec037fa4c6aad8 | [] | 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 | 472 | sce | example_14_3.sce | //Chapter 14
//Example 14.3
//page 538
//To estimate the values of the random variables x1 and x2 using WLSE
clear;clc;
i=0; x=1;y=8.5
printf('---------------------------------------\n');
printf('iteration\t\tx(l)\n');
printf('---------------------------------------\n');
printf('\t%d\t\t%0.3f\n',i,x);
for i=1:1:10
... |
e2e9420fd777d7d7e4499537fd9fe0b2ecccf108 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH2/EX2.6/Ex2_6.sce | 59ba4d5c2fadb8f7ea682714ea87e0848a71ad5d | [] | 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 | 491 | sce | Ex2_6.sce | clear all; clc;
//This numerical is Ex 2_1S,page 29.
Q1=18.2
N1=1000
N2=1500
delta_p1=10.3
P_s1=6
Q2=Q1*N2/N1
printf("\n The value of Q2 is equal to %g m^3/h",Q2)
delta_p2=delta_p1*((N2/N1)^2)
printf("\n The value of delta_p2 is equal to %0.1f bars",delta_p2)
P_s2=P_s1*(N2/N1)^3
printf("\n The value o... |
5d44f73ce482b22dc43f6b6b651d720739f50fbd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1691/CH2/EX2.34/exmp2_34.sce | c6469849e429f59c68f62fe574c2335f5c0cb388 | [] | 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 | 625 | sce | exmp2_34.sce | //Example 2.34
clc
disp("The name of the oscillator is Pierce oscillator")
disp("C1 = 1000 pF, C2 = 100 pF, f_s = 1 MHz")
ceq=(1000*100*10^-12)/1100
format(11)
disp(ceq,"C_eq(in F) = C1*C2 / C1+C2 =")
disp("At resonance, X_L = X_Ceq i.e. 2*pi*f*L = 1 / 2*pi*f*C_eq")
l=(1/(((2*%pi*10^6)^2)*(90.909*10^-12)))... |
dd14490b5de4262be524101d70b5635473b5f654 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH2/EX2.10/example_2_10.sce | c947cc9a95970b19018cf3d68b704e68b02d5df1 | [] | 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 | 328 | sce | example_2_10.sce | //Scilab Code for Example 2.10 of Signals and systems by
//P.Ramakrishna Rao
//The value of X(s) is found by solving the differential equation
clear;
clc;
syms t s;
s= %s;
X=pfss((s^2+8*s+6)/((s+2)*(s+3)*s));
X(1)=1/s;
f1=ilaplace(X(1))
f2=ilaplace(X(2))
f3=ilaplace(X(3))
fz=f1+f2+f3;
disp(fz*'u(t)',"c) x(... |
5bfff9bbad669a9aac1586c5df4d4f46f71a7798 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2201/CH3/EX3.22/ex3_22.sce | 879a52796864b8d8063554330bfb8e608e1d833d | [] | 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 | 232 | sce | ex3_22.sce | // Exa 3.22
clc;
clear;
close;
// Given data
h = 6.64*10^-34;// in J-s
q=1.6*10^-19;// in C
h= h/q;// in eV
c = 3*10^8;// in m/s
lembda = 0.87*10^-6;// in m
E_g = (h*c)/lembda;// in eV
disp(E_g,"The band gap in eV is");
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.