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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7970b5eacefdb2edd12055cb2528bbaefb18db7c | 4ebea1be375a38f07d1b8536e25cd91584882389 | /src/test/example013.tst | e6f532151d16f6877a36734702adbf7dd69f8dad | [
"MIT"
] | permissive | robertsmeets/rjhg-pl | f5c2d850ba7a5e3daa0d4147357d37a275c7100a | 87721b77f92d5180c34123265fac70dcf54c77a9 | refs/heads/master | 2021-05-22T06:46:14.395448 | 2021-02-21T05:54:35 | 2021-02-21T05:54:35 | 32,521,807 | 1 | 1 | MIT | 2020-05-17T16:48:51 | 2015-03-19T13:07:49 | C | UTF-8 | Scilab | false | false | 26 | tst | example013.tst | add some strings together
|
0cb31375d2ae204e8f189fa6348b99b808c50fbf | 0bb08b35184b47c6f5e74d41f7cb0b927162dd82 | /test/teste3.tst | 20c86812a56b156851579a9f640b4db347e7c04e | [] | no_license | DanielPBL/tp_compiladores | 6df7d3bde74d7e4098a32914396f1bdfef7f4843 | 6536f3588785819f5e28d6358fc36e53c7d52adb | refs/heads/master | 2021-01-19T01:10:25.009830 | 2017-06-29T20:20:23 | 2017-06-29T20:20:23 | 87,229,469 | 1 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 306 | tst | teste3.tst | { Programa de Teste
Calculo de idade }
init
cont_, qtd is integer;
media, idade, soma, altura is integer;
cont_ := 5;
soma := 0;
do
write("Altura: ");
read (altura);
soma := soma + altura;
cont_ := cont_ - 1;
while (cont_ > 0);
write("Media: ");
write(soma / qtd);
stop
|
688928edfd4f76da6824eb521165053a3c781806 | b829a470efb851fdd8700559c2092711adaa42e0 | /Data/OVI-CV-03-Facenet/CV-Groups/cv-group-114528472701/OVI-Test/cv-group-114528472701-run-03.tst | 179068135c447cd25c9c435f31e902b9905081db | [] | no_license | achbogga/FaceRecognition | 6f9d50bd1f32f2eb7f23c7ae56f9e7b225d32325 | 165ebc7658228d2cceaee4619e129e248665c49a | refs/heads/master | 2021-07-04T21:47:57.252016 | 2017-08-01T18:53:12 | 2017-08-01T18:53:12 | 96,568,452 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 504 | tst | cv-group-114528472701-run-03.tst | Huiping\Huiping_018.jpg
Huiping\Huiping_014.jpg
Don\Don_003.jpg
Don\Don_012.jpg
Shirley\Shirley_001.jpg
Shirley\Shirley_006.jpg
Kiran\Kiran_012.jpg
Kiran\Kiran_016.jpg
Allison\Allison_013.jpg
Allison\Allison_010.jpg
Amit\Amit_010.jpg
Amit\Amit_004.jpg
Gang\Gang_008.jpg
Gang\Gang_014.jpg
Ethan\Ethan_013.jp... |
14265153d902cf3534cce5e123ea7a0375d9bed4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH7/EX7.9/Ex7_9.sce | cdc248f3d348c00065ea267a5f13296536fe34e8 | [] | 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,166 | sce | Ex7_9.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 7.9\n\n\n");
// Chapter 7 : Mixtures Of Ideal Gases
// Problem 7.9 (page no. 331)
// Solution
//Given: cp of oxygen is 0.23 Btu/lbm*R.cp of nitrogen is 0.25 Btu/lbm*R. 160 lbm/hr of oxygen and 196 lbm/hr of nitrogen are mixed.oxygen is at 500 F and nitr... |
0631b7ecae37e493716994b4b7d85480f0d76cd9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3523/CH12/EX12.17.2/Ex12_2.sce | d3b5bb8872186e51476538d823cc8121db608f79 | [] | 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 | 285 | sce | Ex12_2.sce | //Example 2// Ch 12
clc;
clear;
close;
// given data
V=100;//in kV
Em=55;//max permissible gradient in kV/cm
//voltage gradient at the conductor surface is inversely proportional to the core radius
r=V*sqrt(2)/Em;//conductor radius in cm
printf("conductor radius %f cm",r)
|
4af00d157e551112d8f28b2233b0f34cc08c0b94 | 484e05962b62928b49ae2e8fd80d4c45031eb3dc | /cfx/cfx.tst | 70f4fc2b1ab5ff90c8e748815a2102bd14c7b436 | [] | no_license | Royallle/hdl_cfx | adbb9dce7e3ae69507a4c1b26cddbd3b3a9eb0dc | 52cbe66f365516b659b65909e86aacb60da0342b | refs/heads/master | 2022-02-24T06:54:22.169423 | 2019-09-15T15:29:35 | 2019-09-15T15:29:35 | 110,464,895 | 0 | 0 | null | 2017-11-14T13:40:42 | 2017-11-12T20:05:58 | Scilab | UTF-8 | Scilab | false | false | 553 | tst | cfx.tst | // Script de teste do circuito Principal
load cfx.hdl,
output-file cfx.out,
compare-to cfx.cmp,
output-list x%B1.5.1 y%B1.5.1 nx%B2.1.2 ny%B2.1.2 px%B2.1.2 py%B2.1.2 zx%B2.1.2 zy%B2.1.2 eq%B2.1.2 si%B2.1.2 outsum%B1.5.1 outsub%B1.5.1 outsix%B1.5.1 overflow%B2.5.2;
set x %B00000, // x=0 y=0
set y %B00000,
eval,
outpu... |
b6086bd7053df876b4b08e7f58b766bc09f0c027 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/RT23.prev.tst | 8dd73c06f5078072bbb0a6787ed5297e1fe0cee9 | [
"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 | 636 | tst | RT23.prev.tst | [[1],[4,7],[9,17,15],[8,22,27,18]] / [[1],[2,3]] =
quot[2,2] = 6, remd = [[1],[4,7],[9,17,15],[8,22,27,18]], prod = [[0],[0,0],[0,0,6],[0,0,12,18]]
quot[2,1] = 5, remd = [[1],[4,7],[9,17,9],[8,22,15], prod = [[0],[0,0],[0,5,0],[0,10,15]
quot[2,0] = 4, remd = [[1],[4,7],[9,12,9],[8,12], prod = [[0],[0,0],[4,0,0],[8,... |
7f5e7969feb96dcd8935b95e6b43d723dbd081b4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2243/CH3/EX3.6/Ex3_6.sce | 8b5f140b23ea2ec35bf1118b183933af2703061b | [] | 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,309 | sce | Ex3_6.sce | clc();
clear;
//Given:
lambda = 5890; // Wavelength of a beam of sodium light in A
l = 100 ; // thickness in cm
mu1 = 1.00;//refractive index of air
mu2 = 1.33;// refractive index of water
mu3 = 1.39; // refractive index of oil
mu4 = 1.64; // refractive index of glass
c = 3*10^8 ;// Velocity of light in vacu... |
1c63dff4ca5aebcbb3e1534e1f6904dbd0cd30d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3159/CH11/EX11.4/Ex11_4.sce | d323041bdb97a0a452fcdd12b6022a1c28d0e886 | [] | 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 | 556 | sce | Ex11_4.sce | // Find the yield stress for a grain size of ASTM 9
clc
sigma1 = 120 // initial yield strength of material in MNm^-2
sigma2 = 220 // Final yield strength of material in MN m^-2
d1 = 0.04 // initial diameter in mm
d2 = 0.01 // final diameter in mm
n = 9 // astm number
printf("Example 11.4")
k = (sigma2-sigma1)*... |
a25f485495ba206974993275708e8fa2a3252dd2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH6/EX6.7/example6_7.sce | 378ef574b94e2af0c44c6facb725ae1cdd215402 | [] | 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 | 817 | sce | example6_7.sce | // Determine Vgs,Id,Vds
// Determine Vgs,Id,Vds,operating region
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 6-7 in page 277
clear; clc; close;
// Given data
Ids=8*10^-3; // Drain current in mA
Vp=-4; // Peak voltage in V
Vdd=18; // Drain... |
c9afb27d94cb734b9210b7ec7909e8b89f7550f6 | 5f48beee3dc825617c83ba20a7c82c544061af65 | /tests/l/11.tst | 60f3a96d2cc171b60cd9f892c1d33ec7ec4fb389 | [] | no_license | grenkin/compiler | bed06cd6dac49c1ca89d2723174210cd3dc8efea | 30634ec46fba10333cf284399f577be7fb8e5b61 | refs/heads/master | 2020-06-20T12:44:17.903582 | 2016-11-27T03:08:20 | 2016-11-27T03:08:20 | 74,863,612 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 93 | tst | 11.tst | .,:&|^~!*/+-><
{}()[];abc.,
8 9 10 /* 11 12 13 14 15
16 17 18 19 /*20 */ 21 22 23 24*/ 25
|
fc0937cabfb39b3f50b27a006f00b0862234b737 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH6/EX6.2/Ex6_2.sce | ff969b20e442c4eaf07f57536cf21200842ca257 | [] | 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,128 | sce | Ex6_2.sce | //===========================================================================
//chapter 6 example 2
clc;clear all;
//variable declaration
Rm = 1; //instrument resistance in Ω
Rse = 4999; //series resistance in Ω
V = 250... |
97e2fc0e23870a07c5a0c956a6376d01bc4cc9e5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH1/EX1.1/1.sce | da3db8f9498cb65f10c578405281c1d17bce6a1c | [] | 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 | 800 | sce | 1.sce | clc
clear
//Input data
m=0.75 //Mass of air in kg
T1=800 //Intial Temperature in K
P1=400 //Initial Pressure in kPa
P2=150 //Final Pressure in kPa
k=1.4 //Adiabatic constant
R=0.287 //Specific Gas constant in J/kg-K
//Calculation
p1=P2/P1 //pressure ratio of process
T2=T1*p1^((k-1)/k) //Final temperatur... |
db1ac03082cea6cb668c22f4430205e2da54b907 | 449d555969bfd7befe906877abab098c6e63a0e8 | /25/CH8/EX8.2/8_2.sce | e792650f8c5f1e8cc9dda6fc0411b12429a2fc22 | [] | 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 | 383 | sce | 8_2.sce | //example:-8.2,page no.-398.
// program to design an equi-split wilkinson power divider for 50 ohm system impedence.
Zo=50;
Z=sqrt(2)*Zo; // impedence of quarter wave transmission line.
R=2*Zo; // shunt resistor.
disp(R,'the shunt resistance value should be in ohm = ')
disp(Z,'the quarter wave transmission line i... |
585d264c342a9a58816c79e18f7b78b75adda463 | 449d555969bfd7befe906877abab098c6e63a0e8 | /803/CH8/EX8.5/ex8_5.sce | c5bd3544c69aa542a3cdb93d99a714494e66f4d1 | [] | 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 | 739 | sce | ex8_5.sce | clc
n=10;...................................//total pulses selected
p=0.8;..................................//probability of pulses hitting the dish
q=0.2;..................................//probability of miss
add=0;
for k=2;
x(k)=((factorial(n)*(p^k)*((1-p)^(n-k)))/(factorial(k)*factorial(n-k)));
disp(... |
6dc7c5c1f70be4104dbdf198910d9cc24c2061c3 | d465fcea94a1198464d7f8a912244e8a6dcf41f9 | /kMatlab/kReadByte.sci | ff4d41225a979326b9277b86c0c59217cc90a4e6 | [] | no_license | manasdas17/kiks-scilab | 4f4064ed7619cad9e2117a6c0040a51056c938ee | 37dc68914547c9d0f423008d44e973ba296de67b | refs/heads/master | 2021-01-15T14:18:21.918789 | 2009-05-11T05:43:11 | 2009-05-11T05:43:11 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 724 | sci | kReadByte.sci | function [r] = kReadByte(ref,address)
// Ouput variables initialisation (not found in input variables)
r=[];
// Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
//KREADBYTE Read a byte from the extension bus
//
//value = kReadByte(ref)
// Read a byte from an address (0..63) on the ... |
87b476de4b94597959dbeeaec1adf84d6aacf750 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3630/CH8/EX8.14/Ex8_14.sce | 518f8642c6bc3f06d0c224548df7651c6f6f862f | [] | 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 | 97 | sce | Ex8_14.sce | clc;
AvdB=6;
Av=10^(AvdB/20);
disp(' ',Av,"Av=");//The answers vary due to round off error
|
53e44d5c7da255ed94606384da2be380e29f44cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH6/EX6.4.b/solution6_4.sce | 1f137969954f1fc370121d49672bc0da2901eae8 | [] | 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,032 | sce | solution6_4.sce |
//Obtain path of solution file
path = get_absolute_file_path('solution6_4.sce')
//Obtain path of data file
datapath = path + filesep() + 'data6_4.sci'
//Clear all
clc
//Execute the data file
exec(datapath)
//Calculate the lead of the screw l (mm)
l = n * p
//Calculate mean diameter of the screw dm (mm)
dm ... |
8d72fa6e3f6646b794db946ec72ee33fc05709bf | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/PD3.prev.tst | e9edef2edd3dcf0d193a499fafd0d297b8693c5e | [
"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 | PD3.prev.tst | (x + 1).degree() = -1
(x + 1).degree(false) = -1
|
f33831b038e3290cca9c4e1e988241c304e4f375 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Digital_Signal_Processing_R._Babu_52.zip/Digital_Signal_Processing_R._Babu_52/CH3/EX3.26/Example3_26.sce | 88f2d7647c00c19cd305d0580f91b538cdbce3aa | [] | 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 | 301 | sce | Example3_26.sce | errcatch(-1,"stop");mode(2);//Example 3.26
//Program to Compute the Linear Convolution of the following Sequences
//x[n]=[1,-1,1]
//h[n]=[2,2,1]
;
;
;
x=[1,-1,1];
h=[2,2,1];
//Convolution Computation
y= convol(x,h);
//Display sequence y[n] in command window
disp(y,"y[n]=");
exit();
|
9b44dbe3b158c06ad03af45a1f807de771ca7a18 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2223/CH9/EX9.2/Ex9_2.sce | 098438e072247e8a1b61ab008545b685edfc7b75 | [] | 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 | 3,128 | sce | Ex9_2.sce | // scilab Code Exa 9.2 Calculation on an axial turbine stage
dh=0.450; // hub diameter in m
dt=0.750; // tip diameter in m
d=0.5*(dt+dh); // mean diameter of the impeller blade in m
r=d/2;
T1=500; // Initial Temperature in degree C
t1=T1+273; // in Kelvin
p1=100; // Initial Pressure in bar
N=6e3; // rotor ... |
a8d92c73d9daaba225bd4f09fe11b8266cf00275 | 25ec4bae7c1d991a8b4f36a96650a07061417648 | /Exemplos/exemplo05AjusteMotores/plotaPotencia.sce | 0564630f6d4d220c67028a9ade51415a66636ba2 | [] | no_license | OtacilioNeto/EV3MicroPythonExamples | 716f76e4179d98157577d68b116a33a078aed085 | 037af9585402fe294d3c82d3b7d88cb49bc26bcf | refs/heads/master | 2023-06-08T19:34:49.916922 | 2023-06-02T13:24:10 | 2023-06-02T13:24:10 | 226,492,496 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 8,421 | sce | plotaPotencia.sce | funcprot(0)
clc
function ret=MinimosQuadrados(Y, X)
n = size(X)(1)
ret(1) = (n*X'*Y - sum(X)*sum(Y)) / (n*sum(X^2) - sum(X)^2)
ret(2) = mean(Y) - ret(1)*mean(X)
endfunction
exec(get_absolute_file_path('plotaPotencia.sce')+'datalog.sce', 0);
scf(1001)
clf()
// subplot(3,2,1);
plot2d(datalog(:,1)... |
200c65178af57dbd8042fe4b914936b09b75c660 | caeeba65136d7b667e3e14cc35ec86579cd57e52 | /Ticket/Attachment/134668/36391/html-tidy.tst | 57543de65b834fa052cb7a819ee99f1df0477c92 | [] | no_license | rt-cpan/rt-cpan.github.io | 934a442fa11602a2b377029eb166199bbe2f6fbe | 28345cf6425a51e68d37fe6ce2a0b4ff399b44ec | refs/heads/master | 2023-03-10T19:34:13.055361 | 2021-03-01T12:45:51 | 2021-03-01T12:45:51 | 321,269,936 | 9 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,099 | tst | html-tidy.tst | ~/HTML-Tidy-1.04 15:03:36% make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00.load............ok
t/extra-quote........ok
t/ignore-text..... |
b1ece3eee4dc19af63c4eca66ca9f95cf0e751b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH13/EX13.14/example13_14.sce | ef966441d1d126834b329bac16477c3dd743feb9 | [] | 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 | example13_14.sce | clc
// Given that
d = 2.51 // the space between adjacent plane in angstrom
theta = 9 // glancing angle in degree
// Sample Problem 14 on page no. 13.29
printf("\n # PROBLEM 14 # \n")
printf(" Standard formula used \n")
printf(" n*lambda = 2 * d * sin(theta) \n")
n = 1 // for n=1
lambda = 2 * d * sind(theta) / n
n = 2 ... |
fc3b03b6927a784f8d030f281a64c6644e70cbbd | 286a3b61feec58c992ceda8f1ce28b8e4db5caf5 | /algorithmes/QR_&_LU.sci | a5d781c610b45dc5d50bc8178b14b9b3c75f3abf | [] | no_license | confiture/M2 | 970865ab3a52c5c65a84637f987dc27d6485542d | e95ca27c1eccd36337348ff042b8db144c08f0d5 | refs/heads/master | 2021-01-22T07:32:37.900029 | 2017-11-06T13:07:58 | 2017-11-06T13:07:58 | 1,020,201 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,342 | sci | QR_&_LU.sci | function X=scal(N,M);
[m,n]=size(N);
if ~((m==1)|(n==1)|~(size(N)==size(M))) then error('vecteur dim'); end ;
X=sum(N.*M);
endfunction ;
//methode QR
function [Q,R]=qr_moi(A)
[m,n]=size(A);
// vérifications de base
if ~(m==n) then error('il faut une matrice carré'); end;
if det(A)==0 then error('matric... |
9d5e4d2dc3a7b8d17c703fc79fd44ea7df0f3ef3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3250/CH7/EX7.4/Ex7_4.sce | c9c7f2b9cc680ba7dac950763e77589c9acfcca4 | [] | 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 | 386 | sce | Ex7_4.sce | clc
// Given that
J_ = 2 // The threshold value of dose in kJ/cm^3
J = 15 // The dose of top surface in kJ/cm^3
x_ = 300 // Depth below the surface in micro meter
// Sample Problem 4 on page no. 4
printf("\n # PROBLEM 7.4 # \n")
function y=f(x),y = 3/((J*(exp(-0.1*sqrt(x))))^(1.6)-3),
endfunction
t = intg(0,x_,f)
prin... |
731de244462b12755c1dd155081c4a53983c5621 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2417/CH8/EX8.9/Ex8_9.sce | ee72269c0e1dc07238639c2937f13e30f638520c | [] | 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,064 | sce | Ex8_9.sce | //scilab 5.4.1
clear;
clc;
printf("\t\t\tProblem Number 8.9\n\n\n");
// Chapter 8 : Vapor Power Cycles
// Problem 8.9 (page no. 388)
// Solution
//The Mollier chart provides a convenient way of solving this problem.Expanding from 980F,400 psia,s=1.7567 to 200 psia yields a final enthalpy of 1413 Btu/lbm.Expa... |
eb1ccf9bb575d7209f6b34b2af5d5e5005a6d76a | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/1.1/macros/metanet/g_ynode.sci | bb0d11ad24bf36132b84695579b5c3cfbc93b144 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | 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 | 76 | sci | g_ynode.sci | function y=g_ynode(g)
[lhs,rhs]=argn(0), if rhs=0 then g=the_g, end
y=g(17)
|
85832547f295a131f9d896fd98c7afc27c1448ee | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH8/EX8.1/ex_8_1.sce | 03e510cac2b44f2ac6b2885cdfa4b93f74610cd9 | [] | 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 | 175 | sce | ex_8_1.sce | //Example 8.1 // speed
clc;
clear;
close;
//given data :
pi=22/7;
s=22; // shaft of the motor in hp
Tsh=210; // torue in hp
N=(s*60*746)/(2*pi*Tsh);
disp(N,"speed,N(rpm) = ")
|
6c3032862a82c5c1adeacc4339736bdb46211f22 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Physics_K._V._Kumar_3537.zip/Engineering_Physics_K._V._Kumar_3537/CH1/EX1.8/Ex1_8.sce | a0a143559367e9c77a8480f3048f13749f1fb662 | [] | 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 | 981 | sce | Ex1_8.sce | errcatch(-1,"stop");mode(2);//Example 1_8
;
;
//To Calculate the Angular position of the 10th maximum and first minimum
//The distance from centre where 10th maximum is obtained by
lamda=5460 //units in angstrom
lamda=5460*10^-10 //units in mts
n=10
d=0.1 //units in... |
d39ab4c1ef62d48ccf35a5ae76f45da132a49a7b | 13c3ed7bef4d80dabd836219bbf4396f07cb934a | /demo.sci | 361d57a6344beb6e0ad1c583500b7b31a4f26d80 | [] | no_license | Mushirahmed/scilab_workspace | 99f489a110a5e295ce9fca9991122d14840018d3 | f58b91b87bb0357fff82dcb97b05541e7e976eca | refs/heads/master | 2021-01-10T15:48:40.576771 | 2016-02-10T10:32:46 | 2016-02-10T10:32:46 | 43,348,489 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 216 | sci | demo.sci | function ydot = f(t,y)
ydot=[a-y(2)*y(2)-1;1 0]*y
endfunction
a=1;y0=[1;0];t0=0;instants = 0:0.02:20;
y=ode(y0,t0,instants,f);
plot2d(y(1,:),y(2,:),style=-1,rect=[-3,-3,3,3],nax=[10,2,10,2])
xtitle('Van der pol') |
0d54c41126264b590a65a6552aca13ca3f762be1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2666/CH12/EX12.1/12_1.sce | 5d10fc976bcc89e424dd4ff49887a9b74ef7d462 | [] | 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 | 588 | sce | 12_1.sce | clc
//initialisation of variables
p=5//tons
t1=20//F
t2=60//F
p1=147//psia
t=460//F
h=14.7//ft
q=0.4/1.4//ft
w1=200//ft
h1=480//R
m=0.24//ft
t3=520//R
q1=42.4//tons
s=53.3//ft
g=144//ft
//CALCULATIONS
T=(t1+t)*(p1/h)^q//R
T1=(t2+t)/(p1/h)^q//R
W=p*(w1)/((m)*(h1-T1))//lb per min
Q=W*m*(T-t3)//Btu per... |
099b069fa2f8eb800451180f756caf703922ed86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH25/EX25.9/example25_9.sce | 62489fb8cf9491d088955113c2e1e1f71b34f35e | [] | 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 | 107 | sce | example25_9.sce | v=120;
v1=40+%i*30;
v2=25-%i*90;
v3=v-v1-v2;
disp("voltage (in V) across the third load is"); disp(v3); |
f6986a104ec2297d985ca5ea00cfc453bd3b2deb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3526/CH17/EX17.9/EX17_9.sce | 1214dfb6203a9bcf77f9fd906397af7dce3e197f | [] | 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,038 | sce | EX17_9.sce | clc;funcprot(0);//EXAMPLE 17.9
//page 542
// Initialisation of Variables
psi=10*10^6;..............//Modulus of elasticity of 7075-T6 in psi
psi1=55*10^6;..............//Modulus of elasticity of Boron fiber in psi
psi2=11*10^6;..............//Modulus of elasticity of Typical AL-LI in psi
f1=0.6;...............//V... |
89e13e24eb65bc484d9a18c570aa760d647fb1d4 | e7055fdf94e8a24293cab7ccbeac12039d6fe512 | /macros/scharr.sci | 2e1a6cf006636167d29c5686221b8608a5b28ae1 | [] | no_license | sidn77/FOSSEE-Image-Processing-Toolbox | 6c6b8b860f637362a73d28dcfe13e87d18af3e2c | 8dfbdbdfd38c73dc8a02d1a25678c4a6a724fe18 | refs/heads/master | 2020-12-02T16:26:06.431376 | 2017-11-08T17:54:03 | 2017-11-08T17:54:03 | 96,552,565 | 0 | 0 | null | 2017-07-07T15:37:18 | 2017-07-07T15:37:18 | null | UTF-8 | Scilab | false | false | 1,522 | sci | scharr.sci | // Copyright (C) 2015 - IIT Bombay - FOSSEE
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The terms
// are also available at
// http://www.cecill.info/licences/Licence_CeCILL_... |
ef8e51b19e51ceeac892764231f3eaf24f2286e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH45/EX45.2/Example45_2.sce | 3e34f4b3165c92dac42cd3ce4ff6eb514a435bba | [] | 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 | Example45_2.sce | //Given that
Epi = 139.6 //in Mev
Ek = 493.7 //in Mev
Ep = 983.3 //in Mev
Es = 1189.4 //in Mev
//Sample Problem 45-2
pt = mopen('Example45_2_result.txt', 'wt')
mfprintf(pt, '**Sample Problem 45-2**\n')
Q = Epi + Ep - Ek - Es
mfprintf(pt, 'The energy of the reaction is %dMev', Q)
mclose(pt) |
90c8551fd033aced55689cc7066dbede606b0308 | 449d555969bfd7befe906877abab098c6e63a0e8 | /172/CH9/EX9.1/ex1.sce | e4d1538c70ff794e8d0dd8f011269cae801bf0da | [] | 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 | 765 | sce | ex1.sce | //example 1
//work done by steam
clear
clc
hi=3051.2 //initial specific heat of enthalpy of steam in kJ/kg
si=7.1228 //initial specific entropy of steam in kJ/kg-K
Pe=0.15 //final pressure in MPa
se=si //specific entropy in final state in kJ/kg-K
sf=1.4335 //in kJ/kg-K
sfg=5.7897 //in kJ/kg-K
vi=50 //velocity... |
d4287d02232c317840175ff874e951e74dc78c5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH3/EX3.8/Ex3_8.sce | 7094fad4024a74642904afc6184f69ba52bd5170 | [] | 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 | Ex3_8.sce | //Example 3_8 page no:125
clc
Rs=25//resistance in ohm
Rl=Rs//according to maximum power transfet theorem
I=50/(Rl+Rs)
P=I^2*Rl
disp(P,"the maximum power delivered to the load is (in watts)")
|
729b0210f4f66c8f8c52282b11b1afc10d0fcf22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH4/EX4.3/ex_4_3.sce | e8c3b69b3d1b9bd6ee87fb827ac5c8b5b3f5b204 | [] | 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 | 228 | sce | ex_4_3.sce | // Example 4.3
clc;
clear;
close;
// Given data
// Part (i)
a= 0.90;
B=a/(1-a);
disp(B,"At alpha= 0.90, the value of Bita is : ")
// Part (ii)
a= 0.99;
B=a/(1-a);
disp(B,"At alpha= 0.99, the value of Bita is : ")
|
e33429588c5c9e42f88969c7be7891d2847da398 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfas_ap_vrt_ind/~BivLCM-SR-bfas_ap_vrt_ind-PLin-VLin.tst | cc027792d58d1723b92bd518971da92fbaeb562a | [] | 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_ap_vrt_ind-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.253747D+00
... |
6e9ba689c971e6b083acae108715171d3e45f188 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH13/EX13.21/Ex13_21.sce | a6279c03e650e8cf77dde1e9e6c463fb432b2653 | [] | 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 | 375 | sce | Ex13_21.sce | clear
//Given
Vr=150 //V
R=75.0 //ohm
f=50 //Hz
L=318*10**-3 //H
//Calculation
//
Iv=Vr/R
Xl=2*%pi*f*L
Vl=Iv*Xl
Z=sqrt(R**2+Xl**2)
Ev=Iv*Z
a=Xl/R
a1=atan(a)*180/3.14
//Result
printf("\n (i) The supply voltage is %0.0f V",Ev)
pri... |
184263e24ac34e410ed13ff8815c6a7b4b83d4ee | 74fffce9cc4eec19f74cee33440f5bf129117c0a | /sed-builder/src/test/resources/test_data/3c273.tst | b356b8c33b5e320301650655b62478768211d9a7 | [] | no_license | ChandraCXC/iris | be7c97891db3f827f01254109fd7b94954c0f5f5 | 354f171ef253260677b93c35b5d2b105c28d2bc3 | refs/heads/master | 2021-04-15T19:16:53.830702 | 2017-03-06T14:11:13 | 2017-03-06T14:11:13 | 17,256,484 | 3 | 2 | null | 2021-03-26T17:54:07 | 2014-02-27T16:55:48 | Java | UTF-8 | Scilab | false | false | 130,507 | tst | 3c273.tst | Photometric Data for 3C 273
# Table parameters
Description: Published and Homogenized by NED [Frequency, Flux Density] Units
utype: spec:Spectrum
DataModel: Spectrum 1.03
DatasetType: Photometry Point
DataLength: 455
Title: Photometric Data for 3C 273, calculated by NED from available published values
Creator: NASA/IP... |
da8bd39c2626671b6326eeb094847746c75a96ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH2/EX2.1.a/Example2_1a.sce | 8bce2b73d08344f9a7afe3a377d79bd00a57fdfe | [] | 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 | Example2_1a.sce | //Given that
velocity = 70 //in km/h
distance_covered = 8.4 //in km
next_time = 30 //in min
next_walk = 2 //in km
//Sample Problem 2-1a
printf("**Sample Problem 2-1a**\n")
overall_displacement = distance_covered + next_walk
printf("Overall displacement from begining of the drive to the station is %f km",... |
21406164e7fb054edb2504f16930f45d9bd8cf29 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/util/%sp_diag.sci | 9910ea76a2596fcae0d76359327967b0b5458465 | [
"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 | 658 | sci | %sp_diag.sci | function d=%sp_diag(a,k)
// %sp_diag - implement diag function for sparse matrix, rational matrix ,..
// Copyright INRIA
[lhs,rhs]=argn(0)
if rhs==1 then k=0,end
[ij,v,sz]=spget(a)
m=sz(1);n=sz(2)
if m>1&n>1 then
l=find(ij(:,1)==(ij(:,2)-k))
if k<=0 then
mn=mini(m+k,n)
i0=-k
else
mn... |
8ed62a816be21a1d58e37e58c00067ae03c3053e | efa427de3490f3bb884d8ac0a7d78829ec7990f9 | /fibonacci.sce | 2ab8a7808b96e37749900a392a33b2140f200bc9 | [] | no_license | letyrobueno/Scilab | a47648473aa681556561d5cea20659d143e4f492 | 2f23623dccea89a3ab2db12ec1f615186f785aa4 | refs/heads/master | 2020-09-01T19:00:30.804237 | 2019-11-01T17:45:22 | 2019-11-01T17:45:22 | 219,031,973 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 261 | sce | fibonacci.sce | // Return the sequence of Fibonacci for a given number
n = input("Give a number: ")
i = 1
j = 0
printf("The sequence of Fibonacci for n=%g is:\n",n)
printf("0th number: %g\n",j)
for(k=1:n)
t = i+j
i = j
j = t
printf("%gth number: %g\n",k,j)
end
|
4d596e153be3684657c26bc8e5f0a9bc9cc4300f | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH2/EX2.3/2_3.sce | bcda83c8346e0d9489181b78e6f04b13cdd1a00a | [] | 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 | 609 | sce | 2_3.sce | //To Find the Velocity
clc
//Given:
//Initial parameters
v0=100 //kmph
t0=0
//Parameters at the end of 40 seconds
v1=90/100*v0 //kmph
t1=40 //seconds
//Solution:
//The acceleration is given by, a=(-dv/dt)=k*v
//Integrating, we get ln(v)=-k*t+C
//Calculating the constant of integration
C=integrate('1/v','v'... |
b0678afc0644b950b118239d3007127272c2b594 | 449d555969bfd7befe906877abab098c6e63a0e8 | /380/CH7/EX7.6/7_6.txt | 224e53f8ed4be3f354a98adbdafb15b402ac056a | [] | 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 | 924 | txt | 7_6.txt | //Caption:Find the voltage regulation when power factor of load is (a)80% lagging (b) unity (c) 80%leading
//Exa:7.6
clc;
clear;
close;
V=208;//in volts
P_o=9000;
R=0.1+(%i*5.6);
V_a=int(V/sqrt(3));//rms value of per phase voltage
I_a=P_o/(3*V_a);//rms value of per phase current
disp("(a) For 80% lagging pow... |
96e737475f3f60f9f74d647c5f7f46ad1c24f6ae | 0e972c54fd1fabed6d1759f65f371a044d96c86e | /make_graf.sce | 668ac11d0270cbe5faddf83973598977fa4a493c | [] | no_license | dddmak/scilab_sample | 63c844f82b95e7f4ac91b6b275ef43a63b18d22a | 32e47f5d743091d0091731303360cee89bcaa55a | refs/heads/master | 2020-04-29T12:41:39.329033 | 2019-03-17T20:24:21 | 2019-03-17T20:24:21 | 176,146,880 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,048 | sce | make_graf.sce | //reference:https://help.scilab.org/docs/5.5.1/ja_JP/csvRead.html
//http://hotic.blog129.fc2.com/blog-entry-10.html
//http://scilab.kani33.com/2015/05/graphic-color/
//ファイル読み取り
//filename = fullfile("/Users/makino/Desktop/scilab/check.csv");
filenamex = fullfile("/Users/makino/Desktop/scilab/Book2.csv");
//csv読み取り
//da... |
2f55dca80854871a6b9a2f080516cbf79022e734 | bb30bb4c59326f7819c15fe66feca6ad5151c89b | /TP3/main.sci | 85f2efd97df1b1c2bbe5ea09d45cb272482b2f86 | [
"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 | 6,605 | sci | main.sci | funcprot(0);
n=10; // Nombre de pages
// alpha in 0.8 0.9
alpha = 0.8;
function show_adj(Adj,diameters)
[lhs,rhs]=argn(0);
if rhs < 2 then diameters = 30*ones(1,n);end
graph = mat_2_graph(sparse(Adj),1,'node-node');
graph('node_x')=300*cos(2*%pi*(1:n)/(n+1));
graph('node_y')=300*sin(2*%pi*(1:n)/(n+... |
87f8071830aab0afaf44cbe1d9219a014b32dddc | 485d12352540751c6df0586faf03ec5acad68a98 | /CSCE 312/nand2tetris/P4Codes/lcd.tst | 4bfe550861c84a8b299491d86d4eb36c6bc03fa9 | [] | no_license | vidhurpotluri/TAMU-CSCE | 690988634ed4d90f2856cd96246ad22b55362d91 | 3edc09790413c2a3290348591c9be6ac192ff53d | refs/heads/main | 2023-06-30T11:42:09.989814 | 2021-07-28T22:32:02 | 2021-07-28T22:32:02 | 390,512,025 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 906 | tst | lcd.tst | load lcd.hack,
output-file lcd.out,
compare-to lcd.cmp,
output-list RAM[0]%D2.6.2 RAM[1]%D2.6.2 RAM[2]%D2.6.2;
set RAM[0] 9,
set RAM[1] 6,
set RAM[2] 0,
repeat 400 {
ticktock;
}
output;
set PC 0,
set RAM[0] 11,
set RAM[1] 21,
set RAM[2] 0,
repeat 1000 {
ticktock;
}
output;
set PC 0,
set RAM[0] 18,
set RAM[1] 66,
s... |
5af4c35d3ae4a6c028ae506955f94e58f029f043 | 704a8e9047b24c6e005fdc6206aacf6b3ea623bb | /UE/S1/bin/ANALYSE/tridiaganal.sci | 23fef89613162d226f54cf1bbf10e436a3c945ac | [] | no_license | GuangYueCHEN/ENSIIE | e84ffd6be1718b958bc72cef791a77dc49fa057f | f2014c0cf5b1adda3f327d5dd1d39217e703871b | refs/heads/master | 2021-06-30T21:50:49.946086 | 2019-06-18T09:53:36 | 2019-06-18T09:53:36 | 114,696,410 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 225 | sci | tridiaganal.sci | function B=tridiaganal(n)
B=zeros(n,n);
for i=1:n,
B(i,i)=3
end
for i=2:n,
B(i,i-1)=1
end
for i=1:n-1,
B(i,i+1)=1
end
endfunction
|
20fb5f0224452249802001cccb57ca265756430e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1919/CH12/EX12.10/Ex12_10.sce | ca5d146d67ead47e9279d3ae6768466117cc2bcd | [] | 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 | Ex12_10.sce |
// Theory and Problems of Thermodynamics
// Chapter 12
// Statistical Thermodynamics
// Example 10
clear ;clc;
//Given data
T = 300 // Temperature of ammonia gas in K
M = 17*1e-3 // molar mass of ammonia in kg/mol
R = 8.314 // gas constant
// Calculat... |
dacee36aa2b67c025bdf227393e49b0c4b677a55 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3415/CH8/EX8.6/Ex8_6.sce | f36c03b9ff67e05d582c5d26e0d4b8032c76277f | [] | 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 | 727 | sce | Ex8_6.sce | //fiber optic communications by joseph c. palais
//example 8.6
//OS=Windows XP sp3
//Scilab version 5.4.1
//given
clc
clear all
NA1=0.24//numerical aperture SI fiber 1 ALl glass
NA2=0.41//numerical aperture SI fiber 2 PCS
NA3=0.48//numerical aperture SI fiber 3 All plastic
NA_loss1=-10*log10(NA1^2)//losses SI... |
cf8bbf5ecdca1cfec2a3ebcb606dfa6d2108b49a | 0845790d81f9fd3b8393b14fc9c2bdde0ffe46cf | /1_gen_of_elem_signals/1gen_of_elem_signal.sce | 90e2331f162bdd6e1eab22a2dd0cf35bfdf5ef0d | [] | no_license | NARAYAN1201/Scilab | 1a3fb62895b157f87b0d9e024ecd2f1c000eb6df | 48980c28ab2def9939e7519867da572660c8ac97 | refs/heads/main | 2023-02-26T02:09:05.762483 | 2021-02-01T07:24:54 | 2021-02-01T07:24:54 | 335,216,077 | 0 | 0 | null | 2021-02-02T08:17:23 | 2021-02-02T08:17:23 | null | UTF-8 | Scilab | false | false | 620 | sce | 1gen_of_elem_signal.sce | //unit-impulse signal
L = 5;
x1 = [zeros(1,L) 1 zeros(1,L)];
nx1 = -L:L;
subplot(2,4,1)
plot2d3(nx1,x1)
//unit-step signal
L = 10;
x2 = [zeros(1,L) ones(1,L+1)];
nx2 = -L:L;
subplot(2,4,2)
plot2d3(nx2,x2)
//ramp signal
n = 0:10;
x = n;
subplot(2,4,3)
plot2d3(n,x);
//sine signal
x = 0:0.01:2*%pi;
y = sin(x);
subplot(... |
d41767ea4382349669faa5766f303ba37f6c6c65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH2/EX2.2/Ex2_2.sce | 8758ff256ba7855defb3b130f3579b1e91c63266 | [] | 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 | Ex2_2.sce | //Example 2_2
clc();
clear;
//To find the difference in the angles of deviation in the first and third spectra
lemda=5000*10^-8 //units in meters
e=1/6000
theta1=asin(lemda/e)*180/%pi //for first order
theta2=asin((3*lemda)/e)*180/%pi //for third order
theta=(theta2-theta1)
printf("The diff... |
e166ab1e9ae4682a58fdf8fa4b3bb686216176ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH1/EX1.49/ex_1_49.sce | 72ebea8daf7002dc7142d9ac769104288971c3d0 | [] | 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 | 563 | sce | ex_1_49.sce | //Example 1.49://ARITHEMATIC MEAN,AVERAGE DEVIATION ,STANDARD DEVIATION AND VARAIANCE
clc;
clear;
q=[1.34,1.38,1.56,1.47,1.42,1.44,1.53,1.48,1.40,1.59];//length in mm
AM= mean(q);//arithematic mean in mm
for i= 1:10
qb(i)= q(i)-AM;
end
Q= [qb(1),qb(2),qb(3),qb(4),qb(5),qb(6),qb(7),qb(8),qb(9),qb(10)];//
AV=(-qb(1)-... |
59dec736f086e2ccc7f40b85e997b7963f4a9238 | 4058f38b392324aa5099819881f3c7d7219a174f | /3 bit Shift Register/SIPO_using_74HC595/SIPO_using_74HC595_consecutive_inputs/SIPO MSBFIRST/cmd_shift_out_msb.sci | 1222ebcdb1c7dba649d280080a4f1c80ec2e1470 | [] | no_license | anupma-s/Scilab-Xcos-Arduino-Digital-Circuits | 612a033422bf14e2e58bcdce371f15cafb30224f | 2b4bf8e8f155d20a5eda2feb31c5523a51569d73 | refs/heads/master | 2021-01-20T17:20:13.073180 | 2016-07-04T15:25:07 | 2016-07-04T15:25:07 | 62,569,455 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,081 | sci | cmd_shift_out_msb.sci | //MSBFIRST
function[]= cmd_shift_out_msb(dataPin,clockPin,val)
val1=[0 0 0 0 0 0 0 0]; //output matrix.
//If all elements of the matrix are 0,
//output pinstate will be 0 (i.e LOW).
//If 1 or more elements of the matrix is 1,
//output pinstate will be 1 (i.e HIGH)
val2=0;
mat=[1 0 0... |
9588573059622a573dd2e6c8cff3885045da04c8 | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/CS3B.prev.tst | 6edf324392975ad87a3aff1bef93039633720256 | [
"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 | 4,752 | tst | CS3B.prev.tst | CandidateSelector expand width=4 base=5 exponent=3 left=4 right=0 fileName=test/CS3B.data.tmp
chain8 [[0,-3,-2,-2],[-1,1,1,1],[0,2,2,1],[0,2,1,2]] det=-1 [28,-18,-21,-19] [134,-86,-97,-95] [642,-412,-461,-459] [3076,-1974,-2205,-2203] [14738,-9458,-10561,-10559] [70614,-45316,-50597,-50595] [338332,-217122,-242421,-24... |
227bbf07647628ce4606b1d88ea4fdeb74e404c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH11/EX11.10/Ex11_10.sce | 8b1a2eb83c11f40c47db9d597ff06227ee80cfd4 | [] | 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 | 3,811 | sce | Ex11_10.sce |
// Given:-
// Analysis
V = 0.241 // volume of the mixture in m^3
T = 511.00 // temperature of the mixture in kelvin
n1 = 0.18 ... |
15c028715990718e5f2f943007e04493fc1ebd4e | 57a39df08383d18148a77915551223cef3bc8cd6 | /bode1.sce | 2e934ec0cdc73db71fdb01e0460874766cb9ff92 | [] | no_license | sonusharma55/Misc.-MATLAB-Scilab | 0abbc7ab22e963b3b3e147a18e17af2f3021d3ce | dbfaab1b84719948ef665798c4192e6ca934e46a | refs/heads/master | 2020-07-25T22:00:11.975476 | 2019-09-14T12:31:37 | 2019-09-14T12:31:37 | 208,434,501 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 171 | sce | bode1.sce | s=%s
num = 2*(1+2*s)*(1+0.05*s)
den=s*(((s^2)/6400)+1)*(1+0.25*s)
g=syslin('c',num,den)
bode(g)
show_margins(g)
[gm,fp]=g_margin(g)
[ph,fg]=p_margin(g)
pm=180+ph
|
662e71d41d9505e03c6aacfc414ca561dbda1889 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH6/EX6.23/Ex6_23.sce | 64ab97fa733cccdaab072d5a5d1ec9af9e9f9b00 | [] | 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 | 388 | sce | Ex6_23.sce | clear
//
//
//
//Variable declaration
h=1
k=1
l=0 //miller indices
d100=0.28 //lattice constant(nm)
n=2
lamda=0.071 //wavelength(nm)
//Calculation
d110=d100/sqrt(h**2+k**2+l**2) //interplanar spacing(m)
theta=asin(n*lamda/(2*d110))*180/%pi //glancing angle(deg... |
7e08490daa1dbe7b616a5e273277f9065df2a867 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set5/s_Electrical_Machines_M._V._Despande_833.zip/Electrical_Machines_M._V._Despande_833/CH14/EX14.3/Ex14_3.sce | d98cdfa6b7a7329b25a764e1adc2954c8bc25a53 | [] | 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 | 576 | sce | Ex14_3.sce | errcatch(-1,"stop");mode(2);//Caption:Find Regulation and resultant excitation
//Exa:14.3
;
;
pf=0.8//Power factor lagging
P=1000//Power of Synchronous generator(in KVA)
Eo=1.25//No load voltage(in per unit)
V=6600//Voltage of Synchronous generator(in volts)
f=50//Frequency(in hertz)
Fe=1//Field excitation t... |
2f0cddf622454b652e85270f16ffbb4248b1503a | 62e6605ab494919b6833bf1a1b158bcb6f9b79df | /idinputtest.sce | 7f1006660ec327213c88d399a32d4c7a7995bf52 | [] | no_license | mani1250/system-identification | c597c26d10bb5dd62b1b4db650b3945afc336e37 | 5db0536c792dfaa4a8f01561315263503ff34d3d | refs/heads/master | 2021-01-12T06:56:00.703593 | 2017-03-07T12:18:15 | 2017-03-07T12:18:15 | 76,865,655 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 129 | sce | idinputtest.sce | // Rgs
n = 8
band = [0 0.39889];
evels = [-1 1];
X = idinput(n,"rgs",band,levels);
// Rbs
X = idinput(n,"rbs",band,levels)
|
c695c9a7703526489a9af5c7803a59e6181391dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /896/CH8/EX8.2/2.sce | 3eaf9a28edc7f0e49a63ebcd9248fc7e7660dbc7 | [] | 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 | 345 | sce | 2.sce | clc
//Example 8.2
//Calculate the speed of sound in air at 20 C
R=10.73//lbf.ft^3/in^2/lbmol/R
//1 ft = 12 in
//1 lbf.s^2 = 32.2 lbm.ft
R1=(R*144*32.2)^0.5//ft/s*(lbm/lbmol/R)^0.5
k=1.4//dimentionless
T=528//R (Rankine temperature scale)
M=29//lbm/lbmol
c=R1*(k*T/M)^0.5//ft/s
printf("the speed of sound in ai... |
af269a1ba205b8e601cedbba4d6db5f7333ec6e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /339/CH8/EX8.12/ex8_12.sce | 21d6f69ac94d38982a76c971e5c82e9f8c6869c3 | [] | 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 | 376 | sce | ex8_12.sce | Ic=10*10^-3; //Collector current
Vce=3;
Vcc=5;
beta=100; //current gain
Vbe=0.8;
I1=Ic+Ic/beta;
R1=(Vcc-Vce)/I1;
R2=(Vce-Vbe)/(Ic/beta);
Vx=1.5;
R3=(Vx-Vbe)/(Ic/beta);
Ix=10*(Ic/beta);
R11=(Vx/Ix);
R22=(Vcc-Vx)/(Ix+(Ic/beta));
R4=(Vcc-Vce)/Ic;
disp("Amperes",I1,"I1","Ohms",R1,"R1","Ohms",R2,"R2","Ohms",R3... |
b57ff8227dfc2730d7a7e4a477c46ec1e590e571 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3751/CH2/EX2.2/Ex2_2.sce | 10322f83dda0526dd251bb62182caded75bb236b | [] | 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,216 | sce | Ex2_2.sce | //Fluid system - By - Shiv Kumar
//Chapter 2 - Impact of Jet
//Example 2.2
clc
clear
//Given Data:-
V=25; //Velocity of the Jet, m/s
theta=45; //Inclination of the plate with Jet axis, degrees
a=30; //cross-sectional area of the Jet, cm^2
//Data Used:-
... |
065ff939e78b03f017e1ec169f12c83b0990b751 | 1b969fbb81566edd3ef2887c98b61d98b380afd4 | /Rez/bivariate-lcmsr-post_mi/bfi_c_vrt_ind/~BivLCM-SR-bfi_c_vrt_ind-PLin-VLin.tst | efed4da016cd2ece143033873b6a4527631c59a8 | [] | 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-bfi_c_vrt_ind-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.302244D+00
... |
c6700354b873649405dd88c8d57d91210a3be797 | 3a5107b829276ce4530b98283206e13ef2bfff7c | /Interpolação_Newton.sce | d630e2b5c1b53acdc914746f1625bd8b85f44761 | [] | no_license | daniel1sender/T-picos-de-F-sica-Computacional | 902932aaa0616171ecd7e21650cb41ed4a29ef72 | 755a3b085f2190d579fcac90d562a7668f4f60d1 | refs/heads/main | 2023-04-23T04:15:27.660423 | 2021-05-10T15:57:41 | 2021-05-10T15:57:41 | 339,199,113 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 647 | sce | Interpolação_Newton.sce | clear
clc
//método interpolação de newton
//dados experimentais:
x=[0,15,30,45,60,75,90];
y = [1.0000,0.9659,0.8660,0.7071,0.5000,0.2588,0.0000];
//pontos quaisquer dados para interpolar:
xi=[3,9,13,20,25,27,50,55,57,80,85,87];
//fórmula de recorrência para o polinomio interpolador de newton de grau 1:
dff=y; //dif... |
411622e84a93a587f3721233b216682fb2e78652 | 28a8d47c4d79b231f8bebc28925792a290f67e9f | /bk/others/prototype/test/test_dao.tst | 0473147c9a032a30486d4a8e1885a5bf8694574b | [] | 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 | 2,728 | tst | test_dao.tst | PL/SQL Developer Test script 3.0
95
declare
a anydata;
obj xxdoo.xxdoo_cntr_contractor_typ;
coll xxdoo.xxdoo_cntr_contractors_typ;
l_dummy pls_integer;
dao xxdoo.xxdoo_db_dao;
x xmltype := xmltype('<content>
<id></id>
<name>IBM</name>
<type>Vendor</type>
<sites>
<site>
<id>1</i... |
fe7880bf33a5e465ac661cc9751d2ffd16e340b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH3/EX3.3.86/Ch3_3_86.sce | 0d40146ed6d72f9268df83d2df21bd582e823eca | [] | 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 | 557 | sce | Ch3_3_86.sce | clc
disp("Example 3.86")
printf("\n")
disp("Find the stability factor & change in Ic for increase in temperature of collector to base bias circuit")
printf("Given\n")
//given
hFE=100
Rc=2.2*10^3
Rb=270*10^3
Icbo1=15*10^-9
T1=25
T2=105
//stability factor
S=(1+hFE)/(1+((hFE*Rc)/(Rc+Rb)))
//Change in collect... |
833c3db7c953d14d5175021555d7b4e01186b591 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH16/EX16.4/16_4.sce | bde0ca8dfd971b9e35a44edd605524a18e6b5581 | [] | 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 | 273 | sce | 16_4.sce | //ques-16.4
//Determining rate law and order with respect to A and B
clc
//R=k*[A]^x*[B]^y
//2R=k*[A]^x*[2*B]^y
//8*R=k*[2*A]^x*[2*B]^y
x=log10(4)/log10(2);
y=log10(2)/log10(2);
printf("Order with respect to A is %d and B is %d and rate law is k*[A]^2*[B].",x,y);
|
3a54ec94753d62a969f8b1396bb982ffbb5dfc00 | b61214213da59c049ec1a018e815f4feb95bccca | /lexers/Scilab/interpolation.sce | 1075ef0b5b5d28786dfa91a6382bef8bf14cd04b | [] | no_license | Alexey-T/lexer_tests | 25ab893f928fe2ac073c153e349c140fd3bd8678 | 3d26a98a4f9a2ae12c4074ea90b9416d75736b83 | refs/heads/master | 2023-08-17T13:07:10.432096 | 2023-08-13T06:51:15 | 2023-08-13T06:51:15 | 74,854,492 | 3 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 7,404 | sce | interpolation.sce | // Copyright 2012 Manolo Venturin, EnginSoft S.P.A.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless ... |
47cee3a2d1132ec6e69e639b2b9d0239c1fc0b7b | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set14/s_Machine_Design_U._C._Jindal_683.zip/Machine_Design_U._C._Jindal_683/CH24/EX24.3/RD_3.sce | 4663dedc270ebbf8a8a83158d5040b3b403a490a | [] | 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 | 207 | sce | RD_3.sce | errcatch(-1,"stop");mode(2);// sum 24-3
;
;
d=12;
sigut=1960;
Pb=0.0025*sigut;
Ds=480;
F=Pb*d*Ds/2;
W=F*2*10^-3;
// printing data in scilab o/p window
printf("W is %0.3f kN ",W);
exit();
|
57e8891d6315a19c4c314d7f24b6db146e621d89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH11/EX11.3/Ex11_3.sce | 2f51741807c764cff4117a2938f1e21f7e22caa2 | [] | 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 | Ex11_3.sce | //pagenumber 516 example 3
clear
c1=0.004*10^-6;//farad
c2=0.03*10^-6;//farad
induct=4*10^-3;//henry
//min voltage
mivolt=c2/c1;
disp("min voltage >= "+string((mivolt))+"volt");
//frequency
freque=(((1/(2*3.14)))*sqrt((c1+c2)/(induct*c1*c2)));
disp("frequency = "+string((freque))+"hertz");
|
062ad0d0abb2e5560d7653578a9b4f941007ba70 | e86f908be00c4a3a017e81d12588d76562c56b75 | /macros/movingrms.sci | 231a9f1d74613dc07b884c32963796f522f4e59d | [] | no_license | ShashikiranYadalam/FOSSEE_SP_task | 8869a14f664329625b76e15e771058b90b69b1e1 | 601ca7b7c91587a430c69c9ceb1f87b196c8e566 | refs/heads/master | 2020-03-20T06:38:26.598686 | 2019-03-01T12:31:10 | 2019-03-01T12:31:10 | 137,255,176 | 0 | 0 | null | 2018-06-14T05:16:17 | 2018-06-13T18:27:32 | HTML | UTF-8 | Scilab | false | false | 1,032 | sci | movingrms.sci | function [rmsx,w]=movingrms(x,w,rc,Fs)
// Find moving RMS value of signal in x
// Calling Sequence
// [rmsx,w]=movingrms(x,w,rc,Fs=1)
// Parameters
// x: Real or complex valued vector or matrix
// w: Real or complex scalar value
// rc: Real or complex scalar value
// Fs: Real or complex scalar value
// Description
// ... |
6b331fe4b90f2fc50f1ee5321ddb05e38cf694be | 449d555969bfd7befe906877abab098c6e63a0e8 | /1736/CH8/EX8.14/Ch08Ex14.sce | ec3bea2f8284987f69a95a011f6f78b77aeb83ba | [] | 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,206 | sce | Ch08Ex14.sce | // Scilab code Ex8.14 Page:268 (2006)
clc; clear;
C = cell(4,4);
// Enter compound names
C(1,1).entries = 'LaTiO3';
C(2,1).entries = 'LaCrO3';
C(3,1).entries = 'LaFeO3';
C(4,1).entries = 'LaCoO3';
// Enter total energy difference w.r.t. ground state for Paramagnetics, mRyd
C(1,2).entries = 0.014;
C(2,2).entri... |
9e26fcdcf673f0a651e8574cae83ada517a935a8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2201/CH4/EX4.13/ex4_13.sce | 8096b7333c1c3ea8ee31b20019af55e3ded43389 | [] | 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 | 236 | sce | ex4_13.sce | // Exa 4.13
clc;
clear;
close;
// Given data
I_o = 1.8 * 10^-9;// A
v = 0.6;// in V
Eta = 2;
V_T = 26;// in mV
V_T=V_T*10^-3;// in V
I = I_o *(%e^(v/(Eta * V_T)));// in A
disp(I*10^3,"The current in the junction in mA is");
|
b7c9f40866f642e83929b8e27a6d057a1dbf8482 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1949/CH2/EX2.24/2_24.sce | 8ad6bdebc5eb6d553262846de6beffed82f4d03c | [] | 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 | 485 | sce | 2_24.sce | //Chapter-2,Example 2_24,Page 2-47
clc()
//Given Data:
N=5*5000 //N=W/(a+b) Number of lines on grating
m=2 //order
lam=6*10^-7 //Wavelength of light
//Calculations:
//i)
RP=m*N //Resolving power
printf('i)Resolving power is = %.0f \n \n',RP)
//ii)
//We know ... |
5ea9ca5410ea1122cf1e3b1cdde718ebd6ffdd78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1976/CH2/EX2.3/Ex2_3.sce | 6324d30bf405b00b0d28490b053b8524e20c4962 | [] | 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,373 | sce | Ex2_3.sce |
//To Determine the Yearly Cost of the substation
//Page 75
clc;
clear;
Teff=95/100; //Transmission Efficiency
Deff=85/100; //Distribution Efficiency
DFT=1.2; //Diversity Factor For Transmission
DFD=1.3; //Diversity Factor For Distribution
MDGS=100*(10^6); //Maximum Demand of Generating Station
ALF=40/100; //A... |
67038b380a1f8eb8438f5af073b5880a62b75ce5 | b80969c9d72c732b0153d0de2b8fd28dc10d8a16 | /Biologie/Site/sauvegarde/28.07.2016/www/Documents/simulation/equationDifferentielle/chapitre4/ex2.sci | 706d3a27b0b83a0e22c59538aa34aaa26ad5240c | [] | no_license | adamdepossylux/stem_cells | 6a2596a0734e3604b570cfdaa1e6cb798d13d7b7 | e1ffdf24a223fea3a3606a0bd262067edc81f5b9 | refs/heads/master | 2020-04-01T17:26:21.772875 | 2017-05-10T15:15:09 | 2017-05-10T15:15:09 | 61,795,551 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 70 | sci | ex2.sci | clf
N=1000;
x=-2+(2+2)*rand(1,N);
y=-2+(2+2)*rand(1,N);
plot(x,y,'.')
|
5f79a088f7ac613efb4fb7464e39bfc9888635fa | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/dftmtx.sci | 39ef91f48a9e562fc20b6f53087d1aba251a4264 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 806 | sci | dftmtx.sci | function [d]=dftmtx(n)
// Computes Discrete n-by-n Fourier transformation matrix
// Calling Sequence
// [d]=dftmtx(n)
// Parameters
// n: Real positive scalar number
// Description
// This is an Octave function
// This fuction gives a complex matrix of values whose product with a vector produces the discrete Fourier t... |
a64811c5576c34b7e2010b0180870ef95783d2fc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH3/EX3.4/M_Ex_3_4.sce | 5d0bb62206510908e7295cab915035b3d99a271a | [] | 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 | 593 | sce | M_Ex_3_4.sce | clc
//Chapter3: Modulation
//Example3.4, page no 138
//Given
Ebb=2e3//DC plate supply
Ecc=-500//DC grid bias
Ib=67e-3//DC plate current
Ic=30e-3//DC grid current
Egm=750//RF peak grid voltage
Pout=75//RF Power output
Ma=0.75//Depth of modulation
Paf=(Ma^2*Ebb*Ib)/(2*1)//modulating power required from the aud... |
0e7e08cc7b49f9f513e9741bbc3a3136bc8203fe | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/CH15/EX15.8/ex15_8.sce | 7824d37799c3c6ae487188507d04b9b59ff4a998 | [] | 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 | 212 | sce | ex15_8.sce | //ex15.8
R4=12*10^3;
C1=0.22*10^-6;
R7=R4;
C2=C1;
R6=3.3*10^3;
Q=10;
f0=1/(2*%pi*R7*C2);
R5=(3*Q-1)*R6;
disp(f0,'center frequency in hertz')
disp(R5,'R5 in ohms')
disp('Nearest value is 100 kilo-ohms') |
27f2149ba012aaba0095f36a9bb4447da8bceeb3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /866/CH12/EX12.5/12_5.sce | 287d5efe1ade809223843f20e4bc657a60341f21 | [] | 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 | 162 | sce | 12_5.sce | clc
d=400 //mm
m=15
ASs=120 //N/mm^2
ASc=6.5 //N/mm^2
BM=40*10^3 //Nm
n=d/(ASs/(ASc*m) +1 )
As=BM*10^3/(ASs*(d-n/3))
printf("required area= %f mm^2",As)
|
083f309eebef1e376e70062236d97501e3bccd16 | e806e966b06a53388fb300d89534354b222c2cad | /macros/getrotationmatrix2d.sci | f1cc44fcf0792783498ac36f65cf0be143839352 | [] | 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 | 171 | sci | getrotationmatrix2d.sci | function [out]=getrotationmatrix2d(Point2fcenter, doubleangle, doublescale)
out=opencv_getrotationmatrix2d(Point2fcenter, doubleangle, doublescale);
endfunction;
|
0f390535d21fb4645c78c52d3885ca714831e18a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3809/CH6/EX6.7/EX6_7.sce | fba76de47fe64be7aaac49b0b9fea6a2b8340f83 | [] | 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 | 575 | sce | EX6_7.sce | //Chapter 6, Example 6.7
clc
//Initialisation
pi=3.14 //pi
f=50 //frequency in hertz
L=400*10**-3 //inductance in hemry
C=50*10**-6 //capacitance in farad
R=200 //resistance in ohm
//Calculation
w=2*pi*f ... |
6ca30db7441b82b231ad270529bd351af26c1af7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /55/CH5/EX5.6/5ex6.sci | 423bd6f4db4cdaa8613969f924614826e0267b21 | [] | 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 | 141 | sci | 5ex6.sci | a=[7,-4,5];
b=[3,2,-1]';
k=a*b;
disp(k,'product of a and b is;')
p=[6,-1,8,3];
q=[4,-9,-2,5]';
l=p*q;
disp(l,'product of p and q is:') |
6c8b3132793c7943ea1f032d42d1868a6c60d822 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2522/CH9/EX9.1/exm9_1.sce | 48860f84f326aa3a9560136c0bb48a141d9f6c9d | [] | 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,105 | sce | exm9_1.sce | // page no 283
// example no 9.1
// PUSH POP AND DELAY INSTRUCTIONS
clc;
printf('LXI SP,2099H \n \n'); // the stack pointer is located at 2099H.
printf('LXI H,42F2H \n ');
printf('H--> 42 L-->F2 \n \n');
printf('PUSH H \n'); // sends the data of HL register pair in the stack.
// stack pointer is decremented... |
513b8a56a163002ad807d2293e026a1f4a666de9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1055/CH4/EX4.4/ch4_4.sce | f9e195f67902b8e8cd0daf9726f3282bfe5d4b5c | [] | 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 | 527 | sce | ch4_4.sce | //To calculate the voltage across each load impedence and current in the nuetral
clear
clc;
IR=(400)/((sqrt(3)*(6.3+%i*9)));
IY=231*(cosd(-120) + %i*sind(-120))/8.3;
IB=231*(cosd(120) + %i*sind(120))/(6.3-%i*8);
In=abs((IR +IY +IB));//Neutral current
mprintf("Neutral current =%.2f amps\n",In);
VR=abs(IR*(6+ %i*... |
6fe9db04586ceaf187d1fbd63b46e554895b1b27 | fe48ae0c518509ac5c57688957075e939956f2b1 | /Complex in polar form.sce | 995d259b729b324bc444006417b0b4405a7ef136 | [] | no_license | dibakardhar/Scilab-Notes | d8161939a96b5d9f89106440059b6aaa717f5d79 | 6bc6a6caa5120a4c7a20f15430860e5b51e8014e | refs/heads/main | 2023-07-09T18:48:56.525225 | 2021-08-15T16:32:36 | 2021-08-15T16:32:36 | 396,415,364 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 222 | sce | Complex in polar form.sce | x=input("Enter the value of x:")
y=input("Enter the value of y:")
n=input("Enter the order:")
z=x+y*%i
r=sqrt(x*x+y*y)
q=atan(y/x)
k=0:(n-1)
j=%i*((q+2*%pi*k)/n)
m=exp(j)
z1=r^(1/n)*m
disp(z1,"Roots of z are:")
|
10297cc802030e4eb3fba44e2952e6bd905b2d0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH16/EX16.10/Ch16Ex10.sce | efdd61bcfa5e31c1aa8bafa77784b6865ce6cb2c | [] | 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 | 498 | sce | Ch16Ex10.sce | // Scilab Code Ex16.10 : Page-824 (2011)
clc; clear;
a = 2.5, b = 2.5, c = 1.8; // Lattice parameter of tetragonal crystal, angstrom
h = 1; k = 1; l = 1; // Miller Indices for planes in a tetragonal crystal
d_hkl = 1/sqrt((h/a)^2+(k/b)^2+(l/c)^2); // The interplanar spacing for tetragonal crystals, m
printf("\... |
9c3db298ac32e7fd08f228674ad091a60aec564b | a4bbc60bcc82ee6212825ce21fc9e4fa7b04e870 | /Bioinformatics_3k/4uzd/tests/1A26.tst | a518bee60a7998afdee36de3dfdb2cc38410a840 | [] | no_license | Luksys5/LT_programos | 3a7cabb6c5e8a23a856983c1938d2d492cddf916 | 959ab74029df334767fcad84adc46ae36cf7cdf1 | refs/heads/master | 2021-01-19T19:33:11.505596 | 2017-03-12T18:08:14 | 2017-03-12T18:08:14 | 16,478,166 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 14,782 | tst | 1A26.tst | VDWCONT 3.032 3.04 -0.0079 1A26.cif A O ASP 147 C O HOH .
VDWCONT 3.032 3.04 -0.0079 1A26.cif C O HOH . A O ASP 147
VDWCONT 3.0347 3.04 -0.0052 1A26.cif A O ASP 117 C O HOH .
VDWCONT 3.0347 3.04 -0.0052 1A26.cif C O HOH . A O ASP 117
VDWCONT 3.036 3.04 -0.0039 1A26.cif C O HOH . C O HOH .
VDWCONT 3.036 3.04 -0.0039 1A2... |
0cc97ce2d32c3b846325fd85c80dead486c1af86 | e8dbcf469ba8a31d6926ba791ebc5dcccd50282b | /css/Scripts/Funciones/get_religion.tst | 8f57add9004d425680bef3efaac2241d7c2702ef | [] | no_license | bryanjimenezchacon/bryanjimenezchacon.github.io | 5f2a0f1dbfbc584a65dece48f98b1c13d755512f | 7062d1860934808265c05491007c83f69da1112a | refs/heads/master | 2021-01-23T17:20:11.542585 | 2015-10-10T05:52:52 | 2015-10-10T05:52:52 | 41,244,377 | 2 | 0 | null | 2015-08-26T15:46:04 | 2015-08-23T09:52:06 | JavaScript | UTF-8 | Scilab | false | false | 171 | tst | get_religion.tst | PL/SQL Developer Test script 3.0
4
begin
-- Call the function
:result := get_religion(preligion_id => :preligion_id);
end;
2
result
1
Panteismo
5
preligion_id
1
1
4
0
|
46100f614cf9e7e75712aefc887e82452ecbb39d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH8/EX8.12/Ex8_12.sce | b4feb243792439bd7a76d879d72e2566879728cf | [] | 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 | Ex8_12.sce | clc;clear;
//Example 8.12
//given data
m=2;
T0=70+460;//in R
P1=20;
T1=70+460;//in R
T2=130+460;//in R
//constants used
Cv=0.172;//in Btu/lbm - F
//calculations
Xdestroyed=T0*m*Cv*log(T2/T1);
disp(Xdestroyed,'exergy destroyed in Btu');
Wrev=integrate('(1-T0/T)*m*Cv','T',T1,T2);
Wrev=round(Wrev);
di... |
7575eb2e8708d3e6a3ec56414b10920162ae7bae | 449d555969bfd7befe906877abab098c6e63a0e8 | /1439/CH6/EX6.4/6_4.sce | d2f86a61f5d28cada01f60005dd3fc9a3dc9a8a6 | [] | 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 | 252 | sce | 6_4.sce | clc
//initialisation of variables
y1= 32.47*10^-4
y2= 34.71*10^-4
x1= 1.625
x2= 1.107
R= 1.987 //cal mole^-1 K^-1
//CALCULATIONS
slope= (x2-x1)/(y2-y1)
Hvap= -slope*2.303*R
//RESULTS
printf ('Heat of vapourization= %.f cal mole^-1',Hvap)
|
0b59757a03474693124992d8fd2212f15f027f65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /964/CH15/EX15.1/15_1.sce | 57a5b950c95d004cd9462e784b9a60c0b8bfc0db | [] | 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 | 507 | sce | 15_1.sce | clc;
clear;
regular=[7 10 9 150];
premium=[11 8 6 175];
res_avail=[77 80];
//total profit(to be maximized)=z=150*x1+175*x2
//total gas used=7*x1+11*x2 (has to be less than 77 m^3/week)
//similarly other constraints are developed
disp("Maximize z=150*x1+175*x2")
disp("subject to")
disp("7*x1+11*x2<=77 (Materia... |
91c12864bf8a63ef02951d4201a89835f18326f0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH12/EX12.1/example12_1.sce | c6af8f7c6d27f4c18b0acd0e235ce6c377b9079d | [] | 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 | 612 | sce | example12_1.sce | //clc()
N = 100;//mol gas mixture burned
//CO(g) + 1/2 O2(g) = CO2 - Hr1 = - 282.91kJ/mol
//H2(g) + 1/2 O2(g) = H2O - Hr2 = - 241.83kJ/mol
Hr1 = - 282.91;//kJ/mol
Hr2 = - 241.83;//kJ/mol
Nco1 = 20;
Nh21 = 30;
Nn21 = 50;
Htotal = Nco1*Hr1 + Nh21*Hr2;
disp("kJ",-Htotal,"the... |
7f0786ed1ca7b78bbe226c0a79ba1e38a9dec8f5 | 6813325b126713766d9778d7665c10b5ba67227b | /Chapter6/Ch_6_Eg_6.19.sce | 46d945780cb7055a683420a8944b008d705b746c | [] | no_license | arvindrachna/Introduction_to_Scilab | 955b2063b3faa33a855d18ac41ed7e0e3ab6bd1f | 9ca5d6be99e0536ba1c08a7a1bf4ba64620ec140 | refs/heads/master | 2020-03-15T19:26:52.964755 | 2018-05-31T04:49:57 | 2018-05-31T04:49:57 | 132,308,878 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 299 | sce | Ch_6_Eg_6.19.sce | // A program to read data from a string.
mprintf("\nEnter a string in the format Name:ABC,ID:01,Age:20,Weight:50.35kg");
s=mscanf("%s");
[n,Name,ID,Age,Weight]=msscanf(s,"Name:%3s,ID:%d,Age:%d,Weight:%fkg");
disp(Weight,Age,ID,n);
A=msscanf(s,"Name:%3s,ID:%d,Age:%d,Weight:%fkg");
disp(A);
|
65f1e505d85dc54a202de45619b6cf71d5d2c083 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2219/CH9/EX9.6/Ex9_6.sce | 04ed7d169b24cd18f4fd67360e6cdbe768b85d64 | [] | 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,018 | sce | Ex9_6.sce | // Chapter 9 example 6
//------------------------------------------------------------------------------
clc;
clear;
// Given Data
Vs = 330; // velocity of sound in m/s
NM = 1.85*(5/18) // 1NM equivalent in m/s
V1 = 0.5; // velocity of first aircraft in mach
V2 = 400; ... |
25f550c34656ea914425d7d669461ef6bfafc893 | 3e5f48beb8d918ce886ffe48f120a181840d28b5 | /Algebra Linear Algoritmica/paraboloide.sce | 24b8d942de77b45ce14348f4096f2c0d48a5b88d | [
"MIT"
] | permissive | elvisigkeit/graduate-stuff | dd0e11dd5c7765adc77835f4ba96b53d7d25717c | 700c8e97cefffcb48dccccdefefb3a470df29f1f | refs/heads/master | 2023-05-31T05:25:36.381690 | 2021-06-17T01:53:38 | 2021-06-17T01:53:38 | 212,691,118 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 428 | sce | paraboloide.sce | clear
//Definida positiva
//A = [2, 0; 0, 2]
//Definida negativa
//A = [-4, 1; 2, -5]
//Semidefinida positiva
//A = [2, 2; 1, 1]
//Semidefinida negativa
//A = -1*[2, 2; 1, 1]
//Indefinida
//A = [-4, 2; 0, 7]
A = -1*[2, 2; 1, 1]
b = [1; 1]
c = 3
x = -4:0.1:4
y = -4:0.1:4
cx = length(x)
cy = length(y)
for i = 1:... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.