blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
be5984ebf742427b576512e8deaef3e5ae66320c | d0a6d5d85ead04c9e381d2f60cc2409632e9b3be | /tests/ieee-div-nans.tst | e85a8fbbfe49295bf0187a137f4d804283ce7284 | [
"LicenseRef-scancode-unknown-license-reference",
"Zlib",
"BSD-3-Clause",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause"
] | permissive | imane1992/hercules-390 | 841d40e09d28827f24b19edf3c84f602af2a01b0 | 3f185e1a9b5ad526aef41eb48d566e5a5e90a500 | refs/heads/master | 2021-01-19T00:13:57.946438 | 2016-06-12T18:42:38 | 2016-06-12T18:42:38 | 61,064,180 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 10,103 | tst | ieee-div-nans.tst |
*Testcase IEEE-NaNs Test DIVIDE instruction with zero, QNaNs and SNaNs
*Message Testcase ieee-div-nans.tst: IEEE Division with zero and NaNs
*Message ..Test case values include zero, QNaNs, and SNaNs
# Divide adjacent pairs of values in the input set (six values means five results).
#
# Test data: 2, 0, ... |
bf80c36f6d706b84e0141554c0e6bc515f06b8c1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH14/EX14.6/14_6.sce | b844596fa6f69a9186a9e60b17d34edacc3bf58e | [] | 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 | 384 | sce | 14_6.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 14.6
//calculation of the excess pressure inside a mercury drop
//given data
R=2*10^-3//radius(in m) of the drop
S=.464//surface tension(in N/m) of the drop
//calculation
deltaP=2*S/R//excess pressure
printf('... |
eaa34d6d41c315fc5989d8be7953fece76ba4566 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2672/CH5/EX5.20/Ex5_20.sce | 225c932643fb009a840290fcf975f0f171a629c3 | [] | 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 | 244 | sce | Ex5_20.sce | //Example 5_20
clc;
clear;
close;
format('v',5);
//given data :
I=5;//micro A
V=10;//V
//1/I0*dI0/dT=0.15 & 1/I*dI0/dT=0.07
I0=I/(0.15/0.07);//micro A
//I=I0+IR
IR=I-I0;//micro A
R=V/IR;//Mohm
disp(R,"Leakage Resistance(Mohm)");
|
d1b601d71e5a2d5266bb5f3dd9c5058825659ceb | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH5/EX5.5/5.sce | 07398f3b1bf3064b2a9b8979ffd2bd394563d26e | [] | 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 | 276 | sce | 5.sce | clc
disp("(i) Heat abstracted from outside=")
Q1=2*10^5; //kJ/h
W=3*10^4; //kJ/h
Q2=Q1-W;
disp("Heat abstracted from outside=")
disp(Q2)
disp("kJ/h")
disp("(ii) Co-efficient of performance")
COP_hp=Q1/(Q1-Q2);
disp("Co-efficient of performance=")
disp(COP_hp) |
7edf13573d84eb78eb71b8f64af29683df8479b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /371/CH8/EX8.7/8_7.sci | e81289dd092cd57506e8e156f32d7fd3d40e082f | [] | 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 | 903 | sci | 8_7.sci | //Harmonic and Powerfactor with the Converter system//
//Example 8.7//
A=%pi/4;
h=6;
Wv=sqrt(2)*sqrt(h^2-cos(A)^2*(h^2-1))*100/(h^2-1);
printf('voltage ripple of the 6th harmonic=Wv=%fpercent',Wv);
printf('\nFor six pulse converter most effective harmonic is 6th and for worst case A=90degrees\n');
A=%pi/2;
Wv6=... |
97227d3f7f2c49114e001fb68751f8629291f9d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1655/CH1/EX1.13.1/Example_1_13_1.sce | cc4d5a2401a82f4da0dabbb38b281c4d3a169448 | [] | 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 | 566 | sce | Example_1_13_1.sce | // Example 1.13.1 page 1.30
clc;
clear;
Bit_rate = 2d9; // bit rate of channel
// Given sequence is 010111101110
Shortest_duration = 1 * (1/Bit_rate); // shortest duration is '1'
Widest_duration = 4 * (1/Bit_rate); //widest duration is '1111'
Shortest_duration=Shortest_duration*10^9; ... |
1f145a184cc47630ace0f0c6acb8054bede77b23 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH13/EX13.19/13_19.sce | ed963100563662ae44e0e50b5cd924e804628d6f | [] | 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 | 224 | sce | 13_19.sce | clear;
clc;
R1=3;R2=2;R3=2;
A=(R3+R3+R2+R2)/(R1+R3+R1+R2);
Zi1=sqrt((R2*(R1+R3)+(R1*R2))/A);
printf("Zi1 = %f ohms\n",round(Zi1*10)/10);
Zi2=R2+(R3*(R1+Zi1)/(R3+R1+Zi1));
printf(" Zi2 = %f ohms\n",round(Zi2*10)/10);
|
1195bd5f9eecfd74180f58b029da1f0514708486 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH4/EX4.2/4_02.sce | da3c3a5ff91464c3dfa3a3e8e6194a7a9840b558 | [] | 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 | 395 | sce | 4_02.sce | //Chapter 4, Problem 2
clc;
r=0.02; //Internal resistance in ohm
emf=2.0; //e.m.f
I1=5; // Current in ampere
I2=50;
V1=emf-(I1*r); //Calculating Voltage
V2=emf-(I2*r);
printf("Terminal p.d when 5A current = %... |
206a140e962ba28709e421f33717a35c5bf42d28 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/ismaxphase/ismaxphase1.sce | 9c4b099a459ad22dcb90163864cb6181f2685eba | [] | 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 | 282 | sce | ismaxphase1.sce | //
b=[0.7143 0.2857 1.0000];
flag = ismaxphase(b);
//output
//!--error 10000
//no. of columns must be 6
//at line 40 of function ismaxphase called by :
//flag = ismaxphase(b);
//at line 3 of exec file called by :
///ismaxphase1.sce', -1
//matlab o/p
// 1
|
c7eb08c2c5906d3af0ec219e0daccb30236042ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH20/EX20.4/Ex20_4.sce | e60949cc7ccf65eef7c4d9e511bc06c2e268a931 | [] | 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 | Ex20_4.sce | //Example 20.4
V=12;//Voltage (V)
I=2.50;//Current (A)
R=V/I;//Resistance from Ohm's law (ohm)
printf('Resistance of automobile headlight = %0.2f ohm',R)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col11406/latest
|
fb007b411329047d2a29ecdbbff02824a819a141 | 66106821c3fd692db68c20ab2934f0ce400c0890 | /test/interpreter/mov03.tst | 5c43dcd684aca5dba46c4028b0e6a4ec6859277b | [] | no_license | aurelf/avrora | 491023f63005b5b61e0a0d088b2f07e152f3a154 | c270f2598c4a340981ac4a53e7bd6813e6384546 | refs/heads/master | 2021-01-19T05:39:01.927906 | 2008-01-27T22:03:56 | 2008-01-27T22:03:56 | 4,779,104 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 203 | tst | mov03.tst | ; @Harness: simulator
; @Format: atmel
; @Arch: avr
; @Purpose: "Test the MOV (move between registers) instruction"
; @Result: "r0 = 42, r31 = 42"
start:
ldi r31, 42
mov r0, r31
end:
break
|
9b0ad84791bd4ce26400598b4c2355c87e910afb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2708/CH14/EX14.7/ex_14_7.sce | f99d055a79477bb0c140dec3db6a8891b693bc0c | [] | 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 | 496 | sce | ex_14_7.sce | //Example 14.7 // glancing angle
clc;
clear;
//given data :
// 1st part
lamda=1.549;// wavelength in A
d=4.255;// in ter planer spacing in A
n=1;//order of reflection
theta=asin(n*lamda/(2*d));// glacing angle in radian
theta=theta*180/%pi;// to convert in degree
disp(theta,"glancing angle in degree")
// 2... |
ba19d2a1a5bedc4206781ba9b0d9b0358c38ff68 | 8712e7b4614b1ab648f19bcce8ca17e378876546 | /Scilab Sem Interface Grafica/Engine/Funcoes.sce | 77c3c0891971014a4dfb4cc6843e77f054a6eeb5 | [] | no_license | Diogo-Rossi/Mestrado-Diogo-Rossi | d0d476d878c729c44778ea8f364c50c5464fc751 | d544d3bce094931eb96a6031aaa1ae1a833d2b04 | refs/heads/master | 2022-08-26T22:28:04.339221 | 2022-07-11T00:25:21 | 2022-07-11T00:25:21 | 236,889,761 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,740 | sce | Funcoes.sce | function p = Carregamento(n,nc,opC,desC,t0,t1,w1,F,t)
p = zeros(n,1);
for i=1:nc
switch opC(i)
case 1 // ------------------------ Carga Impulsiva Constante
if t < t0(i)
p(desC(i)) = 0;
elseif t <= t0(i)+t1(i)
... |
90cc29784d430f4d89ef7861b271820e57e73853 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2795/CH12/EX12.1/Ex12_01.sce | ae284d941b25a5d4143d444ae4c3b284453bd3e4 | [] | 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 | 851 | sce | Ex12_01.sce | // Scilab Code Ex12.1: Page-432 (2014)
clc; clear;
h = 6.62e-034; // Planck's constant, Js
h_bar = h/(2*%pi); // Reduced Planck's constant, Js
m = 1.67e-027; // Rest mass of proton, kg
e = 1.602e-019; // Energy equivalent of 1 eV, J
c = 3.00e+008; // Speed of light, m/s
delta_x = 8.0e-015; // S... |
3dc4522d641b3fed0a97d6f3718a64a9c5fefe0a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2075/CH8/EX8.6/pe8_6.sce | 25a5489537127f3507e2954bdffd410a4eb69673 | [] | 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 | 523 | sce | pe8_6.sce | //example 8.6
clc;funcprot(0);
//Initialization of Variable
R=10;//load
V=120;//rms voltage
f=60;//hertz
T=83.3;//ms
t1=15;//ms
t2=55;//ms
//calculation
Tl=1/f;
disp(Tl*1000,"line period in ms:")
Th=Tl/2;
disp(Th*1000,"half-cycle time in ms:")
C=round(T/Th/100)*100;
disp(C/1000,"cycles:")
D1=.2;
V1=rou... |
a38d7866b68a3d894c3efacbd6a89127af73158f | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH28/EX28.11/28_11.sce | 706669966158ac4028fb4ae2804c4acbe24b7cae | [] | 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,296 | sce | 28_11.sce | //Problem 28.11: In an L–R–C series network, the inductance, L = 8 mH, the capacitance, C = 0.3 μF, and the resistance, R = 15 ohm. Determine the current flowing in the circuit when the input voltage is 7.56/_0° V and the frequency is (a) the resonant frequency, (b) a frequency 3% above the resonant frequency. Find al... |
a6d3141063a2f460f6325c357a90863a3581a271 | e7055fdf94e8a24293cab7ccbeac12039d6fe512 | /macros/getParams.sci | 908acfc6d8ae0e596abefa94b834011b6adaf383 | [] | 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 | 4,522 | sci | getParams.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_... |
a55c605a0dae44752e6dd9016974229445c2b578 | 16579ad7ed41978f16b6d47b6b231aee1bd1a742 | /TP4/logique_floue.sce | 000da515b4cfd46337ca23105afc1738f6507ec9 | [] | no_license | ALX5/VisA | 0196520651acc9c0ca1e3b8a7bfea3127bbd9258 | 104d51192ed460073eaa48351c6ba9c0252dd19b | refs/heads/master | 2021-01-22T04:36:42.764020 | 2013-12-02T21:34:52 | 2013-12-02T21:34:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,781 | sce | logique_floue.sce | // 2. Opérateurs de la logique floue.
function C=operateurmin(A,B)
// [rows,cols]=size(A);
// for i=1:cols
// if basse(i)>moyenne(i) then
// C(i)=moyenne(i);
// else
// C(i)=basse(i);
// end
// end
C=min(A,B);
endfunct... |
3dcb0efa436010b597ffaa6cceeb3ee7c73d3c49 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2063/CH9/EX9.1/9_1.sce | f0875b27aa36793e32654779699fbd6ed2b0b9a7 | [] | 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 | 919 | sce | 9_1.sce | clc
clear
//Input data
m=1;//Mass of air that has to be compressed in kg
P1=1;//Initial pressure of a single stage reciprocating air compressor in bar
P2=6;//Final pressure in bar
T1=303;//Initial temperature of air in K
n=1.2;//Polytropic index of air
R=287;//Gas constant for air in J/kg K
r=1.4;//Isentropic ... |
64e64e90d9377f074c8e844c75e85ded9c967e19 | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3899/CH5/EX5.1/Ex5_1.sce | c939730e434cfaa66c8d1ee97cfd351f1a839802 | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,039 | sce | Ex5_1.sce | clear all;
g=9.8;
A1=1;
A2=0.0005;
h1=0;
h2=0;
f1=0.004;
Ts=[100,500,1000];
N=round(8000./Ts)
for m=1:length(Ts),
h1=0;
h=h1
for n=1:N(m),
h1=(100.*f1+A1*h1-A2*100*sqrt(2.*g.*(h1-h2)))./A1
h=[h;h1]
end
subplot(3,1,1);
plot2d3('gnn',Ts(m)*[0:N(m)]',h);
if m==... |
bc51c9ceefd5435bf15cc8367b712d72f9134c6f | 449d555969bfd7befe906877abab098c6e63a0e8 | /662/CH4/EX4.14/ex4_14.sce | 00269d7eb93439afe486e5f7662ad0d65b05dad9 | [] | 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 | 692 | sce | ex4_14.sce | //Example 4_14
clc
printf("\n [Enter values in single line]) ");
printf("\nEnter character values for c1, c2 and c3 : ");
[a,c1, c2, c3]=mscanf("%c%c%c");
printf("c1 = %c, c2 = %c, c3 = %c ", c1, c2, c3);
//if scanf written as scanf("%c %1s %1s", &c1, &c2, &c3)
printf("\nEnter character v... |
b243ecef3a35541bfb36ccf0a67163939f203863 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/macros/m2sci/%x2sci.sci | 3a49fcd701039a43e423c5482cb9585377b497cc | [
"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 | 585 | sci | %x2sci.sci | function [stk,txt,top]=%x2sci()
// Copyright INRIA
txt=[]
s1=stk(top-1)
s2=stk(top)
if s2(5)=='4' then s2(1)='bool2s('+s2(1)+')',s2(5)='1';s2(2)='0';end
if s1(5)=='4' then s1(1)='bool2s('+s1(1)+')',s1(5)='1';s1(2)='0';end
[e1,te1]=s1(1:2);
[e2,te2]=s2(1:2);
//
if te2=='1'|te2=='2'|te2=='3' then e2='('+e2+')',end
if t... |
f696eab1d384cb87dd8bf0b5b07d5c5b5afea37e | 449d555969bfd7befe906877abab098c6e63a0e8 | /431/CH2/EX2.4/EX2_4.sce | e84617383b1fc83662e7359b3b7e2bee38822ed1 | [] | 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 | EX2_4.sce | //Calculating average induced emf
//Chapter 2
//Example 2.4
//page 92
clear;
clc;
disp("example 2.4")
P=2 //number of poles
Z=400 //number of conducters
n=300 //speed in rpm
E=200 //voltage of generator
A=2 //number of parallel paths
N=1200 //number of turns in... |
671eb1ad34e15dde738afaea08b7015c0747b554 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1427/CH18/EX18.21/18_21.sce | ed531fd9aee3ebf32b533cc6ee6a9da185c16d14 | [] | 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 | 340 | sce | 18_21.sce | //ques-18.21
//Determining heat of formation at constant volume
clc
H=-74.85;//heat of formation of methane at constant pressure (in kJ/mol)
n=1-2;//change in gaseous moles
T=273+25;//temperature (in K)
U=H*1000-n*8.314*T;//heat of formation at constant volume
printf("Heat of formation at constant volume is %.2f... |
e5b7773894e937863aaedb1812fbc08dea3840c8 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/cspect.man.tst | 07058c8531fb42bf9f703b6a8eb8c2b17a067b86 | [
"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 | 439 | tst | cspect.man.tst | clear;lines(0);
rand('normal');rand('seed',0);
x=rand(1:1024-33+1);
//make low-pass filter with eqfir
nf=33;bedge=[0 .1;.125 .5];des=[1 0];wate=[1 1];
h=eqfir(nf,bedge,des,wate);
//filter white data to obtain colored data
h1=[h 0*ones(1:maxi(size(x))-1)];
x1=[x 0*ones(1:maxi(size(h))-1)];
hf=fft(h1,-1); xf=fft(x1,-1... |
780ab8fa1e903eedf5b8ceaedf5dc96c5ef1cff4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /866/CH6/EX6.2/6_2.sce | e956e8573ad4bab294636e8d1ac639b2a1e29679 | [] | 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 | 653 | sce | 6_2.sce | clc
//initialisation of variables
W= -10 //KN/m
Yac= 7 //m
xad= -7.5 //m
xac= -15 //m
xcb= 10 //m
//CALCULATIONS
k= Yac/((xac)^2)
yb= k*(xcb)^2
hb= Yac-yb
yd= k*(xad)^2
hd= Yac-yd
A=[(xcb-xac),(hb);(xcb),(-yb)]
b=[-W*(-xac)*(-xad);0]
c= A\b
Rbv= c(1,1)
Rbh= c(2,1)
Rah= Rbh
Rav= -Rbv-W*(-xac)
dybydx=... |
a0c6c844da42fd18f67bb8eb8a07cd400faecb62 | c565d26060d56f516d954d4b378b8699c31a71ef | /Scilab/virtual_old/pid_controller/pid_filter_virtual.sci | b82d9d03bac774d3d6b542ef2d2aeb2104d6b931 | [] | no_license | rupakrokade/sbhs-manual | 26d6e458c5d6aaba858c3cb2d07ff646d90645ce | 5aad4829d5ba1cdf9cc62d72f794fab2b56dd786 | refs/heads/master | 2021-01-23T06:25:53.904684 | 2015-10-24T11:57:04 | 2015-10-24T11:57:04 | 5,258,478 | 0 | 0 | null | 2012-11-16T11:45:07 | 2012-08-01T11:36:17 | Scilab | UTF-8 | Scilab | false | false | 941 | sci | pid_filter_virtual.sci | mode(0);
//PI Controller using trapezoidal approximation.
//Heater input is passed as input argument to introduce control effort u(n)
//Fan input is passed as input argument which is kept at constant level
//Range of Fan input :20 to 252
//Temperature is read
function [stop] = pid_filter_virtual(setpoint,fan,K,... |
2347dcd2c24b6e081af7807e8fd7f27df979e2cc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1004/CH1/EX1.25/Ch01Ex25.sci | 738cd375c09cf0ed9cd10cb0c74169ef692a0c32 | [] | 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 | 925 | sci | Ch01Ex25.sci | // Scilab Code Ex1.25 Decay of muon: Pg: 31 (2008)
c = 3e+08; // Speed of light, m/s
v = 0.992*c; // Relativistic speed of muon, m/s
S = 60*1e+03; // Distance travelled by muon before it decays, m
t_prime = S/v; // Time measured by observer on earth (Dilated Time), s
t = t_prime*sqrt(1 - (v/c)^2); ... |
751f4b7b0df30b6aae37b5c84714597b2c5ec535 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH2/EX2.1/Example2_1.sce | 641f5335a7822e63652b8d910e6b926edacf2bf1 | [] | 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,155 | sce | Example2_1.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART I : GENERATION
// CHAPTER 2: THERMAL STATIONS
// EXAMPLE : 2.1 :
// Page number 25-26
clear ; clc ; close ; // Clear the work space and console
//Given data
M = 1... |
0be1ac89e4b68c4ae5ae9181bc9e2775ffb5ffc6 | 6a80aa5f62cfc2c1b93e4bb27545d2b94daa5bdb | /Assignment1/A1_1D_Conduction_Codes/A1_1D_Prob2.sce | 727f52efb4c4f74fdbf976f1569fb29aeada1a61 | [] | no_license | pulkitkatdare/CFD_assignment | ba6094efac2541722c842805c2145ef7d5c8cf70 | c8e599599f7bba38a1b564037df4b6b6fb5ddbdd | refs/heads/master | 2020-07-03T18:27:03.323182 | 2016-10-19T04:57:20 | 2016-10-19T04:57:20 | 67,068,495 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,831 | sce | A1_1D_Prob2.sce | clear
printf("\n*********************2D Heat Conduction***********\n");
//user input
rho = 7750.0; cp = 500.0; k = 16.2;
Lx=1.0; imax=12; jmax = imax;
T0 = 30; Twb = 100; Tsb = 200; Teb = 300; Tnb = 400;
Q_vol_gen=0; epsilon_st=0.0001;
alpha = k/(rho*cp);
DTc = Tnb - Twb; //maximum temperature difference
Dx = Lx/(im... |
6ffe04b235e84171881a899c010ef9c71fff6957 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3843/CH9/EX9.15/Ex9_15.sce | 9fde5451a9bee79e57a832fe02350a9baa80ebc4 | [] | 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 | Ex9_15.sce | // Example 9_15
clc;funcprot(0);
// Given data
T_2=-10+273;// K
T_4=30+273;// K
r=10;// The compression ratio
c_p=1.00// kJ/kg.K
k=1.4;// The specific heat ratio
// Calculation
T_3=T_2*(r)^((k-1)/k);// K
T_1=T_4*(1/r)^((k-1)/k);// K
T_1C=T_1-273;// The minimum cycle temperature in °C
q_in=c_p*(T_2-T_1);//... |
6d9cf5d4ebafc61687e15745fbf5718ce8a3660a | 1ebbdce5d3f3daa6d9e8b439410e447941bc49f5 | /résolution numérique/script2.sce | 94851cfcac1de6d891b6ff4dc8b0661a2cfe3579 | [] | no_license | sebastienbaur/legionella_proliferation_modeling | 2aff0e2499584e99c07116a700e43218976b9b12 | ae9b5d4dde1912a98584c6319eae41980355ef03 | refs/heads/master | 2020-03-07T15:25:49.881820 | 2018-03-31T17:27:52 | 2018-03-31T17:27:52 | 127,554,634 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 6,777 | sce | script2.sce | // -----------------------------------------------------------------------------
// VALEURS NUMERIQUES DES CONSTANTES DU PROBLEME
// -----------------------------------------------------------------------------
// constantes de Monod :
k_1 = 100*10^(-5) ; // constante de vitesse légionnelle-nutriment
k_2 = 2*10^(-4... |
d85e942d419dad345eb4cbd65607124a4295678f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2075/CH1/EX1.7/pe1_7.sce | 532397fe4f0ce87217072eea6b1d49f4a91670f3 | [] | 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 | 298 | sce | pe1_7.sce | //example 1.7
clc; funcprot(0);
// Initialization of Variable
Vs=18;//V
Rl=8;//load resistance
Pll=100;//power
//calculation
Vlp=Vs-4;
Vlr=Vlp/(2^.5);
disp(Vlr,"rms voltage in V:")
Pl=(Vlr^2)/Rl;
disp(Pl,"power delivered in W:")
Vl=(Pll*Rl)^.5;
disp(Vl,"load voltage in V:")
clear()
|
5f94e63c57fa02ec7c293c4544828f9b5c444566 | 449d555969bfd7befe906877abab098c6e63a0e8 | /929/CH11/EX11.4/Example11_4.sce | 40f332c5a10cbf689996ad76abda79946c965044 | [] | 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 | Example11_4.sce | //Example 11.4
clear;
clc;
a=2*10^5;
zo=75;
R1=39*10^3;
R2=24*10^3;
R3=3.3*10^3;
Vo=10;
VImin=12;
VImax=36;
b=R1/(R1+R2);
loadr=-zo/(1+(a*b));
PSRR=33333.333;
CMRRdB=90;
CMRR=10^(CMRRdB/20);
liner=(1+(R2/R1))*((1/PSRR)+(0.5/CMRR));
printf("Line Regulation=%.1f ppm/V",l... |
c04dd1255b82c03e27fef1f4843566917fdafbb9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /536/CH9/EX9.10/Example_9_10.sce | a88f68a00c6a8fd103b12da3cf62593efd8fa384 | [] | 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 | 848 | sce | Example_9_10.sce | clc;
clear;
printf("\n Example 9.10\n");
G=15;//Mass flow rate of benzene
d_s=1; //Internal diameter of Heat Exchanger
l=5; //Length of tubes
od=19e-3; //Outer diameter of tubes
C=6e-3; //Clearance
l_b=0.25; //Baffle spacing
Meu=.5e-3;
Y=25e-3; //dimension of square pitch
N=19; //no. of Baffles
As=d_s... |
d38d0398a164d6df96ee1d4571536f522fc2ab6b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH6/EX6.10/example_6_10.sce | 487695b1f4c32e5172380c04cf2e502d92f7b9fb | [] | 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,126 | sce | example_6_10.sce | clear;
clc;
disp("--------------Example 6.10---------------")
cps=250; // characters per second
unit=8; // 1 unit = 1 character = 8 bits
n=4; //number of sources
sb=1; // 1 synchronization bit
//a)the data rate of each source
data_rate_source=cps*unit;
printf("a)The data rate of each source is %d kps.\n",data_... |
06c55fdbf4cb0891738628b195c3047137291d9e | 67310b5d7500649b9d53cf62226ec2d23468413c | /tags/archive/TestCaseGenerator-Plugin-OpeningSequenceCoverage/trunk/tests/large-system-tests/inputs/RadioButton/ground_truth/OpeningSequenceCoverage/length-1/max-150/t19.tst | 0c2da0931c70a078707301146e60c0f37ee7b9db | [] | no_license | csnowleopard/guitar | e09cb77b2fe8b7e38d471be99b79eb7a66a5eb02 | 1fa5243fcf4de80286d26057db142b5b2357f614 | refs/heads/master | 2021-01-19T07:53:57.863136 | 2013-06-06T15:26:25 | 2013-06-06T15:26:25 | 10,353,457 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 661 | tst | t19.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TestCase>
<Step>
<EventId>e16</EventId>
<ReachingStep>false</ReachingStep>
</Step>
<Step>
<EventId>e68</EventId>
<ReachingStep>false</ReachingStep>
</Step>
<Step>
<EventId>e45</EventId>
<Reaching... |
23f6daa96aa7b81b9a1b0d24e4169e57e8169f19 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2087/CH4/EX4.4/example4_4.sce | 387839e40c2fc4395c45fdd7704081e97ff89a94 | [] | 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 | 538 | sce | example4_4.sce |
//example 4.4
//calculate precipitation at A by inverse distance method
clc;funcprot(0);
//given
pB=74; //precipitation at B
pC=88; //precpitation at C
pD=71; //precipitation at D
pE=80; //precipitation at E
Bx=9;By=6;
Cx=12;Cy=-9;
Dx=-11;Dy=-6;
Ex=-7;Ey=7;
Ax=0;Ay=0;
Db... |
935cba5ff425ed04c38371ccafb89f8aa318a61f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3683/CH5/EX5.8/Ex5_8.sce | 36fecaed66b2389d30db5ce7bda172724d308f20 | [] | 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,395 | sce | Ex5_8.sce | P=850//in kN
sigma_cc=4//in MPa
m=18.66//modular ratio
sigma_sc=130//in MPa
Lef=5*1.001//effective length, in m
//assume 1% steel
Ag=P*10^3/(sigma_cc*0.99+sigma_sc*0.01)//in sq mm
l=sqrt(Ag)//in mm
l=400//approximately, in mm
a=Lef*1000/l
//as a>12, it is a long column
//Method I-section to be changed
b=Lef... |
ef0a1d5b4348b6fa8297e9316de3043177349e10 | a29c13fa4c58d566270fb640a4d1f184f92c1223 | /02_Software/02_Control_Design/04_Control_basic_dimensioning/Rotor_vs_Gener_Torque_Voltage_DCDC_4P1_refTurb_v3.sce | 5e9aac3effa6a69b87ff2e9d693b0c9ca2f20530 | [] | no_license | li-bre/li-bre-wind | e15bc80f955d02731fe6e7eb255f24478a2395ae | d65584798c48461484e3a3531797612e3ba18c32 | refs/heads/master | 2022-02-28T15:32:22.893410 | 2022-02-08T15:54:47 | 2022-02-08T15:54:47 | 232,623,593 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,638 | sce | Rotor_vs_Gener_Torque_Voltage_DCDC_4P1_refTurb_v3.sce | // Rotor vs. Generator Power
clear
close
scf(0); clf();
//
v1=3:10;
//n_Rotor=[84.034 112.045 140.056 168.068 196.079 224.090 252.101 280.113];
//P_Rotor=[0.008 0.022 0.049 0.089 0.143 0.214 0.303 0.409] * 1000;
n_Rotor=[84.034 112.045 140.056 168.068 196.079 224.090];
P_Rotor=[0.008 0.022 0.049 0.089 0.143 0.214] * 10... |
ffaa4cf6b4cf979aaeae0c9d99f448ca1d53a67e | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4.1/macros/percent/%s_l_r.sci | f3cace365b9421910b244a9749a934b42157e20a | [
"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 | 517 | sci | %s_l_r.sci | function b=%s_l_r(a,b)
// a\b a scalar matrix, b rational matrix
//!
// Copyright INRIA
if size(a,'*')==0 then b=[],return,end
[num,den]=b(2:3);
[mb,nb]=size(num);mb=abs(mb);nb=abs(nb);
[ma,na]=size(a);na=abs(na);ma=abs(ma);
if ma==1&na==1 then
b(2)=a\b(2),
return,
end
if mb==1 then
num=a\num
den=ones(na,ma)... |
26ed2b112c69efe9e275435a53ac3f7b75d1ba00 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1205/CH3/EX3.1/S_3_1.sce | 3991497ce4d398a796f1e836113cd21bac8a3892 | [] | 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,618 | sce | S_3_1.sce | clc;
// Given data
F=500; // N , Vertical force applied to end of lever
theta=60;// degree, angle made by lever with +ve X axis
theta=theta*%pi/180;// Conversion of angle into radian
l=600; // mm , length of lever
// a ) Momemt about O
d=l*cos(theta);// mm ,perpendicular distance from o to the line of action
... |
6791213fd83b15a0c58289f49375e3acf9a17fb7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /896/CH2/EX2.16/16.sce | 14481525a735ff342902bce24ce48e3d58c978e3 | [] | 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 | 324 | sce | 16.sce | clc
//calc pressure diff at the mouth of the fire place
g=32.2;//ft/s^2
h=20;//ft (height of fireplace)
rho_air=0.075;//lbm/ft^3
T_air=293;//K (surrounding temperature)
T_fluegas=422;//K
p_diff=g*h*(rho_air)*[1-(T_air/T_fluegas)]/32.2/144;//lbf/in^2
disp("The pressure difference is")
disp(p_diff)
disp("lbf/in... |
b76f887afff09dc2ce48a40f32c94bd140b96655 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2582/CH6/EX6.5/Ex6_5.sce | 3d6f765ac7b9ea210aec08969b8d24a0df0af99d | [] | 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 | 290 | sce | Ex6_5.sce | //Ex 6.5
clc;clear;close;
n=8;//no. of bits
Res=20;//mV/bit(Resolution)
reading='00010110';//input in binary
Vo=Res*bin2dec(reading);//V
disp(Vo/1000,"(a) Output Voltage(V)");
reading='10000000';//input in binary
Vo=Res*bin2dec(reading);//V
disp(Vo/1000,"(b) Output Voltage(V)");
|
92b6194db56d55f9de84e1b4d9417b0c8dc7c3a4 | 25040eb5cf02d8e85c69979b9910a21bb054300a | /UNIT-4/gram-schmidt.sce | f1b04aff421dc448fa9712b532d0b2a0bee6cd47 | [] | no_license | sneha1999-bm/scilab-assignment | e52795c182c07052667a3a01024e5ce98942b1a2 | a7f1f64257f0da01e120bf04fe953cfbe5f4f0d8 | refs/heads/master | 2021-01-02T19:22:23.851397 | 2020-06-05T09:48:35 | 2020-06-05T09:48:35 | 239,763,271 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 541 | sce | gram-schmidt.sce | A=input("enter the maxtrix ")
a11=input("Enter a11: ");
a12=input("Enter a12: ");
a13=input("Enter a13: ");
a21=input("Enter a21: ");
a22=input("Enter a22: ");
a23=input("Enter a23: ");
a31=input("Enter a31: ");
a32=input("Enter a32: ");
a33=input("Enter a33: ");
A=[a11,a12,a13;a21,a22,a23;a31,a32,a33];
dis... |
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(... |
16d3032b853a936deae5327f85aef80e42490e87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH2/EX2.25/2_25.sce | e460c6b42622493ceb0b2be222c531e178aec9ef | [] | 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 | 371 | sce | 2_25.sce | //Network Theorem 1
//page no-2.30
//example2.25
disp("Applying KCL to node 1:");
disp("8*VA-2*VB = 50");....//equation 1
disp("Applying KCL to node 2:");
disp("-3*VA+9*VB = 85");...//equation 2
disp("Solving equations 1 and 2");...//solving equations in matrix form
A=[8 -2;-3 9];
B=[50 85]'
X=inv(A)*B;
disp... |
4e959c1cd97e01edab0a2f4a64f2711d33c249a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1223/CH1/EX1.2/Ex1_2.sce | 9b5f48f556a89e1a5c3ce00eb6fc249a06ed9a60 | [] | 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 | Ex1_2.sce | clear;
clc;
//Example 1.2
T=300;//(°K)Given Temperature
Nd=10^16;//(cm^-3)Donor concentration
n_i=1.5*10^10;//(cm^-3)intrinsic carrier concentration
//since Nd>>n_i
n_o=10^16;//(cm^-3)electron concentration
//by using formula ::n_i^2=n_o*p_o
p_o=(n_i)^2/Nd;//hole concentration
printf('\nelectron concentratio... |
0b80b76ec97a1b4fa89afac60c3ba6833b2a3c06 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2096/CH12/EX12.6/ex_12_6.sce | 7f9dbcd392154e53a20760f8a481a2f1758f8ca4 | [] | 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 | 374 | sce | ex_12_6.sce |
//Example 12.6 // difference
clc;
clear;
close;
//given data :
Q=0.015; // in m^3/s
D0=0.1; // in m
D1=0.2; // in m
Cc=0.6;
Cd=0.6;
g=9.81;
AO=((%pi/4)*D0^2);//in m^2
A1=((%pi/4)*D1^2);//in m^2
K=Cd/sqrt(1-(Cc*(AO/A1))^2);
S=sqrt((2*g)/(g*1000));
DP=((Q/(K*AO*S)))^2;//
disp("difference in thr pressure head is "+stri... |
05032fb1e31a6cf5e34ea6dd1f4822a66e0943bb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH5/EX5.31/ex5_31.sce | b4a1862eca0777b7ff8c394491c0079365b484b8 | [] | 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 | ex5_31.sce | // Exa 5.31
clc;
clear;
close;
format('v',6)
// Given data
L = 100;// in µH
L = L * 10^-6;// in H
A=10;
C1 = 0.001;// in µF
C1 = C1 * 10^-6;// in F
C2 = 0.01;// in µF
C2 = C2 * 10^-6;// in F
C = (C1*C2)/(C1+C2);// in F
f = 1/(2*%pi*sqrt( L*C ));// in Hz
f = round(f * 10^-3);// in kHz
disp(f,"The operati... |
48f7a0505dea2e2ed90326a4554a45490d8da29c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1280/CH8/EX8.2/8_2.sce | 3b52dd062846e7e801bb0a90ccc0a54164374755 | [] | 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 | 262 | sce | 8_2.sce | clc
//Initialization ogf variables
Q=25 //gpm
A=.533 //in^2
//Calculations
nu=Q*19.25/(A*60) //Fluid velocity
nucylinder=Q*19.25/12.56 //Cylinder velocity
//Results
printf ('Fluid velocity = %.2f',nu)
printf ('\n Cylinder velocity = %.2f',nucylinder)
|
bb0bc096989e02ab99939b58bddafa8b10366620 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3537/CH1/EX1.5/Ex1_5.sce | 80c9118aeb5d0f607e1b84bdae9c4fc4e87f97ee | [] | 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 | 204 | sce | Ex1_5.sce | //Example 1_5
clc;
clear;
//To Calculate the amplitude ratio of the sources
Imax=9
Imin=1
Imax_Imin=Imax/Imin
amax_amin=sqrt(Imax_Imin)
a1_a2=amax_amin-1
printf("the ratio of amplitudes %d/%d",a1_a2,1) |
c3460bb88e6f788d4ed74cc5ca9ac1df960f2c3a | d52d3664d9650ed9473dfaa3c4b379f05ef9fa78 | /update_dv_sr_lspv/create_2ndfl_corr.tst | ca6b74226ba6a0225a601df5cbedf4b7e7eb9fcc | [] | no_license | ZVlad1980/excel_api | 7b517bf68b677f8e947cba8794ae557e48c9ce06 | b514dbea9cb619e0e73c67b2e8fec4a59301101a | refs/heads/master | 2020-04-04T01:51:22.004466 | 2018-10-02T05:52:04 | 2018-10-02T05:52:04 | 155,679,735 | 0 | 0 | null | null | null | null | WINDOWS-1251 | Scilab | false | false | 1,235 | tst | create_2ndfl_corr.tst | PL/SQL Developer Test script 3.0
47
-- Created on 04.11.2017 by V.ZHURAVOV
declare
-- Local variables here
l_ref_row f2ndfl_arh_spravki%rowtype;
l_list sys.odcinumberlist :=
sys.odcinumberlist(
/*
2887905,
2975008,
3082295,
3066320,
3043441
*/
1104149, --arh от... |
5d088f1bbdc53c1a3e7abea8833308f82d24adf5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH5/EX5.1/Chapter5_Example1.sce | 8c8808f45b1bd6a97b868b3a78830f2070a7c612 | [] | 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 | Chapter5_Example1.sce | clc
clear
//Input data
v=480;//The velocity of a lead bullet in m/s
Sp=0.03;//Specific heat of lead cal/g-K
//Calculations
m=10;//Let us assume the mass of bullet in gms
V=v*100;//The velocity of the bullet in cm/s
W=(1/2)*m*(V^2);//The work done in ergs
J=4.2*10^7;//The mechanical equivalent of heat ... |
b544061d0211f2aa627b02bec4c65303c4235d39 | b5edeebe05a1c202431da00e95371261c6b7e3a6 | /templates/component.tst | ee98a85dba0d84a7006ace0c803e1a3e79cc0337 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | nouei/devextreme-angular2 | 7db29024a9d1b1ba20b1ec35c73bc857c70df334 | e27c3c8925424e7f66c3f24cfa725e7922b69303 | refs/heads/master | 2021-01-17T17:18:02.956531 | 2016-08-26T13:07:12 | 2016-08-26T13:07:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,506 | tst | component.tst | <#? it.isEditor #>
/* tslint:disable:directive-selector-name */
/* tslint:disable:directive-selector-type */
<#?#>
import {
Component,
ElementRef,
EventEmitter,
NgZone,
provide,
Input,
Output<#? it.isEditor #>,
Directive,
Provider,
forwardRef,
HostListener
<#?#>
} from '@ang... |
0994bf14e571f4344e2ea38a877bbcf0fc85a0e2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2409/CH13/EX13.2/Ex13_2.sce | d347d13b37431af6e63ea93e849efbd54f942f8e | [] | 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 | 381 | sce | Ex13_2.sce |
//Variable Decalration
PA=24 //Transmit power by station A(dBW)
G1=54 //Antenna Gain(dB)
PC=30 //Transmit power by station C(dBW)
G2=24.47//off-axis gain in the S1 direction(dB)
PD=4 //Polarization discrimination(dB)
//Calculation
CIR=PA-PC+G1-G2+PD //Carrier to Interference ratio(dB)
//Result
printf(... |
bea81c5f2f7ef39df685b281dc26f1aba076f550 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1913/CH1/EX1.21/ex21.sce | 8ec73f993c0003489a2d8fe3bb10e5659e543f32 | [] | 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 | 657 | sce | ex21.sce | clc
clear
//Input data
d=13596;//Density of Hg in kg/m^3
g=9.806;//Gravity in m/sec^2
df=0.8*1000;//Density of fluid in kg/m^3
Z=0.76;//Atmospheric pressure in m of Hg
Zf=0.3;//Height of fluid coloumn in m
//Calculations
Pa=d*g*Z;//Atmospheric perssure in N/m^2
P=df*g*Zf;//Pressure due to fluid in N/m^2
Pa... |
e7f01a1f586e55686f293994b0d9889073419b91 | 449d555969bfd7befe906877abab098c6e63a0e8 | /866/CH5/EX5.5/5_5.sce | ec6568352eee6026a4536c42ca15b17a5039d145 | [] | 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 | 5_5.sce | clc
//initialisation of variables
w= 120 //KN
D= 30 //m
L= 300 //m
sigmamax= 600 //N/mm^2
h= 50 //m
beta= 45 //degrees
//CALCULATIONS
Tmax= ((w*L)/2)*(sqrt(1+(L/(4*D))^2))
d= sqrt((4*Tmax*10^3)/(sigmamax*%pi))
H= (w*L^2)/(8*D)
alpha= atand((w*L)/(2*H))
Mt= Tmax*(cosd(alpha)-cosd(beta))*h
Vt= Tmax*(sind(a... |
a0d4a37fa0c5fda927fbbc23a33ec218386f0dfd | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH7/EX7.11/ex7_11.sce | 7957f8565390828a22c373612e749a2c8df39b58 | [] | 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 | 365 | sce | ex7_11.sce | // Exa 7.11
clc;
clear;
close;
format('v',6)
// Given data
I_DSS = 8.4;// in mA
V_P = -3;// in V
V_GS = -1.5;// in V
// The value of I_D,
I_D = I_DSS*((1-(V_GS/V_P))^2);// in mA
disp(I_D,"The value of I_D in mA is");
g_mo = (-2*I_DSS)/V_P;// in mA/V
// The value of g_m
g_m = g_mo*(1-(V_GS/V_P));// in mA/... |
b4603e8c9a70461f3bc56033b761367e062bc613 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3685/CH5/EX5.5/Ex5_5.sce | d5281e1429b51f4fdfcf350c8482f9fae3898973 | [] | 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,014 | sce | Ex5_5.sce | clc
t1 = 15 // Heat exchanger inlet temperature in degree Celsius
t2 = 800 // Heat exchanger exit temperature in degree Celsius
t3 = 650 // Turbine exit temperature in degree Celsius
t4 = 500 // Nozzle exit temperature in degree Celsius
v1 = 30 // Velocity of steam at heat exchanger inlet in m/s
v2 = 30// Velocit... |
d78c0db081aa52e6500fc554d177c2102d668d1a | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH1/EX1.09/1_09.sce | edb259d3080a30973fa7d3216967eccbdb10a612 | [] | 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 | 732 | sce | 1_09.sce | //pathname=get_absolute_file_path('1.09.sce')
//filename=pathname+filesep()+'1.09-data.sci'
//exec(filename)
//Height of water column in limb AB(in m):
Hab=2*10^-2
//Height of mercury column in limb CD(in m):
Hcd=10*10^-2
//Barometer reading for atmospheric pressure(in m):
h=76*10^-2
//Density of mercury(in kg... |
ba4858eb52cf914dbf00227532fedd185acd3371 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3769/CH9/EX9.40/Ex9_40.sce | 475c174756f685f80c05162cb38f793acbea0588 | [] | 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 | Ex9_40.sce | clear
//Given
R1=400 //ohm
R2=800.0
R3=10
V=6
R11=10000.0
R22=400
//Calculation
Rt=R1+R2+R3
I=V/Rt
Rp=(R11*R22)/(R11+R22)
R=Rp+800
I1=V/R
Vab=I1*Rp
//Result
printf("\n Hence the voltmeter will read %0.2f V",Vab)
|
c945a7dc28d2cf19247540fe84c902600454c80b | 449d555969bfd7befe906877abab098c6e63a0e8 | /172/CH12/EX12.3/ex3.sce | 34e28fddbb205c8c0de135d4e237f595eb36a932 | [] | 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 | 279 | sce | ex3.sce | //ques3
//efficiency of the cycle
clc
clear
wnet=395.2;//kJ/kg from example no 1
//Tx=T4
Tx=710.8;//K from example no 1
T3=1373.2;//K from example no 1
Cp=1.004;//specific heat in kJ/kg
qh=Cp*(T3-Tx);
nth=wnet/qh;
printf('Thermal efficiency = %.1f percent',nth*100); |
77933577a3b0ec9e2bd8618d05fe264ead3caf6f | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/RV12.prev.tst | 9ffc80893930470173be303e1f07184b88260785 | [
"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 | 151 | tst | RV12.prev.tst | [1/4,1/2,11/90,-2/15] / [1/2,1/3,-1/5] = divide: quot[1] = 2/3, remd = [1/4,1/6,-1/10]
divide: quot[0] = 1/2, remd = [0]
[1/2,2/3], remainder = [0]
|
3c531ade41db89582c1cc03264d068b45b0493b6 | 491f29501fa7d484a5860f64aef3fa89fb18ca3d | /examples/electronics/IdealSwitch/computeHandG.sce | 6f6b8f3eeab8059034631e8df805d67ded581bd6 | [
"Apache-2.0"
] | permissive | siconos/siconos-tutorials | e7e6ffbaaea49add49eddd317c46760393e3ef9a | 0472c74e27090c76361d0b59283625ea88f80f4b | refs/heads/master | 2023-06-10T16:43:13.060120 | 2023-06-01T07:21:25 | 2023-06-01T07:21:25 | 152,255,663 | 7 | 2 | Apache-2.0 | 2021-04-08T12:00:39 | 2018-10-09T13:26:39 | Jupyter Notebook | UTF-8 | Scilab | false | false | 289 | sce | computeHandG.sce | h_alpha=[L_alpha(5)-st;
X_alpha-L_alpha(4);
L_alpha(3)-20+L_alpha(1)*(L_alpha(7)+R1);
L_alpha(3)+L_alpha(2)*(L_alpha(9)+R1);
X_alpha-L_alpha(1)-L_alpha(2);
R2-L_alpha(7)-R1;
L_alpha(5)-L_alpha(4)+L_alpha(6);
R2-L_alpha(9)-R1;
-L_alpha(3)+L_alpha(8)];
g_alpha = (L_alpha(3)-L_alpha(4))/sL; |
dfc2646e86692ee2c812fff5f92025d97904b83c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2561/CH11/EX11.4/Ex11_4.sce | 3037cd78b75d50b4d2cf392c0ce1154b77e73a8b | [] | 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 | 356 | sce | Ex11_4.sce | //Ex11_4
clc
tphL=40*10^(-9)
disp("tphL= "+string(tphL)+" seconds") // Time taken from Clear to output
n=3
disp("n= "+string(n))// Number of bits in counter i.e no. of flip-flops used
fmax=1/(n*tphL) // Using formulae fmax<= 1/(n*tphL)
disp("fmax=1/(n*tphL) = "+string(fmax)+" Hz")// Maximum counting rate at whic... |
8d909530748ad4fb0c48ba42a2f110421300d798 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH1/EX1.14/EX1_14.sce | 19b9d60bb6eb70a3810a2b47c82bbe06c2b2faa5 | [] | 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 | 554 | sce | EX1_14.sce | //EXAMPLE 1-14 PG NO-22
R1=4; //Resistance
R2=2; //Resistance
R3=8; //Resistance
RS=R1+R2; //resistance When Point A&B is short circuit
disp('i)resistance Wh... |
8e05b7fd596080c8ddf1e5699b42728415446d13 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1553/CH30/EX30.7/30Ex7.sce | f1da7ab6cafd79831a3a7afc3b887cfdbe43fbcc | [] | 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 | 348 | sce | 30Ex7.sce | //Chapter 30 Ex7
clc;
clear;
close;
S={'D','I','R','E','C','T','O','R'};
sizeS=size(S,"c");
n=6;
r=2; //since R occurs twice
noWays=factorial(n)/factorial(r);
Vowels=3;
noWaysVowels=factorial(Vowels); //no of ways in which vowels can be arranged
reqWays=noWaysVowels*noWays;
mprintf("The required number o... |
6c8e8119d1bb481b353f349fc506a32b3176d114 | e86653ab56eded6714574f9f8f34013272027113 | /181/CH5/EX5.4/example5_4.sce | 006f30a4e6064c13dc0a1ed7c677a953f7ddab78 | [] | no_license | FOSSEE/Xcos_TBC_Uploads | 3637554f9dca20d0c5ec2c5d00d30942edafe09a | 37e81552cb6d9066617ba91b13c91098e5ab6758 | refs/heads/master | 2023-03-30T10:45:38.033053 | 2021-03-15T05:40:35 | 2021-03-17T09:45:20 | 346,244,418 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,227 | sce | example5_4.sce | // To establish Operating Point & Stability Factor
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 5-4 in page 238
clear; clc; close;
// Given Data
beta_bjt=50; // Beta Gain of the BJT circuit
Vbe=0.7; // Base-Emitter voltage of BJT in V
Vcc=22.5; // DC v... |
48798e1b5193bcea0f945f3801b2721ee09987da | 449d555969bfd7befe906877abab098c6e63a0e8 | /2732/CH2/EX2.5/Ex2_5.sce | cef88f7be49ac2e942761311bcc082ec3149d641 | [] | 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 | 300 | sce | Ex2_5.sce | clc
// initialization of variables
clear
sigma_1=100 //kg*f/cm^2
sigma_2=100 //kg*f/cm^2
sigma_3=-200 //kg*f/cm^2
// calculations
tau_oct=1/3*sqrt((sigma_1-sigma_2)^2+(sigma_2-sigma_3)^2+(sigma_3-sigma_1)^2)
// Results
printf('Octahedra shear stress at the point is=%.1f kgf/cm^2',tau_oct)
|
4598e26e601cf3a85aba52f36d1d5d2783dabff7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2126/CH3/EX3.4/4.sce | 3d453ff2fb235814dbe1e868c3afb6defd6a0613 | [] | 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,605 | sce | 4.sce | clc
clear
//input data
C1=235 //Velocity at entrance in m/s
P1=13 //Static Pressure at entry in bar
P2=10 //Static Pressure at a point in duct in bar
T1=543 //Static temperature at entry in Kelvin
D=0.15 //inner duct diameter in m
f=0.005 //frictional factor
k=1.4 //Adiabatic constant
R=287 //Gas constant i... |
55c9116ded5bcb3972259a5a840446c97ac56083 | 337f9a673603d008cbd1b3cef9500ae806fef452 | /ruidos/Aula_02_Ex8Uniforme.sce | 5056ea452cf3aa48801a4ec50e66d5b4a20f01fd | [] | no_license | Gervaes/PDI | 6608e3ce8dcde1373512429039e3e51de32de2d1 | 912a9f1b6e40facdbef75d8c298a52127f5403e7 | refs/heads/master | 2021-04-12T04:31:13.241166 | 2018-06-21T14:01:39 | 2018-06-21T14:01:39 | 125,973,311 | 0 | 2 | null | 2018-03-29T19:52:56 | 2018-03-20T06:48:59 | Scilab | UTF-8 | Scilab | false | false | 2,051 | sce | Aula_02_Ex8Uniforme.sce | //Lendo imagens
a = imread('a.jpg');
b = imread('b.jpg');
c = imread('c.jpg');
d = imread('d.jpg');
e = imread('e.jpg');
//Transformando imagem pra matriz de double
a=im2double(a);
b=im2double(b);
c=im2double(c);
d=im2double(d);
e=im2double(e);
a=matrix(a(:), size(a));
b=matrix(b(:), size(b));
c=matrix(c(:), size(c))... |
6eca20c75566740a2584d8b653bcc8e646961d1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH1/EX1.4.2/Ch1Exa1_4_2.sci | 82cb26349c91b5668762d8ebc92c4a4e8aa7d0bf | [] | 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 | 584 | sci | Ch1Exa1_4_2.sci | // Scilab code Exa1.4.2 : Estimation of the Nucleus type from its radius : Page 33 (2011)
r = 3.46e-015; // Radius of the nucleus, m
r0 = 1.2e-015; // Distance of closest approach of the nucleus, m
A = round((r/r0)^3); // Mass number of the nucleus
if A == 23 then
element = "Na";
elseif A == 24 then
elemen... |
7e34bfa95602460d6882006a4ab088f1e871ca47 | 31e4840b6243736b6c4603f5712ce9b7b666dc68 | /321A/labs/exp11/src.sce | d5f6c7ba0b46226d921e56dadf8ea9e58a3ba75f | [] | no_license | austinbeauch/thirdyearphys | ca1d64b0a19b36ba3ce2a20021a939dfae6ae32f | 71b4eb77ff4e323c3df2aef42fb9f6a83265ba3d | refs/heads/master | 2020-07-22T02:47:37.732073 | 2019-12-04T05:44:24 | 2019-12-04T05:44:24 | 207,051,918 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 754 | sce | src.sce | gcf().background = 1;
n=150;
t=(0:0.1:n);
s=sin(t);
c=cos(t);
figure(1);
plot(t, s)
xlabel("t")
ylabel("sin(t)")
xtitle("Resitricted Sin Graph")
figure(2);
plot3d3(t, s, c)
xlabel("t")
ylabel("sin(t)")
xtitle("3D sine/cosine plot");
figure(3)
plot(t, sin(t) .* exp(-t/10))
xlabel("t")
ylabel("sin(t) .* exp(-t/10)")
x... |
afdd67bffc359bb30d9fc0b63c972b1d30c742d3 | b2675f983fedb79e5e6f1940962373bda0570ec4 | /Bank v5/Tests/easy-techm.tst | 520565af0e6685320fcff12135fdb80e0a69445a | [] | no_license | Meena92/Projects | b854c40b91515bb429c9e13fb0cbc95c03e0a9d6 | 06361e24bf51883ff4140db5c37c3f40836a5752 | refs/heads/master | 2020-03-29T01:45:03.726432 | 2019-06-11T05:26:08 | 2019-06-11T05:26:08 | 149,404,524 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 10,120 | tst | easy-techm.tst | <?xml version="1.0" ?>
<TestCase name="easy-techm" version="5">
<meta>
<create version="10.0.0" buildNumber="10.0.0.431" author="admin" date="11/22/2017" host="inbasdpc10722" />
<lastEdited version="10.0.0" buildNumber="10.0.0.431" author="admin" date="11/22/2017" host="inbasdpc10722" />
</meta>
<id>4FF4DA7BCF... |
4bbcb44190ac2704eadfa8335f2227c442ef5d38 | 449d555969bfd7befe906877abab098c6e63a0e8 | /45/CH10/EX10.5/example_10_5.sce | 43a79cc5d341f2389618a7180550bab0503e2ac9 | [] | 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 | 96 | sce | example_10_5.sce | //example 10.5
clc;
clear;
printf('The correct expression is : (count-up clock)''(Qa)(Qb)(Qc)'); |
496008dd608a423bf467cc8f8ab051558341c6be | 5f48beee3dc825617c83ba20a7c82c544061af65 | /tests/s/18.tst | 33b4f37d6a203029151fa103c12ded44d2493dae | [] | 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 | WINDOWS-1251 | Scilab | false | false | 34 | tst | 18.tst | int main() /* ошибка */
{
} |
0aa941a6460f5e5e66a546ede744576404c81253 | 98a32c1c1584a5cab1581cf73464b2559cb54d20 | /SciLabInterface/LoadParODELibrary.sci | 80a111a511378eaf27ccc112b0c52e94e4b997af | [] | no_license | apatriciu/ParODE | ecdb3144912069d20ef79d6031a04c3c7e7e6563 | 55520212b7b16a915962b0e6680bb38d6bd9f472 | refs/heads/master | 2020-05-20T03:09:10.377853 | 2014-02-26T15:59:39 | 2014-02-26T15:59:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 816 | sci | LoadParODELibrary.sci | function ParODELibIndex = LoadParODELibrary(strPathParODELibrary)
// load the ParODE shared library
fullLibName = strPathParODELibrary + 'libParODEShared.so';
functionEntries = ['GetErrorDescription', ...
'InitializeAllGPUs', ...
'GetAvailableGPUs', ...
... |
3bf3a2e6660bfd0d75953fe9c82cb9ddb7a2668b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1631/CH4/EX4.2.i/Ex4_2i.sce | 86f4adddd56130fb6a524c312f689c72011e6090 | [] | 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 | 264 | sce | Ex4_2i.sce | //Caption:code word length
//Example 4.2.i
//page no 167
//find code word length
clc;
clear;
//Given data
bandwidth=4.2*10^6;
fm=bandwidth;
q=512// Quantization levels
//q=2^v
v=log10(512)/log10(2);
disp(v,"The code word legth is ");
disp("bits");
|
c91727eff0ce63ff6230c2eb30bbd0f60db89285 | e41b69b268c20a65548c08829feabfdd3a404a12 | /3DCosmos/Data/Scripts/Mathematics/Polyhedron.SCI | 663bf52b847b809c25f4e9f50233861782c04453 | [
"LicenseRef-scancode-khronos",
"MIT"
] | permissive | pvaut/Z-Flux | 870e254bf340047ed2a52d888bc6f5e09357a8a0 | 096d53d45237fb22f58304b82b1a90659ae7f6af | refs/heads/master | 2023-06-28T08:24:56.526409 | 2023-03-01T12:44:08 | 2023-03-01T12:44:08 | 7,296,248 | 1 | 1 | null | 2023-06-13T13:04:58 | 2012-12-23T15:40:26 | C | UTF-8 | Scilab | false | false | 1,836 | sci | Polyhedron.SCI | codeblock readtextfile(ScriptDir+"\_TOOLS.sci");
points=list;idx=list;
points.add(vecnorm(vector(1,0,0))); idx.add(0);
points.add(vecnorm(vector(0,1,0))); idx.add(0);
points.add(vecnorm(vector(0,0,1))); idx.add(0);
points.add(vecnorm(vector(-1,0,0))); idx.add(0);
points.add(vecnorm(vector(0,-1,0))); idx.add(0);
point... |
0fafeeddd826db228c04b8b2eccb526ae72e3e76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH11/EX11.10/Ex11_10.sce | d5d94e96118f90831f6e9e95b56f4ec0803022f7 | [] | 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 | 596 | sce | Ex11_10.sce | //Ex11_10
clc
VCC = 18//collector voltage
Vp = 15//output peak voltage
RL = 12//load resistnce
disp("VCC = "+string(VCC)+"V")
disp("Vp = "+string(Vp)+"V")
disp("RL = "+string(RL)+"ohm")
Ip = Vp/RL//output peak current
Idc = (2/%pi)*Ip//input direct current
disp("Ip = Vp/RL = "+string(Ip)+"A")
disp("Idc = (2/... |
41c6d902059da471f807bcd9bde2c666ee362a7e | e3c27edbd2f0a8e733cee84b90a906c0a6d7c176 | /sem_3/c/olimp/template.tst | 0a619c69c1d62450ef2509868ee33e47a9a65c0e | [] | no_license | dmitryhd/dmitryhd_code | c32223da5506156a068bbb0f20ad4cd06fdf2166 | 5173f6f74d4fa1c9c5fba9ffc4fc9134c56f4b0c | refs/heads/master | 2021-01-17T11:56:50.221745 | 2011-04-26T18:31:58 | 2011-04-26T18:31:58 | 1,650,576 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 14 | tst | template.tst | 3 4
1 100 34
|
b9aab55732334b69341445f3416f18452228ed83 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1730/CH5/EX5.3/Exa5_3.sce | 65cb90c9d68dd928612be17497c8368162b57f1a | [] | 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 | 784 | sce | Exa5_3.sce | //Exa 5.3
clc;
clear;
close;
format('v', 11)
// given data
nita=628;// in J/m^3
B_max=1.3;// in Wb/m^2
f=25;// in Hz
ironMass=50;// in kg
densityOfIron=7.8*10^3;// in kg/m^3
V=ironMass/densityOfIron;
x=12.5;// in AT/m
y=0.1;// in T
// formula Hysteresis loss/second = nita*B_max^1.6*f*V
H_Loss_per_second ... |
18c9e963ac75b3ec44ca4b2f2888776a8feb31d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/CH13/EX13.8/lqg_as1.sce | 438669db947e91af8a7904814f59bd09a1d5c0d7 | [] | 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 | 830 | sce | lqg_as1.sce | // LQG control design for the problem discussed in Example 13.6 on page 474.
// 13.8
// Solves Example 3.1 of Ahlen and Sternad in Hunt's book
exec('lqg1.sci',-1);
exec('specfac.sci',-1);
exec('flip.sci',-1);
exec('polmul.sci',-1);
exec('polsize.sci',-1);
exec('poladd.sci',-1);
exec('polyno.sci',-1);
exec('... |
facfa4be938e956ff49ee59a81a9393cbcf61c40 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1019/CH6/EX6.10/Example_6_10.sce | 88fd3e22af3da1323e76a69b7c38b6ecbaf48f4c | [] | 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 | 791 | sce | Example_6_10.sce | //Example 6.10
clear;
clc;
//Given
Et=3.716;//transitioal energy in J
T=298;//temperature in K
Ht=6.193;//transitional enthalpy in J
R=8.314;//gas constant in J mol^-1 K^-1
Cp=20.785;//transitional heat capacity in J K^-1 mol^-1
h=6.626*10^(34);//plancks constant in Js
NA=6.023*10^(23);//Avogadro number
k=1.38*(10^(-2... |
840a74e89269aac1af56f218a1dd38e7478b446e | 08992297ffb99b22817696ef041cbe34f9469536 | /PulseSensor_Capture/capturehr.sce | e5c1678f6307289f0c5be06df0a809cd541d58ba | [
"MIT"
] | permissive | meefik/PulseSensor_Amped_Arduino | 1bb5945e59e56e2b0c3a7fcdea0b816ebe06831b | 4b25a41f1a72ee9516c5e4730598f98825a5818d | refs/heads/master | 2020-12-03T09:11:23.168345 | 2015-11-26T10:46:57 | 2015-11-26T10:54:00 | 38,135,790 | 2 | 0 | null | 2015-06-26T21:54:34 | 2015-06-26T21:54:34 | null | UTF-8 | Scilab | false | false | 575 | sce | capturehr.sce | atomsLoad("serial")
h = openserial("/dev/ttyACM0","115200,n,8,1")
data=zeros(1,500)
figure(1)
clf()
plot(1:500,data)
set(gca(),"auto_clear","on")
buf = ''
for k = 1:5000
buf = buf + readserial(h)
arr = strsplit(buf,'/\n/')
[r,n] = size(arr)
for i = 1:r-1
x = arr(i)
if strindex(x,'S') == ... |
51f208c82d6ef340a469519fb18aedf25fcd05b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1598/CH5/EX5.12/ex5_12.sce | 0b209849a3bdbf46d2ff6e302142593eb01a91ba | [] | 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 | 487 | sce | ex5_12.sce | clc;
R1=2; //resisitance in Ohm
R2=3; //resistance in Ohm
R3=1; //resistance in Ohm
Rp=(R1*R2)/(R1+R2); //calculating parallel resistance
R=Rp+1; //1 Ohm in series
disp(R,"(1)Equivalent Resisitance in Ohm = "); //displaying result
Rs=(R1+R2+R3); //series resistances
disp(Rs,"(2)All resistances in s... |
64821d310ab053659932f635acaaf1b14251f3d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1061/CH8/EX8.18/Ex8_18.sce | 5f5e151f5651a309f39eca5017b70d53ee59e4d4 | [] | 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 | 432 | sce | Ex8_18.sce | //Ex:8.18
clc;
clear;
close;
y1=550*10^-3;// peak of eyes response in um
y2=10.6;// standard wavelength in um
y3=2.39;// predominant IR line of He-Ne laser in um
E1=1.24/y1;// energy in electron volts
E2=1.24/y2;// energy in electron volts
E3=1.24/y3;// energy in electron volts
printf("The energy =%f electro... |
f95b9f66ade9eca17d411c402c00f681b04caddc | 449d555969bfd7befe906877abab098c6e63a0e8 | /1460/CH8/EX8.1/8_1.sce | 553b82657b01a7f6b2e1b1444abdafc41bc57f7a | [] | 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 | 440 | sce | 8_1.sce | clc
//Initialization of variables
ratio=7
Q=300 //B/lbm
T1=60+460 //R
P1=14.7 //lb/in^2
cv=0.1715 //B/lvm F
g=1.4
//calculations
Tratio=(ratio)^(g-1)
T2=Tratio*T1
T3=T2+Q/cv
eta=1- 1/Tratio
WbyJ=eta*Q
W=778*WbyJ
//results
printf("Final temperature = %d R",T3)
printf("\n Thermal efficiency = %.3f",eta)... |
c97d843cd87d69baf6b9428367d2dd075384ea29 | 717ddeb7e700373742c617a95e25a2376565112c | /608/CH36/EX36.13/36_13.sce | 144c51540ecdee2a06fa58aa6e44e5a78650be29 | [] | 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 | 1,567 | sce | 36_13.sce | //Problem 36.13: In the circuit shown in Figure 36.17 the supply voltage v is given by v = 300sin314t + 120sin(942t + 0.698) Volts.Determine (a) an expression for the supply current, i, (b) the percentage harmonic content of the supply current, (c) the total power dissipated, (d) an expression for the p.d. shown as v1,... |
8dc0f2568e4d73339f713d3332b0c167921cac77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH9/EX9.15/Ex9_15.sce | 810533c57353423156f9f52735a02ed53ad22ae3 | [] | 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,101 | sce | Ex9_15.sce | // chapter 9
// example 9.15
// Find the electron and hole densities and conductivity and the resistance
// page 278-279
clear;
clc;
//given
ue=0.39; // in m^2/V-s (mobility of electron)
n=5E13;// number of donor atoms
ni=2.4E19; // in atoms/m^3 (intrinsic carrier density)
l=10; // in mm (length of rod)
a=... |
1be97d10fc2ccacba61f82ca817ee0f7a5553e7e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3731/CH5/EX5.3/Ex5_3.sce | 79a209292f02c33804df503b1dbeb3c448ef7103 | [] | 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 | 683 | sce | Ex5_3.sce | //Chapter 5:Dc Motor Drives
//Example 3
clc;
//Variable Initialization
//Motor ratings
V1=220 //rated voltage in V
Ia1=200 //rated current in A
Ra=0.06 //armature resistance in ohms
Rb=0.04 //internal resistance of the variable source in ohms
N1=800 //speed in rpm
N2=600 //speed when motor is ope... |
dd30371786e262fd3a472cf5511b42afa28b5973 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1511/CH2/EX2.21/ex2_21.sce | 13c4d903d1178186dc9e2f424af56d280697b89e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 282 | sce | ex2_21.sce | // Example 2.21 page no-75
clear
clc
A=9.64*10^21
T=320
e=1.6*10^-19
Eg=0.75
k=1.37*10^-23
ni=A*T^(3/2)*%e^(-(e*Eg)/(2*k*T))
printf("\nni=%.2f *10^19 electrons(holes)/m^3",ni/10^19)
mup=0.36
mun=0.17
sig=e*ni*(mup+mun)
printf("\nConductivity, Sigma=%.3f Mho/m",sig)
|
5c41e383ff60a1f57333898fd376e2960c2bf769 | 449d555969bfd7befe906877abab098c6e63a0e8 | /260/CH10/EX10.2/10_2.sce | 7f2621cbf7b61a3f8449e33b3a5b4456729b7171 | [] | 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,515 | sce | 10_2.sce | //Eg-10.2
//pg-432
clear
clc
close()
// A = (x-x0)/h = 0.1*(x-30)
//A is the greek alphabet 'alpha'
Y = [31.8;55.3;92.5;149.4];
X = [30;40;50;60];
T = zeros(4,4);
T(:,1) = Y;
for(j = 2:4)
for(i = 1:4+1-j)
T(i,j) = T(i+1,j-1) - T(i,j-1);
end
end
//disp(T)
//from equation ... |
e5c84cb1c429729a8912cd3bf6345ead83716b4f | 449d555969bfd7befe906877abab098c6e63a0e8 | /284/CH12/EX12.1/ex1.sce | c2d4c11d139b4c8f8f20933af30070af52973e0d | [] | 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 | 480 | sce | ex1.sce | // Chapter 12_The junction field effect transistor
//Caption_Device characteristics
//Ex_1//page 557
T=300
Na=10^18
e=1.6*10^-19
eps=8.85*10^-14*11.7
ni=1.5*10^10
Nd=10^16 //donor concentration
a=0.75*10^-4 //metallurgical channel thichness
Vpo=e*a^2*Nd/(2*eps) //internal pinch off voltage
Vbi=0... |
16ad8d87e49fe566dcdabd93e82f402d72d536f2 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /xcos_blocks/analg_arch.sce | 8196b5afc77f2279741af2793508c4bf0de1872a | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 487 | sce | analg_arch.sce | .model ota
.inputs in[0] in[1]
.outputs out
.blackbox
.end
.model cap
.inputs in
.outputs out
.blackbox
.end
.model nfet
.inputs in[0] in[1]
.outputs out
.blackbox
.end
.model pfet
.inputs in[0] in[1]
.outputs out
.blackbox
.end
.model tgate
.inputs in[0] in[1]
.outputs out
.blackbox
.end
.model nmirror
.inputs in... |
72d713e0a89e626071de124192defb86315df31a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1466/CH9/EX9.2/9_2.sce | 748929dd83723852719256d33ab43b5b2176b3b0 | [] | 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 | 9_2.sce |
clc
//initialisation of variables
w=64//lb/ft^3
g=32.2//ft/sec^2
s=10//mph
l=100//ft
r=1/8//in
cf=0.0047
A=1600//ft^2
v1=27*10^-6//engineer units
//CALCULATIONS
v=s*5280/3600
p=w/g
k1=l*12/r
Re=p*v*l/(v1)
R=cf*p*A*v*v/2
fhp=R*v/550
//RESULTS
printf ('Frictional horse power= %.f',fhp)
|
d625ce75eb13526f328ac1959383c0af2cea6762 | bccc40c870821aa0926bcb3bcd6e30c02f5c9ea7 | /TopGuidesProcedure_TEST.tst | be3c6b81c6499a757c221e25759568e0d93d4ef3 | [] | no_license | rivkazi/DataBaseProject--PLSQL | 27c7c8b3cf34f64de9709030064c41020d1595d4 | 70c6f93f6fa0f1f4ec3e42c7051f883ad118d018 | refs/heads/main | 2023-06-30T21:02:42.217915 | 2021-08-04T21:22:05 | 2021-08-04T21:22:05 | 392,821,978 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 147 | tst | TopGuidesProcedure_TEST.tst | PL/SQL Developer Test script 3.0
4
begin
-- Call the procedure
TopGuidesProcedure(treshold => :treshold);
end;
1
treshold
1
10
4
0
|
bbf98407d93b28c192eeee1541d9585eb5d4cae6 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/eqtflength/eqtflength7.sce | 6c08e2a125c5d284419821f05339ffa99147f3da | [] | 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 | 133 | sce | eqtflength7.sce | num=['a' 'a' 'a'];
den=[1 2 3];
[b,a]=eqtflength(num,den);
disp(b);
disp(a);
////output
//
//!a a a !
//
// 1. 2. 3.
|
b3d2f22a8e3e6753ad021f31167660eb1d211502 | 717ddeb7e700373742c617a95e25a2376565112c | /3424/CH5/EX5.14/Ex5_14.sce | e695d19744d17cacb40fec57a4886bbde1faeb66 | [] | 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 | 358 | sce | Ex5_14.sce | clc
// Intialization of variables
d2 = 0.12 //m
A2 = (%pi/4)*(d2)^2
Df = 1000 // Pa
D = 1.23 //Kg/m^3
Kl1 = 0.05
Kl2 = 0.5
// calculations
Q1 = A2*((Df)/(D*(1+Kl1)/2))^0.5
Q2 = A2*((Df)/(D*(1+Kl2)/2))^0.5
//Results
printf(" Volume rate for rounded entrance is %.3f m^3/s",Q1)
printf("\n Volume rate for cyl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.